Pretty much everything seems to be working fine except the gnome settings application. Selecting, for instance, the "display settings" under the right top menu on the desktop does not open the settings window as it used to do. I quickly realized that gnome-control-center
is not installed and I run sudo apt install gnome-control-center
to install it. I got
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libpython3.9 : Depends: libpython3.9-stdlib (= 3.9.5-3~21.04) but 3.9.7-1+focal1 is to be installed
E: Unable to correct problems, you have held broken packages.
Long story short, I have 4 python3.9 packages from focal:
$ apt list --installed | grep python |grep -v "hirsute"
libpython3.9-minimal/now 3.9.7-1+focal1 amd64 [installed,local]
libpython3.9-stdlib/now 3.9.7-1+focal1 amd64 [installed,local]
python3.9-minimal/now 3.9.7-1+focal1 amd64 [installed,local]
python3.9/now 3.9.7-1+focal1 amd64 [installed,local]
Needless to say, the rest are there and they are hirsute.
Am I to download the hirsute version of these packages and install with dpkg -i --force-all
or is there another, possibly easier way?
+focal1
packages are not from the Ubuntu repositories. Whatever PPA or non-Ubuntu source you previously used to install Py3.9 on 20.04 is still there. Delete that non-Ubuntu source and remove any remaining packages you installed from it. – user535733 Sep 18 '21 at 00:39`# egrep -v "^#" /etc/apt/sources.list
deb http://mirror.hostnet.nl/ubuntu/archive/ hirsute main restricted deb http://mirror.hostnet.nl/ubuntu/archive/ hirsute-updates main restricted deb http://mirror.hostnet.nl/ubuntu/archive/ hirsute universe deb http://mirror.hostnet.nl/ubuntu/archive/ hirsute-updates universe deb http://mirror.hostnet.nl/ubuntu/archive/ hirsute multiverse deb http://mirror.hostnet.nl/ubuntu/archive/ hirsute-updates multiverse`
– Aslan Sep 18 '21 at 17:08wget
anddpkg
were to the rescue. Solution posted. – Aslan Sep 18 '21 at 17:55