I've posted this question on the Ubuntu forums without getting any help, so I'm reposting here to try to reach a wider audience. Hope that's ok.
My python installation seems to be borked. I tried to reinstall the update-manager as below:
Code:
dave@Threepwood:~$ sudo apt-get install update-manager
Reading package lists... Done
Building dependency tree
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.
update-manager : Depends: python3 but it is not going to be installed
Depends: python3:any (>= 3.3.2-2~)
Depends: update-manager-core (= 1:0.196.12) but it is not going to be installed
Depends: python3-dbus but it is not going to be installed
Depends: python3-gi (>= 3.8) but it is not going to be installed
Depends: ubuntu-release-upgrader-gtk but it is not going to be installed
Depends: update-notifier but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
dave@Threepwood:~$ sudo apt-get install python3
Reading package lists... Done
Building dependency tree
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.
python3 : Depends: python3.4 (>= 3.4.0-0~) but it is not going to be installed
Depends: python3-minimal (= 3.4.0-0ubuntu2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
dave@Threepwood:~$ sudo apt-get install python3.4
Reading package lists... Done
Building dependency tree
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.
python3.4 : Depends: python3.4-minimal (= 3.4.0-2ubuntu1) but it is not going to be installed
Depends: libpython3.4-stdlib (= 3.4.0-2ubuntu1) but 3.4.1-1+precise1 is to be installed
E: Unable to correct problems, you have held broken packages.
dave@Threepwood:~$ sudo apt-get install python3.4-minimal
Reading package lists... Done
Building dependency tree
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.
python3.4-minimal : Depends: libpython3.4-minimal (= 3.4.0-2ubuntu1) but 3.4.1-1+precise1 is to be installed
Recommends: python3.4 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Synopsis of the above command prompt output with the relevant bits:
Code:
sudo apt-get install update-manager
Depends: python3 but it is not going to be installed
sudo apt-get install python3
Depends: python3.4 (>= 3.4.0-0~) but it is not going to be installed
sudo apt-get install python3.4
Depends: python3.4-minimal (= 3.4.0-2ubuntu1) but it is not going to be installed
sudo apt-get install python3.4-minimal
Depends: libpython3.4-minimal (= 3.4.0-2ubuntu1) but 3.4.1-1+precise1 is to be installed
So ultimately it appears to fail because it is expecting python3.4-minimal, but the library is actually called "python3.4.1-1+precise1"? Is this correct?
Can anyone suggest anything?