Could not calculate upgrade

Bug #64859 reported by paulstaddon
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

When performing a distribution upgrade I get an error.

Could not calculate upgrade, unresolved problem occurred while calculating upgrade.

APT.LOG contents

Installing libedataserver1.2-7 as dep of libcamel1.2-8
Installing libgail-common as dep of libgtkhtml3.8-15
Installing libgail18 as dep of libgail-common
Installing gcc-4.1-base as dep of libstdc++6
Installing openoffice.org-core as dep of openoffice.org-gnome
Installing openoffice.org-common as dep of openoffice.org-core
Installing openoffice.org-style-industrial as dep of openoffice.org-common
Installing python-central as dep of python-gst0.10
Installing libgnomevfs2-common as dep of libgnomevfs2-0
Installing libpango1.0-0 as dep of gthumb
Installing libpango1.0-common as dep of libpango1.0-0
Installing python-uno as dep of openoffice.org-writer
Installing python2.5 as dep of python-gnome2
Installing python2.5-minimal as dep of python2.5
Installing python-gnomecanvas as dep of python-gnome2
Installing python-gconf as dep of python-gnome2
Installing metacity-common as dep of metacity
Installing nautilus-data as dep of nautilus
Installing openoffice.org-draw as dep of openoffice.org-impress
Installing xsane-common as dep of xsane
Installing gnome-games-data as dep of gnome-games
Installing libebook1.2-9 as dep of evolution-exchange
Installing libecal1.2-7 as dep of evolution-exchange
Installing libedata-book1.2-2 as dep of evolution-exchange
Installing libedata-cal1.2-6 as dep of evolution-exchange
Installing libedataserverui1.2-8 as dep of evolution-exchange
Installing libexchange-storage1.2-2 as dep of evolution-exchange
Installing libegroupwise1.2-12 as dep of evolution
Installing evolution-data-server as dep of evolution
Installing evolution-data-server-common as dep of evolution-data-server
Installing libgtksourceview-common as dep of libgtksourceview1.0-0
Installing gedit-common as dep of gedit
Installing python-gmenu as dep of gnome-menus
Installing capplets-data as dep of gnome-control-center
Installing libgnome-window-settings1 as dep of gnome-control-center
Installing gconf2-common as dep of gconf2
Installing avahi-daemon as dep of ubuntu-desktop
Installing libavahi-core4 as dep of avahi-daemon
Installing libdaemon0 as dep of avahi-daemon
Installing linuxprinting.org-ppds as dep of ubuntu-desktop
new important dependency: onboard
Installing onboard as dep of ubuntu-desktop
Installing python-virtkey as dep of onboard
Installing cupsys-client as dep of cupsys-bsd
Installing gnome-terminal-data as dep of gnome-terminal
Installing cpp-4.1 as dep of gcc-4.1
Installing libgcc1 as dep of gcc-4.1
Installing upstart as dep of upstart-compat-sysv
Installing libc6 as dep of libc6-i686
Installing volumeid as dep of udev
Installing python-gtk2 as dep of python-glade2
Installing language-selector-common as dep of language-selector
Installing libvte-common as dep of libvte9
Installing libmeanwhile1 as dep of gaim
Installing util-linux-locales as dep of ubuntu-minimal
Installing liboobs-1-2 as dep of gnome-applets
Installing gnome-applets-data as dep of gnome-applets
Installing gnome-panel-data as dep of gnome-panel
Starting
Starting 2
Investigating system-tools-backends
Package system-tools-backends has broken dep on liboobs-1-1
  Considering liboobs-1-1 0 as a solution to system-tools-backends 3
  Added liboobs-1-1 to the remove list
  Fixing system-tools-backends via remove of liboobs-1-1
Done
Starting
Starting 2
Investigating nvidia-glx
Package nvidia-glx has broken dep on nvidia-kernel-1.0.9625
  Considering linux-restricted-modules-2.6.17-10-386 0 as a solution to nvidia-glx 0
  Removing nvidia-glx rather than change nvidia-kernel-1.0.9625
