Upgrade from 11.04 to 11.10 fails when using dpkg-1.16.1~natty+1
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| update-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
I am upgrading from 11.04 to 11.10. In the "Installing the upgrades" step, the upgrade fails with "Could not install the upgrades. The upgrade has aborted. Your system could be in an unusable state." The errors show up in the distribution upgrade UI as:
E:Sub-process /usr/bin/dpkg returned an error code (2), E:Sub-process /usr/bin/dpkg returned an error code (2), ... (repeated many times)
/var/log/
dpkg: error: configuration error: /etc/dpkg/
I attempted to remove 'user installed' packages in synaptic, but synaptic fails with the same dpkg error. Loading update manager, I receive this error in the UI:
Could not calculate the upgrade
An unresolvable problem occurred while calculating the upgrade.
Please report this bug against the 'update-manager' package and include the following error message:
'E:Error, pkgProblemResol
/var/log/
...
Installing gir1.2-rb-3.0 as Depends of rhythmbox-plugins
Installing distro-info as Depends of ubuntu-dev-tools
new important dependency: python-mmkeys
Installing python-mmkeys as Recommends of quodlibet
Installing gtk3-engines-unico as Depends of light-themes
Installing gir1.2-cogl-1.0 as Depends of gir1.2-clutter-1.0
Installing gir1.2-json-1.0 as Depends of gir1.2-clutter-1.0
Installing libexporter-
new important dependency: libgphoto2-l10n
Installing libgphoto2-l10n as Recommends of libgphoto2-2
Starting
Starting 2
Investigating (0) python2.7 [ amd64 ] < 2.7.1-5ubuntu2 -> 2.7.2-5ubuntu1 > ( python )
Broken python2.7:amd64 Conflicts on python-profiler [ amd64 ] < 2.6.6-0ubuntu1 > ( multiverse/python ) (<= 2.7.1-2)
Considering python-
Added python-
Fixing python2.7:amd64 via remove of python-
Investigating (0) libdbusmenu-glib4 [ amd64 ] < none -> 0.5.0-0ubuntu3 > ( libs )
Broken libdbusmenu-
Considering gir1.2-
Added gir1.2-
Fixing libdbusmenu-
Investigating (0) gvfs [ amd64 ] < 1.8.0-0ubuntu3 -> 1.10.0-0ubuntu1 > ( libs )
Broken gvfs:amd64 Conflicts on libgvfscommon0 [ amd64 ] < 1.8.0-0ubuntu3 > ( libs )
Considering libgvfscommon0:
Added libgvfscommon0:
Fixing gvfs:amd64 via remove of libgvfscommon0:
Investigating (0) libjack-jackd2-0 [ amd64 ] < none -> 1.9.7~dfsg-1ubuntu2 > ( libs )
...
Investigating (2) libpulse-browse0 [ amd64 ] < 1:0.9.22+
Broken libpulse-
Considering libpulse0:amd64 119 as a solution to libpulse-
Removing libpulse-
Try to Re-Instate (2) flashplugin-
Investigating (3) indicator-applet [ amd64 ] < 0.4.12-0ubuntu1 > ( gnome )
Broken indicator-
Considering gnome-panel:amd64 20 as a solution to indicator-
Removing indicator-
Investigating (3) padevchooser [ amd64 ] < 0.9.3-2ubuntu4 > ( sound )
Broken padevchooser:amd64 Depends on libpulse-browse0 [ amd64 ] < 1:0.9.22+
Considering libpulse-
Removing padevchooser:amd64 rather than change libpulse-
Done
dpkg: error: configuration error: /etc/dpkg/
.: 19: Can't open base-installer/
Installing evince as Depends of ubuntu-desktop
Setting NOT as auto-installed (direct Depends of pkg in APT::Never-
Installing libevince3-3 as Depends of evince
(end of log)
I would like to complete the upgrade to 11.10 without errors. Any suggestions?
-------
To reproduce use a clean install of Ubuntu 11.04 fully patched. Then do
sudo apt-add-repository ppa:ondrej/redmine
sudo apt-get update
sudo apt-get install dpkg dpkg-dev libdpkg-perl redmine
Then run the Update Manager and attempt upgrade to 11.10 it then fails with the same errors as reported above.
To fix the problem do the following:
sudo rm /etc/dpkg/
sudo apt-get install dpkg=1.
Run the Update Manager again and then the upgrade commenced.
| Changed in update-manager (Ubuntu): | |
| status: | New → Confirmed |
| status: | Confirmed → Fix Released |
