I did a fresh install in the end
I recently installed ubuntu and was trying to change my drivers from xserver to nvidia when I was first hit with the message:
The following packages have unmet dependencies:
apt : Depends: libapt-pkg6.0 (>= 2.4.9) but 2.4.8 is to be installed
apt-utils : Depends: apt (= 2.4.8) but 2.4.9 is to be installed
I have tried reinstalling libapt 2.4.8 and could not find a .deb for 2.4.9 and the message still appears when using apt-get. For example;
sudo apt-get install libapt-pkg6.0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libapt-pkg6.0 is already the newest version (2.4.8).
libapt-pkg6.0 set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
apt : Depends: libapt-pkg6.0 (>= 2.4.9) but 2.4.8 is to be installed
apt-utils : Depends: apt (= 2.4.8) but 2.4.9 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
apt -fix--broken install and many other solutions for missing dependencies did not work either.
Any insight appreciated!
new to ubuntu running 22.04 server LTS with gnome
/etc/apt/sources.list
as well as everything undersources.list.d
? – iBug Jan 05 '23 at 19:32