Hello, I yet again come, hat in hand, for assistance from those wiser in the ways of the Linux. I’m having a bit of an issue downloading Jellyfin on my ElementaryOS laptop. I’ve tried all the guide on the first few pages of ddg only to receive errors after entering the comman “ sudo apt-get update “. I get ERR:3 https//repo.jellyfin.org/debian circle Release 404 Not found.

If someone can point me the way I’d be most appreciative

  • nom_nom@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    10 days ago

    Seems like you followed some random AI generated guide like this one:

    https://www.ipv6.rs/tutorial/Elementary_OS_Latest/Jellyfin/

    Whenever you’re downloading a Linux (or any) package, always try to look for the official documentation, like here:

    https://jellyfin.org/docs/general/installation/linux#debian--ubuntu-and-derivatives

    Where it will tell you to install Jellyfin on a Debian/Ubuntu based system is simply:

    curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash

    and it also tells you that if you don’t have curl already installed, either install it first or instead run:

    wget -O- https://repo.jellyfin.org/install-debuntu.sh | sudo bash

    which is their official installer.

    If you want to undo what you did before installing (assuming you followed the bad guide linked above), just remove the file it created here first:

    /etc/apt/sources.list.d/jellyfin.list

    • nom_nom@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      10 days ago

      I just wanted to add a small follow up comment because I remember being young and copy-pasting commands into Linux and eventually getting really frustrated. Therefore, he’s a (brief) explanation of the commands:

      1. curl is just an open source tool for making Web requests from the command line. It’s a great tool to have in general.
      2. https://repo.jellyfin.org/install-debuntu.sh the URL of a shell script from repo.jellyfin.org (Jellyfin’s official website)

      What is a shell script? It’s a script that runs a whole bunch of commands by itself, so you don’t have to copy-paste them from the internet. Basically the official Jellyfin people in this case made a file with all of the commands the computer needs to run to install the package. This is great because it means the people who made Jellyfin tested these commands and they’re responsible for keeping it up to date if anything changes.

      | bash The ‘pipe’ or | symbol in Linux is a cool Unix philosophy of ‘connecting’ programs together. You run one program, and tell it to pass the results to another program. In this case, you’re telling curl to download the script at https://repo.jellyfin.org/install-debuntu.sh and then passing that file to bash (which is the shell program in the terminal that runs commands) and to run it as sudo or ‘super-user’.

      Hope this was helpful. The last thing you should know is the command you probably copy-pasted before made you add a source to the /etc/apt/sources files, which are basically just a list of sources for apt, the package manager to download from, and since the command was wrong or outdated, apt is complaining that the Jellyfin source was not found.

    • chingadera@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      10 days ago

      How the fuck did you deduce that from the post above?

      I’m not doubting you at all, you’ve got the Linux aura, but please share so more people can hope to do this

      • grue@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        10 days ago

        He had added a Jellyfin repo to his apt sources.list file for some reason, which is weird and likely not the right way to do it these days. But it might have been in the past, so it could be OP was following some obsolete procedure (or one AI-hallucinated from an obsolete procedure).

        After realizing that OP was completely going about it the wrong way, the guy you replied to just looked up the correct way and relayed that to him.

        See also: https://wiki.debian.org/DontBreakDebian

        • chingadera@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          10 days ago

          Grue, I only really see you when it has to do with Linux.

          Come hang out more with the degens, you’d be appreciated

      • sgh@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        10 days ago

        Not OP, but it was very simple if you have already seen that error.

        First of all, there is one single easily parsable error.

        https://repo.jellyfin.org/debian produced a 404 error, thus the URL is invalid.

        Let’s ignore why it’s invalid for a second.

        This error happens after apt update, thus we can deduce the following:

        • It’s supposed to be an apt repository URL (To experienced users, it effectively looks like a repository URL)
        • This repository URL does not work
        • As in 99% of cases, this URL is likely located in a configuration file in the standard location, /etc/apt/sources.list.d/

        Back to why it’s invalid, maybe it used to be valid in the past, or there is a temporary server error, this can be verified with the official documentation.

        If the documentation does not mention this repository URL, then it’s a mistake to use it.

        This is a good moment to google this URL and find out why/which guide tells you to use it, and to analyze which steps they made you take.

        From there, reverse those steps.

        Even if you hadn’t found this guide, you can be sure that by looking into /etc/apt/sources.list.d you would’ve found that file containing that URL, simply removing the file or URL would’ve removed the error.

        Lastly, you look for either the official documentation, or a more reliable guide.

      • Kelp@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 days ago

        This dude is a wizard cause that was the exact “guide” I was using. I had to look over my shoulder for a sec lol

        • nom_nom@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          10 days ago

          Because, contrary to what it might seem like, we ALL start out this way using Linux. Everyone makes the same mistakes, so its easy to retrace the logic once you understand what the commands you used to copy-paste are doing. OP you’re clearly just making the switch and want to dive head-first into self-hosting as well as Linux, which will be a ton of fun, just try not to get discouraged as there is a lot to learn. Take it one step at a time, and try to understand the commands as there’s really not that many, and you re-use these in many scenarios.

          I see many people recommending Docker, which is great, but imho a little too early to dive in to if you haven’t experimented with Linux at all. Docker is just a container of Linux inside of Linux, so you’ll still need to use the command line, and it has its own set of tools. Just my two cents. Somebody else posted but this was the video that also made Linux ‘click’ for me:

          https://www.youtube.com/watch?v=tc4ROCJYbm0&t=296

          Don’t be afraid to break things and start over. Have fun :)

          • Kelp@lemmy.worldOP
            link
            fedilink
            English
            arrow-up
            0
            ·
            10 days ago

            Thanks so much for the kind words on top of the invaluable info you’ve provided. You are a true gentle-person and a scholar

            • chingadera@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              8 days ago

              Seriously an absolute witch.

              @nom_nom@lemmy.ml

              If you’re not being paid an insane amount of money for your insight, you are fucking up bud. People would pay crazy money for that type of deduction.

              We are being paid the most though through secondhand knowledge, keep being you, and OP you also keep being you, I love this whole post.

      • infeeeee@lemmy.zip
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        10 days ago

        Install docker, grab the official docker compose file, then docker compose up -d.

        Details: Look up how to install docker on elementary (I guess it’s sudo apt install docker), than you don’t have to care about the distro after that, docker works the same way everywhere. You can find countless tutorials on this, and they should work

        • Kelp@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 days ago

          Thanks, I’ve been seeing that rec a lot recently. I’ll give that a try

            • Ephemeral@feddit.org
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              7 days ago

              I liked it until my docker desktop randomly stopped working. Made me uninstall docker and now I use podman instead. But yeah, pretty much the same.

    • Kushan@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 days ago

      Op please don’t ignore the above.

      Learn docker once and you’ll be able to install almost anything, rather than having to learn every individual app and how it installs on specific operating systems.

      • monovergent 🛠️@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        10 days ago

        To be completely honest, I installed Jellyfin “bare-metal” and have been using it that way since after attempting to skim the Docker documentation and failing to understand how Docker works.

        • GoldenQuetzal@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          10 days ago

          My friend, i would like to introduce you to the wonders of Portainer. Go forth and watch a video on youtube and you’ll get it.

          • hperrin@lemmy.ca
            link
            fedilink
            English
            arrow-up
            0
            ·
            10 days ago

            Use Portainer if you don’t want anything to be portable. There are other issues too. Just use Docker Compose.

            • GoldenQuetzal@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              9 days ago

              Benefit of portainer is that it teaches people new to this how it works and makes it accessible. Then they can learn other tools and grow from there. Immediately throwing people into CLI can scare them off or be intimidating.

    • interdimensionalmeme@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      10 days ago

      Probably not interested in dealing with endless permission and proxy problems. Me I just run everything as root and password 543211111111111111Aa±