lucid -> precise server upgrade fail: dpkg: error processing dpkg (--configure): package dpkg is already installed and configured

Bug #942578 reported by James Troup
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Confirmed
High
Unassigned

Bug Description

I just tried a lucid -> precise server upgrade and it failed hard. Attaching logs as request by mvo

Tags: dist-upgrade
Revision history for this message
James Troup (elmo) wrote :
Revision history for this message
James Troup (elmo) wrote :
Revision history for this message
James Troup (elmo) wrote :
Revision history for this message
James Troup (elmo) wrote :
Revision history for this message
James Troup (elmo) wrote :
Revision history for this message
James Troup (elmo) wrote :
Revision history for this message
James Troup (elmo) wrote :
Download full text (8.2 KiB)

After apt-get -f install, I get the following from apt-get dist-upgrade:

The following packages have unmet dependencies.
  libwww-perl: Breaks: librpc-xml-perl (< 0.74-2) but 0.72-1 is to be installed

with -o debug::pkgrpoblemresolver=1, I get:

Reading package lists...
Building dependency tree...
Reading state information...
Starting
Starting 2
Investigating console-setup
Package console-setup has broken Conflicts on console-terminus
  Considering console-terminus -1 as a solution to console-setup 17
  Added console-terminus to the remove list
  Fixing console-setup via remove of console-terminus
Investigating libdrm-nouveau1a
Package libdrm-nouveau1a has broken Conflicts on libdrm-nouveau1
  Considering libdrm-nouveau1 2 as a solution to libdrm-nouveau1a 9
  Added libdrm-nouveau1 to the remove list
  Fixing libdrm-nouveau1a via remove of libdrm-nouveau1
Investigating ntfs-3g
Package ntfs-3g has broken Conflicts on libntfs-3g75
  Considering libntfs-3g75 -1 as a solution to ntfs-3g 5
  Added libntfs-3g75 to the remove list
  Fixing ntfs-3g via remove of libntfs-3g75
Investigating libruby
Package libruby has broken Conflicts on libopenssl-ruby
  Considering libopenssl-ruby 1 as a solution to libruby 3
  Added libopenssl-ruby to the remove list
  Fixing libruby via remove of libopenssl-ruby
Investigating libept0
Package libept0 has broken Depends on libapt-pkg-libc6.10-6-4.8
  Considering apt 22 as a solution to libept0 3
  Removing libept0 rather than change libapt-pkg-libc6.10-6-4.8
Investigating librpc-xml-perl
Package librpc-xml-perl has broken Depends on libhttp-daemon-perl
  Considering libhttp-daemon-perl 2 as a solution to librpc-xml-perl 1
  Holding Back librpc-xml-perl rather than change libhttp-daemon-perl
Package librpc-xml-perl has broken Depends on libwww-perl
  Considering libwww-perl 8 as a solution to librpc-xml-perl 1
  Holding Back librpc-xml-perl rather than change libwww-perl
  Or group keep for librpc-xml-perl
Investigating libperl5.10
Package libperl5.10 has broken Depends on perl-base
  Considering perl-base 5256 as a solution to libperl5.10 -1
  Removing libperl5.10 rather than change perl-base
Investigating libwww-perl
Package libwww-perl has broken Breaks on librpc-xml-perl
  Considering librpc-xml-perl 1 as a solution to libwww-perl 8
  Upgrading librpc-xml-perl due to Breaks field in libwww-perl
Investigating librpc-xml-perl
Package librpc-xml-perl has broken Depends on libhttp-daemon-perl
  Considering libhttp-daemon-perl 2 as a solution to librpc-xml-perl 1
  Holding Back librpc-xml-perl rather than change libhttp-daemon-perl
Package librpc-xml-perl has broken Depends on libwww-perl
  Considering libwww-perl 8 as a solution to librpc-xml-perl 1
  Holding Back librpc-xml-perl rather than change libwww-perl
  Or group keep for librpc-xml-perl
Investigating libwww-perl
Package libwww-perl has broken Breaks on librpc-xml-perl
  Considering librpc-xml-perl 1 as a solution to libwww-perl 8
  Upgrading librpc-xml-perl due to Breaks field in libwww-perl
Investigating librpc-xml-perl
Package librpc-xml-perl has broken Depends on libhttp-daemon-perl
  Considering libhttp-daemon-perl 2 as a solution to librpc-xml-perl 1
 ...

Read more...

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

Thanks for your bugreport.

Unfortunately I can not reproduce this currently using the apt-clone file. But the install log already looks different from your early n, so this needs some more debugging in why its different.

Changed in update-manager (Ubuntu):
importance: Undecided → High
tags: added: dist-upgrade
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

Most likely a dupe of #927993

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

(which is marked critical)

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.