so there could be some bug that remove or change the dpkg status file while upgrade from older version of ubuntu. if you couldn't reproduce then perhaps we are not using the same environment, i am using a HP Elitebook 840 G7.
after recreate dpkg status from backup, now i got this error:
sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
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.35) but 2.34-0ubuntu3 is installed
libc6-dbg : Depends: libc6 (= 2.35-0ubuntu1) but 2.34-0ubuntu3 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (> 2.35) but 2.34-0ubuntu3 is installed
libc6-dbg : Depends: libc6 (= 2.35-0ubuntu1) but 2.34-0ubuntu3 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
so i think the package manager of jammy not yet upgrade the libc to 2.35, if this is not bug too then i think you can feel free to close the ticket.
thank you
i have fix the dpkg problem following by this solution :
https:/ /unix.stackexch ange.com/ questions/ 161866/ how-to- recreate- var-lib- dpkg-status
sudo cp /var/backups/ dpkg.status. 0 /var/lib/ dpkg/status dpkg.statoverri de.0 /var/lib/ dpkg/statoverri de dpkg.diversions .0 /var/lib/ dpkg/diversions dpkg.arch. 0 /var/lib/dpkg/arch
sudo cp /var/backups/
sudo cp /var/backups/
sudo cp /var/backups/
sudo dpkg --clear-avail
sudo apt update
so there could be some bug that remove or change the dpkg status file while upgrade from older version of ubuntu. if you couldn't reproduce then perhaps we are not using the same environment, i am using a HP Elitebook 840 G7.
after recreate dpkg status from backup, now i got this error:
sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
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.35) but 2.34-0ubuntu3 is installed
libc6-dbg : Depends: libc6 (= 2.35-0ubuntu1) but 2.34-0ubuntu3 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
sudo apt --fix-broken install ver::Resolve generated breaks, this may be caused by held packages.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libc-bin : Depends: libc6 (> 2.35) but 2.34-0ubuntu3 is installed
libc6-dbg : Depends: libc6 (= 2.35-0ubuntu1) but 2.34-0ubuntu3 is installed
E: Error, pkgProblemResol
E: Unable to correct dependencies
so i think the package manager of jammy not yet upgrade the libc to 2.35, if this is not bug too then i think you can feel free to close the ticket.
thank you