Been running Debian Buster for a while, decided to upgrade to Bookworm, basically what I did to attempt this was change the name "buster" to "bookworm" in /etc/apt/source.list, then run apt clean, apt autoclean, apt update, apt full-upgrade.
Doing this resulted in errors about missing dependencies, I tried to fix them but nothing worked, got frustrated and rebooted... now locked out, system doesn't work, pretty much shows login prompt with username, put in username and doesn't prompt password just prompts "login incorrect".
So have chrooted in and pretty much at same spot after attempting the upgrade, unsure really where to go from here, have tried apt --fix-broken install same issue, any help is very much apricated.
Code: Select all
root@debian:/# cat /etc/apt/sources.list
deb http://deb.debian.org/debian/ bookworm main contrib non-free
deb-src http://deb.debian.org/debian/ bookworm main contrib non-free
deb http://security.debian.org/debian-security bookworm-security main contrib
deb-src http://security.debian.org/debian-security bookworm-security main contrib
deb http://deb.debian.org/debian/ bookworm-updates main contrib
deb-src http://deb.debian.org/debian/ bookworm-updates main contrib
root@debian:/# apt clean
root@debian:/# apt autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@debian:/# apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
852 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@debian:/# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (< 2.29) but 2.36-9+deb12u1 is installed
libc-dev-bin : Depends: libc6 (< 2.29) but 2.36-9+deb12u1 is installed
libc6-dev : Depends: libc6 (= 2.28-10+deb10u2) but 2.36-9+deb12u1 is installed
locales : Depends: libc-bin (> 2.36) but 2.28-10+deb10u2 is installed
task-ssh-server : Depends: openssh-server but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@debian:/# apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (< 2.29) but 2.36-9+deb12u1 is installed
libc-dev-bin : Depends: libc6 (< 2.29) but 2.36-9+deb12u1 is installed
libc6-dev : Depends: libc6 (= 2.28-10+deb10u2) but 2.36-9+deb12u1 is installed
locales : Depends: libc-bin (> 2.36) but 2.28-10+deb10u2 is installed
task-ssh-server : Depends: openssh-server but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@debian:/# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (< 2.29) but 2.36-9+deb12u1 is installed
libc-dev-bin : Depends: libc6 (< 2.29) but 2.36-9+deb12u1 is installed
libc6-dev : Depends: libc6 (= 2.28-10+deb10u2) but 2.36-9+deb12u1 is installed
locales : Depends: libc-bin (> 2.36) but 2.28-10+deb10u2 is installed
task-ssh-server : Depends: openssh-server but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
root@debian:/# apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (< 2.29) but 2.36-9+deb12u1 is installed
libc-dev-bin : Depends: libc6 (< 2.29) but 2.36-9+deb12u1 is installed
libc6-dev : Depends: libc6 (= 2.28-10+deb10u2) but 2.36-9+deb12u1 is installed
locales : Depends: libc-bin (> 2.36) but 2.28-10+deb10u2 is installed
task-ssh-server : Depends: openssh-server but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies