Public bug reported:

Attempting to upgrade my 64-bit 11.10 system to 12.04, I encountered the
following error message:

<quote>
Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade:
E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by 
held 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.
</quote>

First I removed old package configuration files using the instructions
here:

http://tuxtweaks.com/2011/09/remove-old-package-configuration-files-in-
ubuntu/

...but this didn't help.


My /etc/apt/sources.list looks like this:

$ grep -v "^#" /etc/apt/sources.list

deb http://ie.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric main restricted

deb http://ie.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted

deb http://ie.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://ie.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric-updates universe

deb http://ie.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://ie.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src http://ie.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse

deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse

deb http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://archive.canonical.com/ubuntu maverick partner

...and my /etc/apt/sources.list.d looks like this:

$ ls -l apt/sources.list.d
total 84
-rw-r--r-- 1 root root 142 2012-04-28 21:24 cinelerra-ppa-ppa-oneiric.list
-rw-r--r-- 1 root root 138 2012-04-28 21:22 
cinelerra-ppa-ppa-oneiric.list.distUpgrade
-rw-r--r-- 1 root root 140 2012-04-28 21:24 cinelerra-ppa-ppa-oneiric.list.save
-rw-r--r-- 1 root root  84 2012-04-28 21:24 dropbox.list
-rw-r--r-- 1 root root  84 2012-04-28 21:22 dropbox.list.distUpgrade
-rw-r--r-- 1 root root  84 2012-04-28 21:24 dropbox.list.save
-rw-r--r-- 1 root root 176 2012-04-28 21:24 google-chrome.list
-rw-r--r-- 1 root root 176 2012-04-28 21:22 google-chrome.list.distUpgrade
-rw-r--r-- 1 root root 176 2012-04-28 21:24 google-chrome.list.save
-rw-r--r-- 1 root root 175 2012-04-28 21:24 google-earth.list
-rw-r--r-- 1 root root 175 2012-04-28 21:22 google-earth.list.distUpgrade
-rw-r--r-- 1 root root 175 2012-04-28 21:24 google-earth.list.save
-rw-r--r-- 1 root root 180 2012-04-28 21:24 google-talkplugin.list
-rw-r--r-- 1 root root 180 2012-04-28 21:22 google-talkplugin.list.distUpgrade
-rw-r--r-- 1 root root 180 2012-04-28 21:24 google-talkplugin.list.save
-rw-r--r-- 1 root root 208 2012-04-28 21:24 pcf-miro-releases-natty.list
-rw-r--r-- 1 root root 208 2012-04-28 21:22 
pcf-miro-releases-natty.list.distUpgrade
-rw-r--r-- 1 root root 208 2012-04-28 21:24 pcf-miro-releases-natty.list.save
-rw-r--r-- 1 root root 228 2012-04-28 21:24 
stebbins-handbrake-releases-natty.list
-rw-r--r-- 1 root root 228 2012-04-28 21:22 
stebbins-handbrake-releases-natty.list.distUpgrade
-rw-r--r-- 1 root root 228 2012-04-28 21:24 
stebbins-handbrake-releases-natty.list.save

...so I stripped all of the non-standard sources back to the basics on
the "Other Software" tab of the "Software Sources" dialog.

The only "Other Software" source left checked were:

Independent (binaries and source)
Canonical Partners (binaries and source)
http://dl.google.com/linux/chrome/deb/ stable main

Once again I tried to upgrade, once again it failed with the error
outlined above.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: update-manager 1:0.152.25.9
ProcVersionSignature: Ubuntu 3.0.0-17.30-generic 3.0.22
Uname: Linux 3.0.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sat Apr 28 21:03:54 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_IE:en
 PATH=(custom, user)
 LANG=en_IE.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to oneiric on 2012-04-28 (0 days ago)

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/990735

Title:
  Upgrade from 11.10 to 12.04 fails with error "Resolve generated
  breaks, this may be caused by held packages"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/990735/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to