0

I'm using a Pi 3 on Raspbian Buster, and I'm trying to install Snap so I can use a Snap app. I tried upgrading all the packages and sudo apt update but sudo apt install snapd says "Package snapd not found". The repo in raspi.list is http://archive.raspberrypi.org/debian buster InRelease, maybe there's a different repo?

1 Answer 1

-1

Edit: changing raspi.list wasn't the right solution. The problem in my case was that the main Raspbian repo somehow got deleted from sources.list. Here's what was supposed to be in sources.list:

deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
3
  • 4
    snapd is in http://raspbian.raspberrypi.org/raspbian/ (i.e.the repo pointed to by /etc/apt/sources.list) ... how does changing the content of /etc/apt/sources.list.d/raspi.list relate - all you've done is broken stuff Commented Jul 21, 2020 at 23:01
  • Right, but the sources.list entry got deleted somehow, so I assumed I needed to change raspi.list. I went to a fresh Buster install and used the same sources.list entry in the existing install which fixed the problem.
    – ma1234
    Commented Jul 22, 2020 at 20:54
  • Please accept your own answer with a click on the tick on its left side. Only this will finish the question and it will not pop up again year for year.
    – Ingo
    Commented Jul 26, 2020 at 18:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.