base-passwd package failed to install during do-release-upgrade

Bug #243830 reported by karrotcake
190
This bug affects 3 people
Affects Status Importance Assigned to Milestone
doc-base (Ubuntu)
Fix Released
High
Michael Vogt
Intrepid
Fix Released
High
Michael Vogt

Bug Description

Binary package hint: base-passwd

Unpacking replacement base-passwd ...
Setting up base-passwd (3.5.17) ...
Can't locate Pod/Usage.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/sbin/install-docs line 18.
Global symbol "$opt_rootdir" requires explicit package name at /usr/sbin/install-docs line 136.
Execution of /usr/sbin/install-docs aborted due to compilation errors.
dpkg: error processing base-passwd (--configure):
 subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
 base-passwd

Could not install the upgrades

ProblemType: Package
Architecture: i386
Date: Sun Jun 29 08:15:18 2008
Dependencies:
 libgcc1 1:4.3.1-1ubuntu2
 gcc-4.3-base 4.3.1-1ubuntu2
 findutils 4.4.0-2ubuntu2
 libc6 2.8~20080505-0ubuntu6
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-installation script returned error exit status 9
Package: base-passwd 3.5.17
PackageArchitecture: i386
SourcePackage: base-passwd
Title: package base-passwd 3.5.17 failed to install/upgrade: subprocess post-installation script returned error exit status 9
Uname: Linux 2.6.24-19-generic i686

Related branches

Revision history for this message
karrotcake (nzjamo) wrote :
Revision history for this message
daklicker (klicker) wrote :

 sudo apt-get -f install

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Reading state information... Fertig
Abhängigkeit werden korrigiert... Fertig
The following packages were automatically installed and are no longer required:
  openoffice.org-thesaurus-de-ch libotr2 libfluidsynth1 libgdata-google1.2-1
  openoffice.org-thesaurus-de libxalan110 openoffice.org-hyphenation-de
  libbinio1c2 libresid-builder0c2a libsidplay2 openoffice.org-thesaurus-en-au
  ladcca2 libimlib2 libgdata1.2-1
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
Die folgenden zusätzlichen Pakete werden installiert:
  libcairo-perl libcairo2 libcairo2-dev libcups2 libcups2-dev libcupsys2
  libcupsys2-dev libglib-perl libgnome2-vfs-perl liblocale-gettext-perl
  libnet-dbus-perl libpango1.0-0 libpango1.0-common libpango1.0-dev libsnmp15
  libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl
  libxml-parser-perl perl-base
Vorgeschlagene Pakete:
  libcairo2-doc cups-common ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp
  ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp libpango1.0-doc
Die folgenden Pakete werden ENTFERNT:
  gui-apt-key libgnome2-canvas-perl libgnome2-perl libgtk2-perl libperl5.8
  libpurple0 pidgin pidgin-audacious pidgin-encryption pidgin-extprefs
  pidgin-festival pidgin-guifications pidgin-hotkeys pidgin-libnotify
  pidgin-otr pidgin-plugin-pack pidgin-sipe pidgin-themes ubuntu-desktop
Die folgenden NEUEN Pakete werden installiert:
  libcups2 libcups2-dev
Die folgenden Pakete werden aktualisiert:
  libcairo-perl libcairo2 libcairo2-dev libcupsys2 libcupsys2-dev libglib-perl
  libgnome2-vfs-perl liblocale-gettext-perl libnet-dbus-perl libpango1.0-0
  libpango1.0-common libpango1.0-dev libsnmp15 libterm-readkey-perl
  libtext-charwidth-perl libtext-iconv-perl libxml-parser-perl perl-base
18 aktualisiert, 2 neu installiert, 19 zu entfernen und 1116 nicht aktualisiert.
36 nicht vollständig installiert oder entfernt.
Es müssen noch 0B von 6237kB Archiven geholt werden.
After this operation, 21,0MB disk space will be freed.
Möchten Sie fortfahren [J/n]? j

Richte base-passwd ein (3.5.17) ...
Can't locate Pod/Usage.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/sbin/install-docs line 18.
Global symbol "$opt_rootdir" requires explicit package name at /usr/sbin/install-docs line 136.
Execution of /usr/sbin/install-docs aborted due to compilation errors.
dpkg: Fehler beim Bearbeiten von base-passwd (--configure):
 Unterprozess post-installation script gab den Fehlerwert 9 zurück
Fehler traten auf beim Bearbeiten von:
 base-passwd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
daklicker (klicker) wrote :

same problem here:

 sudo apt-get -f install

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Reading state information... Fertig
Abhängigkeit werden korrigiert... Fertig
The following packages were automatically installed and are no longer required:
  openoffice.org-thesaurus-de-ch libotr2 libfluidsynth1 libgdata-google1.2-1
  openoffice.org-thesaurus-de libxalan110 openoffice.org-hyphenation-de
  libbinio1c2 libresid-builder0c2a libsidplay2 openoffice.org-thesaurus-en-au
  ladcca2 libimlib2 libgdata1.2-1
Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
Die folgenden zusätzlichen Pakete werden installiert:
  libcairo-perl libcairo2 libcairo2-dev libcups2 libcups2-dev libcupsys2
  libcupsys2-dev libglib-perl libgnome2-vfs-perl liblocale-gettext-perl
  libnet-dbus-perl libpango1.0-0 libpango1.0-common libpango1.0-dev libsnmp15
  libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl
  libxml-parser-perl perl-base
Vorgeschlagene Pakete:
  libcairo2-doc cups-common ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp
  ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp libpango1.0-doc
