Jump to content

How to update Debian Jesse repos in 2023


rf_bandit

Recommended Posts

Posted

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.

Posted

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.

Posted

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?

  • 5 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...