Done
MarkUpgrade() called on a non-upgrable pkg: 'ubuntu-desktop'
ERROR:root:Dist-upgrade failed: 'A essential package would have to be removed'
Starting
Starting 2
Investigating nvidia-glx
Package nvidia-glx has broken dep on nvidia-kernel-1.0.9625
  Considering linux-restricted-modules-2.6.17-10-386 0 as a solution to nvidia-glx 0
  Removing nvidia-glx rather than change nvidia-kernel-1.0.9625
Done
MarkUpgrade() called on a non-upgrable pkg: 'ubuntu-desktop'
ERROR:root:Dist-upgrade failed: 'A essential package would have to be removed'

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Can you please also attach /var/log/dist-upgrade/main.log?

Thanks,
 Michael

Changed in update-manager:
status: Unconfirmed → Needs Info
Revision history for this message
Matt Wilkie (maphew) wrote :

I'm am also getting a "Could not calculate upgrade" error. I've tried several times, with reboots in between.

Revision history for this message
Matt Wilkie (maphew) wrote :

forgot to say I'm upgrading from 6.06 to 6.10

term.log is an empty file, so can't upload it.

Revision history for this message
Cameron Scott (quikyn) wrote :

This bug appears to be the same as: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/80988

I also have this problem, and I have attached the contents of /var/log/dist-upgrade/ in a tar file, given I do not see any other way to attach multiple files. The files contained in the tar are term.log and apt.log.

I can still make updates, but I am bothered by a pop up for the distribution upgrade every time there are updates available. I didn't do anything that I know of to prompt such an upgrade, and when I try to perform the upgrade I get the error described.

According to the other bug I linked to, it's importance is still being decided. I think it gives the impression Ubuntu can't manage its packages - and if we're trying to tell computer users that updates are important it seems a bad look that the update manager provides errors when you do what it suggests. But I guess that all depends on how often this is really happening.

Cheers for all your work.

Revision history for this message
Michael Vogt (mvo) wrote :

Hello Cameron,

the nvidia-glx installed on your system conflicts with the nvidia-kernel-1.0.9629. It refuses do continue as the removal of nvidia-glx makes X unusable on a normal ubuntu system. Can you please give me the output of:
$ dpkg -I nvidia-kernel-1.0.9629*.deb
or
$ apt-cache show nvidia-kernel-1.0.9629
?

The system is capable of manage its packages to a extend that it even prevents removal of packages that are considered essential for a functional system. You can still overwrite these safeguards with synaptic or apt-get if you whish.

Cheers,
 Michael

Revision history for this message
Cameron Scott (quikyn) wrote : Re: [Bug 64859] Re: Could not calculate upgrade

Hi Michael. I guess you guys get access to email addresses :) My
resulting output is below the quotes of your commands.

> the nvidia-glx installed on your system conflicts with the nvidia-kernel-1.0.9629. It refuses do continue as the removal of nvidia-glx makes X unusable on a normal ubuntu system. Can you please give me the output of:

That makes me wish that I had not installed feisty on my laptop, as it
had the same symptoms but uses an intel chipset. It occurred around
the same period of time (same few days), but quite some time ago.

Indeed if I had looked at those logs I could have figured out the
problem very easily, I looked instead at the logs on my laptop when
the problem first occurred and I could not find any obvious problem
(and I was pretty certain I performed a diff on the logs from each
machine - either I'm mistaken or the problem has changed over time).

The output from your suggested commands follows:

> $ dpkg -I nvidia-kernel-1.0.9629*.deb

dpkg-deb: failed to read archive `nvidia-kernel-1.0.9629*.deb': No
such file or directory

> $ apt-cache show nvidia-kernel-1.0.9629

:

Which is to say, there was no output.

> The system is capable of manage its packages to a extend that it even
> prevents removal of packages that are considered essential for a
> functional system. You can still overwrite these safeguards with
> synaptic or apt-get if you whish.

Indeed. And I did not mean to imply that I am not pleased with Ubuntu
or it's package management, just that the so called 'average' user is
much more picky when they are already confronted with change.

Thanks for your help.

--
Cameron

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for update-manager (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.