Help! Help!

H-Devs

New Member
Joined
Aug 9, 2023
Messages
4
Reaction score
0
Credits
37
What happened to him?
Here's the thing:
I'm upgrading Debian11 to Debian12 Report the error.How can we solve it?

Screenshot_20231223_204854_com.aidlux.jpg
 


Welcome to the forums.

I really hope you had a backup of Debian v11 "Bullseye". Because you will have to do this again. Or just reinstall to Debian v12 "Bookworm". I'm sorry to be the one to tell you like this.

First you needed to change /etc/apt/sources.list like this:

Code:
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian bookworm main non-free-firmware
deb-src http://deb.debian.org/debian bookworm main non-free-firmware

deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware

deb http://security.debian.org/debian-security/ bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security/ bookworm-security main non-free-firmware

# Backports allow you to install newer versions of software made available for this release
deb http://deb.debian.org/debian bookworm-backports main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-backports main non-free-firmware

Note all "bullseye" has to be changed to "bookworm", and the "non-free-firmware" entry has to be added. After that is done, update repositories then do full upgrade. However this has to be done from the start, before the great mess-up.

One more thing. Do not use substitutes for "apt" or "dpkg" for Debian. This is not Arch Linux we're dealing with here.
 
H-Devs, you need to run in debian 11:
Code:
apt update
before you run:
Code:
apt upgrade
and then
Code:
apt full-upgrade
and then
Code:
apt clean

Then you change the sources.list to reference the bookworm repos, and run the same again to get bookworm (debian 12). If the sources.list is correct, and the online connection is sound, that's all that's needed.
 
Last edited:


Top