PDA

View Full Version : [ubuntu] 9.04 Upgrade Fails Silently, Breaks Packages



BattlePope
April 24th, 2009, 08:52 PM
So I saw that 9.04 was released recently, and I decided to upgrade my NC10 netbook. I got all the latest packages, then hit the upgrade button in the package manager. All of the steps went without problems, until it asked me to restart the computer to complete the installation. I restarted, and when I next started up, after the progress bar all I got was ubuntu-brown and a cursor. I could move the cursor around, but not do anything else. I could restart X and get the login window again, but logging in with my primary user and a newly created user would have the same problems.

Next, I tried messing about on the command line. I noticed I was still running Ubuntu 8.10, and that anytime I tried to install a package, I would get the following error:

'Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distrubution 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 folllowing packages have unmet dependencies.
(whatever package I tried to install): Depends (list of required packages, all the the message 'but it is not going to be installed')

E: broken packages'

This happened with everything I tried to install -- kde, lynx, irssi, etc.

I've tried using 'sudo aptitude install -f' to fix but this doesn't do anything -- says nothing will be upgraded, 5 packages are being kept back, nothing essential.

If I try to install the update using the network upgrade for ubuntu servers, then I get the error 'traceback (most recent call last):
File "/usr/bin/do-release-upgrade", line 8, in <module> from UpdateManger.Core.DistUpgradeFetcherCore import DistUpgradeFetcherCore
File "/usr/lib/python2.6/dist-packages/UpdateManager/Core/DistUpgradeFetcherCore.py", line 33, in <module>
import GnuPGInterface
ImportError: No module named GnuPGInterface'

I've had a look in my sources.list and it looks mostly in order (only writing the deb's as this is taking ages as I'm writing by hand)

deb http://gb.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ jaunty universe
deb http://gb.archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb http://gb.archive.ubuntu.com/ubuntu/ jaunty universe
deb http://gb.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ jaunty-security main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ jaunty-security universe
deb http://gb.archive.ubuntu.com/ubuntu/ jaunty-security multiverse

Any ideas for fixing either or both of the problems?

1) Brown screen and cursor whenever I try to log on
2) Packages broken

Thanks,
BP

BattlePope
April 25th, 2009, 11:40 AM
Bump.

mcdan333
August 5th, 2009, 09:17 PM
I am having the same problem here. Tried to reinstall python, update-manager-core, python-gnupginterface. Still get the same error message.

slakkie
August 6th, 2009, 02:24 AM
do-release-upgrade is present in the update-manager-core package. (Re)install that package and go from there.

Maybe try to reinstall ubuntu-minimal and ubuntu-standard packages?

With this command you can see the dependencies, maybe reinstall them as well.. ?
aptitude -D show update-manager-core