Could not calculate the upgrade 11.10 -> 12.04

Asked by Maurice Boxman

Calculating the changes

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade:
E:Unable to correct problems, you have held broken packages.

This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu

If none of this applies, then please report this bug using the
command 'ubuntu-bug update-manager' in a terminal.

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

Is there a way to "force" the upgrade discarding this error?

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: update-manager 1:0.152.25.11
ProcVersionSignature: Ubuntu 3.0.0-19.33-generic 3.0.27
Uname: Linux 3.0.0-19-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Wed May 23 14:25:16 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitecture: all
SourcePackage: update-manager
UpgradeStatus: Upgraded to oneiric on 2012-05-23 (0 days ago)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Maurice Boxman
Solved:
Last query:
Last reply:
Revision history for this message
Maurice Boxman (mboxman) said :
#1

May not really be a bug, but just me being a bit new to Ubuntu ...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Can you give the output of:

sudo apt-get update; sudo apt-get upgrade

Thanks

Revision history for this message
Maurice Boxman (mboxman) said :
#3

 sudo apt-get update
Ign http://nl.archive.ubuntu.com oneiric InRelease
Ign http://nl.archive.ubuntu.com oneiric-updates InRelease
Ign http://security.ubuntu.com oneiric-security InRelease
Hit http://nl.archive.ubuntu.com oneiric Release.gpg
Ign http://archive.canonical.com oneiric InRelease
Get:1 http://security.ubuntu.com oneiric-security Release.gpg [198 B]
Hit http://nl.archive.ubuntu.com oneiric-updates Release.gpg
Ign http://extras.ubuntu.com oneiric InRelease
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://nl.archive.ubuntu.com oneiric Release
Get:2 http://security.ubuntu.com oneiric-security Release [40.8 kB]
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://nl.archive.ubuntu.com oneiric-updates Release
Hit http://archive.canonical.com oneiric Release
Hit http://extras.ubuntu.com oneiric Release
Hit http://nl.archive.ubuntu.com oneiric/main Sources
Hit http://nl.archive.ubuntu.com oneiric/restricted Sources
Hit http://nl.archive.ubuntu.com oneiric/universe Sources
Hit http://nl.archive.ubuntu.com oneiric/multiverse Sources
Hit http://nl.archive.ubuntu.com oneiric/main i386 Packages
Hit http://nl.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://nl.archive.ubuntu.com oneiric/universe i386 Packages
Hit http://nl.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://nl.archive.ubuntu.com oneiric/main TranslationIndex
Hit http://nl.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://nl.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://archive.canonical.com oneiric/partner i386 Packages
Hit http://nl.archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://nl.archive.ubuntu.com oneiric-updates/main Sources
Hit http://nl.archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://extras.ubuntu.com oneiric/main Sources
Hit http://nl.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://nl.archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://nl.archive.ubuntu.com oneiric-updates/main i386 Packages
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Hit http://nl.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://nl.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://nl.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://nl.archive.ubuntu.com oneiric-updates/main TranslationIndex
Get:3 http://security.ubuntu.com oneiric-security/main Sources [37.8 kB]
Hit http://nl.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://nl.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://nl.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://nl.archive.ubuntu.com oneiric/main Translation-en
Hit http://nl.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://nl.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://nl.archive.ubuntu.com oneiric/universe Translation-en
Hit http://nl.archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://nl.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://nl.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://nl.archive.ubuntu.com oneiric-updates/universe Translation-en
Get:4 http://security.ubuntu.com oneiric-security/restricted Sources [1,959 B]
Get:5 http://security.ubuntu.com oneiric-security/universe Sources [17.3 kB]
Get:6 http://security.ubuntu.com oneiric-security/multiverse Sources [1,644 B]
Get:7 http://security.ubuntu.com oneiric-security/main i386 Packages [118 kB]
Ign http://archive.canonical.com oneiric/partner Translation-en_US
Get:8 http://security.ubuntu.com oneiric-security/restricted i386 Packages [3,93 9 B]
Get:9 http://security.ubuntu.com oneiric-security/universe i386 Packages [37.0 k B]
Ign http://archive.canonical.com oneiric/partner Translation-en
Ign http://extras.ubuntu.com oneiric/main Translation-en_US
Ign http://extras.ubuntu.com oneiric/main Translation-en
Get:10 http://security.ubuntu.com oneiric-security/multiverse i386 Packages [3,3 71 B]
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Fetched 262 kB in 0s (381 kB/s)
Reading package lists... Done

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  libmission-control-plugins0 libxml2 libxml2-utils python-libxml2 telepathy-mission-control-5 ubuntu-desktop ubuntu-minimal ubuntu-standard vim vim-common vim-runtime vim-tiny
12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,577 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://nl.archive.ubuntu.com/ubuntu/ oneiric-updates/main vim i386 2:7.3.154+hg~74503f6ee649-2ubuntu3.1 [967 kB]
Get:2 http://nl.archive.ubuntu.com/ubuntu/ oneiric-updates/main vim-tiny i386 2:7.3.154+hg~74503f6ee649-2ubuntu3.1 [373 kB]
Get:3 http://nl.archive.ubuntu.com/ubuntu/ oneiric-updates/main vim-runtime all 2:7.3.154+hg~74503f6ee649-2ubuntu3.1 [5,944 kB]
Get:4 http://nl.archive.ubuntu.com/ubuntu/ oneiric-updates/main vim-common i386 2:7.3.154+hg~74503f6ee649-2ubuntu3.1 [86.5 kB]
Get:5 http://nl.archive.ubuntu.com/ubuntu/ oneiric-updates/main ubuntu-minimal i386 1.245.1 [2,752 B]
Get:6 http://nl.archive.ubuntu.com/ubuntu/ oneiric-updates/main libxml2 i386 2.7.8.dfsg-4ubuntu0.3 [662 kB]
Get:7 http://nl.archive.ubuntu.com/ubuntu/ oneiric-updates/main ubuntu-standard i386 1.245.1 [2,802 B]
Get:8 http://nl.archive.ubuntu.com/ubuntu/ oneiric-updates/main telepathy-mission-control-5 i386 1:5.9.1-0ubuntu2.1 [203 kB]
Get:9 http://nl.archive.ubuntu.com/ubuntu/ oneiric-updates/main libmission-control-plugins0 i386 1:5.9.1-0ubuntu2.1 [17.6 kB]
Get:10 http://nl.archive.ubuntu.com/ubuntu/ oneiric-updates/main libxml2-utils i386 2.7.8.dfsg-4ubuntu0.3 [37.9 kB]
Get:11 http://nl.archive.ubuntu.com/ubuntu/ oneiric-updates/main python-libxml2 i386 2.7.8.dfsg-4ubuntu0.3 [276 kB]
Get:12 http://nl.archive.ubuntu.com/ubuntu/ oneiric-updates/main ubuntu-desktop i386 1.245.1 [3,822 B]
Fetched 8,577 kB in 5s (1,646 kB/s)
(Reading database ... 153636 files and directories currently installed.)
Preparing to replace vim 2:7.3.154+hg~74503f6ee649-2ubuntu3 (using .../vim_2%3a7.3.154+hg~74503f6ee649-2ubuntu3.1_i386.deb) ...
Unpacking replacement vim ...
Preparing to replace vim-tiny 2:7.3.154+hg~74503f6ee649-2ubuntu3 (using .../vim-tiny_2%3a7.3.154+hg~74503f6ee649-2ubuntu3.1_i386.deb) ...
Unpacking replacement vim-tiny ...
Preparing to replace vim-runtime 2:7.3.154+hg~74503f6ee649-2ubuntu3 (using .../vim-runtime_2%3a7.3.154+hg~74503f6ee649-2ubuntu3.1_all.deb) ...
Unpacking replacement vim-runtime ...
Preparing to replace vim-common 2:7.3.154+hg~74503f6ee649-2ubuntu3 (using .../vim-common_2%3a7.3.154+hg~74503f6ee649-2ubuntu3.1_i386.deb) ...
Unpacking replacement vim-common ...
Preparing to replace ubuntu-minimal 1.245 (using .../ubuntu-minimal_1.245.1_i386.deb) ...
Unpacking replacement ubuntu-minimal ...
Preparing to replace libxml2 2.7.8.dfsg-4ubuntu0.2 (using .../libxml2_2.7.8.dfsg-4ubuntu0.3_i386.deb) ...
Unpacking replacement libxml2 ...
Preparing to replace ubuntu-standard 1.245 (using .../ubuntu-standard_1.245.1_i386.deb) ...
Unpacking replacement ubuntu-standard ...
Preparing to replace telepathy-mission-control-5 1:5.9.1-0ubuntu2 (using .../telepathy-mission-control-5_1%3a5.9.1-0ubuntu2.1_i386.deb) ...
Unpacking replacement telepathy-mission-control-5 ...
Preparing to replace libmission-control-plugins0 1:5.9.1-0ubuntu2 (using .../libmission-control-plugins0_1%3a5.9.1-0ubuntu2.1_i386.deb) ...
Unpacking replacement libmission-control-plugins0 ...
Preparing to replace libxml2-utils 2.7.8.dfsg-4ubuntu0.2 (using .../libxml2-utils_2.7.8.dfsg-4ubuntu0.3_i386.deb) ...
Unpacking replacement libxml2-utils ...
Preparing to replace python-libxml2 2.7.8.dfsg-4ubuntu0.2 (using .../python-libxml2_2.7.8.dfsg-4ubuntu0.3_i386.deb) ...
Unpacking replacement python-libxml2 ...
Preparing to replace ubuntu-desktop 1.245 (using .../ubuntu-desktop_1.245.1_i386.deb) ...
Unpacking replacement ubuntu-desktop ...
Processing triggers for man-db ...
Setting up vim-common (2:7.3.154+hg~74503f6ee649-2ubuntu3.1) ...
Setting up vim-runtime (2:7.3.154+hg~74503f6ee649-2ubuntu3.1) ...
Processing /usr/share/vim/addons/doc
Setting up vim (2:7.3.154+hg~74503f6ee649-2ubuntu3.1) ...
Setting up vim-tiny (2:7.3.154+hg~74503f6ee649-2ubuntu3.1) ...
Setting up ubuntu-minimal (1.245.1) ...
Setting up libxml2 (2.7.8.dfsg-4ubuntu0.3) ...
Setting up ubuntu-standard (1.245.1) ...
Setting up libmission-control-plugins0 (1:5.9.1-0ubuntu2.1) ...
Setting up telepathy-mission-control-5 (1:5.9.1-0ubuntu2.1) ...
Setting up libxml2-utils (2.7.8.dfsg-4ubuntu0.3) ...
Setting up python-libxml2 (2.7.8.dfsg-4ubuntu0.3) ...
Setting up ubuntu-desktop (1.245.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Ok and what is the output of:

dpkg -l | awk {'print $2'} | grep -i desktop

Thanks

Revision history for this message
Maurice Boxman (mboxman) said :
#5

dpkg -l | awk {'print $2'} | grep -i desktop
desktop-file-utils
gir1.2-freedesktop
gnome-desktop-data
gnome-desktop3-data
gsettings-desktop-schemas
libfile-desktopentry-perl
libgnome-desktop-2-17
libgnome-desktop-3-2
policykit-desktop-privileges
rdesktop
sound-theme-freedesktop
ubuntu-desktop

Thanks for this support! It's fast :)

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Try:

sudo apt-get --reinstall install ubuntu-desktop

See if it helps.

I reply fast as I get an email when you (or anyone else) replies, I can then read the update and respond.

Revision history for this message
Maurice Boxman (mboxman) said :
#7

Too bad. No change. Still the same error.

Revision history for this message
Maurice Boxman (mboxman) said :
#8

I updated to 12.04 using a new iso. It just wouldn't upgrade on a "do-release-upgrade", but somehow it managed to upgrade from cd.