Jump to content

How to update Debian Jesse repos in 2023


rf_bandit
Go to solution Solved by dark_pyrro,

Recommended Posts

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.

Link to comment
Share on other sites

  • Solution

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.

Link to comment
Share on other sites

  • 5 months later...

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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