rf_bandit Posted May 29, 2023 Share Posted May 29, 2023 Recently bought a BB but I wasn't able to update or install packages out of the box. This is what worked for me: replace original /etc/sources.list with: deb http://archive.debian.org/debian/ jessie main non-free contrib deb-src http://archive.debian.org/debian/ jessie main non-free contrib deb http://archive.debian.org/debian-security/ jessie/updates main non-free contrib deb-src http://archive.debian.org/debian-security/ jessie/updates main non-free contrib and run apt-update It will give a keyring error. I tried both: apt-get install debian-archive-keyring apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com 7638D0442B90D010 but neither worked. Still seems I can apt-get install <package> though. Next, I ran: apt-upgrade and upgraded everything. It gave me a locale error which I fixed with dpkg-reconfigure locales (set to en_US.UTF-8) I have also found a way to get extended LTS until 2025 but I haven't tested it: https://www.freexian.com/lts/extended/docs/how-to-use-extended-lts/ Hope this helps anyone with a similar question. Quote Link to comment Share on other sites More sharing options...
Solution dark_pyrro Posted May 30, 2023 Solution Share Posted May 30, 2023 Just some comments: 9 hours ago, rf_bandit said: /etc/sources.list Should be /etc/apt/sources.list And 9 hours ago, rf_bandit said: apt-update 9 hours ago, rf_bandit said: apt-upgrade aren't valid commands, it should be apt update apt upgrade However, I would be careful to do an upgrade. It might work, but can also possibly break Bunny functionality. It's possible to add [trusted=yes] to each line in /etc/apt/sources.list but it will probably not be stopping apt/dpkg from complaining. Also, when installing packages using apt, it's possible to add -oAcquire::AllowInsecureRepositories=true For example: apt install build-essential would be apt -oAcquire::AllowInsecureRepositories=true install build-essential Errors will most likely still show in some form or at some point, but Jessie is an old distro release so not that surprising. Quote Link to comment Share on other sites More sharing options...
rf_bandit Posted June 1, 2023 Author Share Posted June 1, 2023 Thanks for the proofreading lol. i made a lot of typos. Yes, apt upgrade maybe breaks ATTACKMODE RNDIS_ETHERNET. Not sure how. Might be related to isc-dhcp-server? Quote Link to comment Share on other sites More sharing options...
0xD3ADB33F Posted November 2, 2023 Share Posted November 2, 2023 if you want to bypass the key expired problem you can dl faketime and libfaketime 0.9.6-3 .deb from https://archive.debian.org/debian/pool/main/f/faketime/ dpkg -i those, then you can impose a date for example apt-get update (or apt update) can then be "completed" like this faketime 2020-01-01 apt-get update it will ensure you a clean update without key problem 🙂 Enjoy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.