Die folgenden Pakete werden ENTFERNT:
  gui-apt-key libgnome2-canvas-perl libgnome2-perl libgtk2-perl libperl5.8
  libpurple0 pidgin pidgin-audacious pidgin-encryption pidgin-extprefs
  pidgin-festival pidgin-guifications pidgin-hotkeys pidgin-libnotify
  pidgin-otr pidgin-plugin-pack pidgin-sipe pidgin-themes ubuntu-desktop
Die folgenden NEUEN Pakete werden installiert:
  libcups2 libcups2-dev
Die folgenden Pakete werden aktualisiert:
  libcairo-perl libcairo2 libcairo2-dev libcupsys2 libcupsys2-dev libglib-perl
  libgnome2-vfs-perl liblocale-gettext-perl libnet-dbus-perl libpango1.0-0
  libpango1.0-common libpango1.0-dev libsnmp15 libterm-readkey-perl
  libtext-charwidth-perl libtext-iconv-perl libxml-parser-perl perl-base
18 aktualisiert, 2 neu installiert, 19 zu entfernen und 1116 nicht aktualisiert.
36 nicht vollständig installiert oder entfernt.
Es müssen noch 0B von 6237kB Archiven geholt werden.
After this operation, 21,0MB disk space will be freed.
Möchten Sie fortfahren [J/n]? j

Richte base-passwd ein (3.5.17) ...
Can't locate Pod/Usage.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/sbin/install-docs line 18.
Global symbol "$opt_rootdir" requires explicit package name at /usr/sbin/install-docs line 136.
Execution of /usr/sbin/install-docs aborted due to compilation errors.
dpkg: Fehler beim Bearbeiten von base-passwd (--configure):
 Unterprozess post-installation script gab den Fehlerwert 9 zurück
Fehler traten auf beim Bearbeiten von:
 base-passwd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Colin Watson (cjwatson) wrote :

Sounds like a doc-base or possibly a perl bug. What were you upgrading from and to?

Revision history for this message
karrotcake (nzjamo) wrote :

from hardy to intrepid

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

Alexander Sack just got this too on his hardy->intrepid upgrade:

Preparing to replace base-passwd 3.5.16 (using .../base-passwd_3.5.17_amd64.deb) ...
Can't locate Pod/Usage.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/sbin/install-docs line 18.
Global symbol "$opt_rootdir" requires explicit package name at /usr/sbin/install-docs line 136.
Execution of /usr/sbin/install-docs aborted due to compilation errors.
dpkg: warning - old pre-removal script returned error exit status 9
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement base-passwd ...
Setting up base-passwd (3.5.17) ...
dpkg: error processing base-passwd (--configure):
 subprocess post-installation script returned error exit status 9

Changed in doc-base:
importance: Undecided → High
milestone: none → intrepid-alpha-2
status: New → Triaged
Revision history for this message
Michael Vogt (mvo) wrote :

libmldbm-perl is now required by the new doc-base but its in universe and needs to enter main first. Then the new version of doc-base can enter intrepid and hopefully fix the issue.

Revision history for this message
Colin Watson (cjwatson) wrote :

  doc-base | 0.8.16 | intrepid | source, all

As Michael says, this should fix the bug, because now calls to install-docs from maintainer scripts are no-ops, and doc-base uses dpkg triggers instead. As I recall, by the time triggers are run, the owning package is configured or in a very similar state, so it shouldn't be possible for this bug to occur any more.

Changed in doc-base:
status: Triaged → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

It turns out that this isn't enough; I reproduced this while upgrading to Intrepid myself this morning. doc-base isn't guaranteed to be unpacked before packages that call install-docs. One possible answer would be to have perl-base Conflict with the pre-triggers version of install-docs, although I have a feeling we may be in for other problems here and should pay attention to what Debian is doing with perl.

Changed in doc-base:
status: Fix Released → Triaged
Michael Vogt (mvo)
Changed in doc-base:
milestone: intrepid-alpha-2 → intrepid-alpha-3
Revision history for this message
Dominic Buchstaller (dbuchstaller) wrote :

I had the same problem with upgrading from hardy to intrepid. Just update perl by hand (dpkg -i perl_5.10.0-11_i386.deb). That did the trick.

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

Seb had this error with confconfig-config today too.

Steve Langasek (vorlon)
Changed in doc-base:
milestone: intrepid-alpha-3 → ubuntu-8.10-beta
Revision history for this message
Michael Vogt (mvo) wrote :

I think a "Breaks" or "Conflicts" doc-base (<< 0.8.16) in perl-base should fix it. I'm testing my theory now.

Michael Vogt (mvo)
Changed in doc-base:
assignee: nobody → mvo
status: Triaged → In Progress
Michael Vogt (mvo)
Changed in doc-base:
status: In Progress → Fix Released
Revision history for this message
Ivan Razumov (iarspider) wrote :

Still present:

Selecting previously deselected package libmldbm-perl.
(Reading database ... 165829 files and directories currently installed.)
Unpacking libmldbm-perl (from .../libmldbm-perl_2.01-2_all.deb) ...
Preparing to replace doc-base 0.8.7 (using .../doc-base_0.8.16_all.deb) ...
Can't locate Pod/Usage.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/sbin/install-docs line 18.
Global symbol "$opt_rootdir" requires explicit package name at /usr/sbin/install-docs line 136.
Execution of /usr/sbin/install-docs aborted due to compilation errors.
dpkg: warning - old pre-removal script returned error exit status 9
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement doc-base ...

Revision history for this message
Justus Kigango (kigango123) wrote :

Where can i find the fix to this bug?, I dont have the ability to update perl by hand yet.

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.