package apache2.2-common 2.2.9-7ubuntu3 failed to install/upgrade: package apache2.2-common is not ready for configuration

Bug #327104 reported by Rachel Karcher
10
Affects Status Importance Assigned to Milestone
doc-base (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: apache2

user@das-komputer:~$ sudo dpkg --configure -a
Setting up doc-base (0.8.16) ...
Bareword found where operator expected at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 1, near "" "Pain"
 (Missing operator before Pain?)
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 1, near "" "Pain"
Unmatched right curly bracket at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 253, at end of line
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 253, near "}"
Can't use global @_ in "my" at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 258, near "= @_"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 347, near "}"
Can't use global @_ in "my" at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 354, near "= @_"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 384, near "}"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 435, near "}"
Can't use global @_ in "my" at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 469, near "= $_"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 845, near "}"
/usr/share/perl/5.10/Pod/Simple/BlackBox.pm has too many errors.
Compilation failed in require at /usr/share/perl/5.10/Pod/Simple/LinkSection.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Simple/LinkSection.pm line 7.
Compilation failed in require at /usr/share/perl/5.10/Pod/Simple.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Simple.pm line 9.
Compilation failed in require at /usr/share/perl/5.10/Pod/Text.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Text.pm line 34.
Compilation failed in require at /usr/share/perl/5.10/Pod/Usage.pm line 436.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Usage.pm line 443.
Compilation failed in require at /usr/sbin/install-docs line 26.
Global symbol "$opt_rootdir" requires explicit package name at /usr/sbin/install-docs line 157.
Execution of /usr/sbin/install-docs aborted due to compilation errors.
dpkg: error processing doc-base (--configure):
 subprocess post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of dwww:
 dwww depends on doc-base (>= 0.8.12); however:
  Package doc-base is not configured yet.
dpkg: error processing dwww (--configure):
 dependency problems - leaving unconfigured
dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' failed.
Aborted
user@das-komputer:~$ sudo dpkg --configure -a && sudo apt-get -f install
Setting up doc-base (0.8.16) ...
Bareword found where operator expected at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 1, near "" "Pain"
 (Missing operator before Pain?)
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 1, near "" "Pain"
Unmatched right curly bracket at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 253, at end of line
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 253, near "}"
Can't use global @_ in "my" at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 258, near "= @_"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 347, near "}"
Can't use global @_ in "my" at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 354, near "= @_"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 384, near "}"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 435, near "}"
Can't use global @_ in "my" at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 469, near "= $_"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 845, near "}"
/usr/share/perl/5.10/Pod/Simple/BlackBox.pm has too many errors.
Compilation failed in require at /usr/share/perl/5.10/Pod/Simple/LinkSection.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Simple/LinkSection.pm line 7.
Compilation failed in require at /usr/share/perl/5.10/Pod/Simple.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Simple.pm line 9.
Compilation failed in require at /usr/share/perl/5.10/Pod/Text.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Text.pm line 34.
Compilation failed in require at /usr/share/perl/5.10/Pod/Usage.pm line 436.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Usage.pm line 443.
Compilation failed in require at /usr/sbin/install-docs line 26.
Global symbol "$opt_rootdir" requires explicit package name at /usr/sbin/install-docs line 157.
Execution of /usr/sbin/install-docs aborted due to compilation errors.
dpkg: error processing doc-base (--configure):
 subprocess post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of dwww:
 dwww depends on doc-base (>= 0.8.12); however:
  Package doc-base is not configured yet.
dpkg: error processing dwww (--configure):
 dependency problems - leaving unconfigured
dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' failed.
Aborted
user@das-komputer:~$ sudo apt-get update
Get:1 http://ppa.launchpad.net intrepid Release.gpg [307B]
Ign http://ppa.launchpad.net intrepid/main Translation-en_US
Hit http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
Hit http://us.archive.ubuntu.com intrepid Release.gpg
Ign http://us.archive.ubuntu.com intrepid/main Translation-en_US
Hit http://archive.canonical.com intrepid Release.gpg
Ign http://archive.canonical.com intrepid/partner Translation-en_US
Hit http://archive.ubuntu.com intrepid Release.gpg
Get:2 http://ppa.launchpad.net intrepid Release [27.6kB]
Ign http://us.archive.ubuntu.com intrepid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com intrepid-updates Release.gpg
Ign http://us.archive.ubuntu.com intrepid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com intrepid-updates/multiverse Translation-en_US
Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US
Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US
Hit http://security.ubuntu.com intrepid-security Release
Hit http://archive.canonical.com intrepid Release
Hit http://archive.ubuntu.com intrepid Release
Ign http://ppa.launchpad.net intrepid Release
Hit http://us.archive.ubuntu.com intrepid Release
Ign http://ppa.launchpad.net intrepid/main Packages
Hit http://security.ubuntu.com intrepid-security/main Packages
Hit http://archive.canonical.com intrepid/partner Packages
Hit http://archive.ubuntu.com intrepid/main Sources
Hit http://ppa.launchpad.net intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates Release
Hit http://security.ubuntu.com intrepid-security/restricted Packages
Hit http://security.ubuntu.com intrepid-security/restricted Sources
Hit http://security.ubuntu.com intrepid-security/main Sources
Hit http://security.ubuntu.com intrepid-security/multiverse Sources
Hit http://archive.canonical.com intrepid/partner Sources
Hit http://archive.ubuntu.com intrepid/restricted Sources
Hit http://us.archive.ubuntu.com intrepid/main Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Packages
Hit http://us.archive.ubuntu.com intrepid/restricted Sources
Hit http://us.archive.ubuntu.com intrepid/main Sources
Hit http://us.archive.ubuntu.com intrepid/multiverse Sources
Hit http://security.ubuntu.com intrepid-security/universe Sources
Hit http://security.ubuntu.com intrepid-security/universe Packages
Hit http://security.ubuntu.com intrepid-security/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid/universe Sources
Hit http://us.archive.ubuntu.com intrepid/universe Packages
Hit http://us.archive.ubuntu.com intrepid/multiverse Packages
Hit http://us.archive.ubuntu.com intrepid-updates/main Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Packages
Hit http://us.archive.ubuntu.com intrepid-updates/restricted Sources
Hit http://us.archive.ubuntu.com intrepid-updates/main Sources
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Sources
Hit http://us.archive.ubuntu.com intrepid-updates/universe Sources
Hit http://us.archive.ubuntu.com intrepid-updates/universe Packages
Hit http://us.archive.ubuntu.com intrepid-updates/multiverse Packages
Fetched 308B in 2s (144B/s)
W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4874D3686E80C6B7
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
user@das-komputer:~$ dpkg --configure -a
dpkg: requested operation requires superuser privilege
user@das-komputer:~$ sudo su
root@das-komputer:/home/user# dpkg --configure -a
Setting up doc-base (0.8.16) ...
Bareword found where operator expected at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 1, near "" "Pain"
 (Missing operator before Pain?)
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 1, near "" "Pain"
Unmatched right curly bracket at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 253, at end of line
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 253, near "}"
Can't use global @_ in "my" at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 258, near "= @_"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 347, near "}"
Can't use global @_ in "my" at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 354, near "= @_"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 384, near "}"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 435, near "}"
Can't use global @_ in "my" at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 469, near "= $_"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 845, near "}"
/usr/share/perl/5.10/Pod/Simple/BlackBox.pm has too many errors.
Compilation failed in require at /usr/share/perl/5.10/Pod/Simple/LinkSection.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Simple/LinkSection.pm line 7.
Compilation failed in require at /usr/share/perl/5.10/Pod/Simple.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Simple.pm line 9.
Compilation failed in require at /usr/share/perl/5.10/Pod/Text.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Text.pm line 34.
Compilation failed in require at /usr/share/perl/5.10/Pod/Usage.pm line 436.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Usage.pm line 443.
Compilation failed in require at /usr/sbin/install-docs line 26.
Global symbol "$opt_rootdir" requires explicit package name at /usr/sbin/install-docs line 157.
Execution of /usr/sbin/install-docs aborted due to compilation errors.
dpkg: error processing doc-base (--configure):
 subprocess post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of dwww:
 dwww depends on doc-base (>= 0.8.12); however:
  Package doc-base is not configured yet.
dpkg: error processing dwww (--configure):
 dependency problems - leaving unconfigured
dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' failed.
Aborted
root@das-komputer:/home/user# dpkg --configure dwww
dpkg: dependency problems prevent configuration of dwww:
 dwww depends on apache2 | httpd-cgi; however:
  Package apache2 is not configured yet.
  Package apache2-mpm-worker which provides apache2 is not configured yet.
  Package httpd-cgi is not installed.
  Package apache2-mpm-worker which provides httpd-cgi is not configured yet.
 dwww depends on doc-base (>= 0.8.12); however:
  Package doc-base is not configured yet.
dpkg: error processing dwww (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dwww
root@das-komputer:/home/user# dpkg --configure apache2
dpkg: dependency problems prevent configuration of apache2:
 apache2 depends on apache2-mpm-worker (>= 2.2.9-7ubuntu3) | apache2-mpm-prefork (>= 2.2.9-7ubuntu3) | apache2-mpm-event (>= 2.2.9-7ubuntu3); however:
  Package apache2-mpm-worker is not configured yet.
  Package apache2-mpm-prefork is not installed.
  Package apache2-mpm-event is not installed.
dpkg: error processing apache2 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apache2
root@das-komputer:/home/user# dpkg --configure apache2-mpm-worker
dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' failed.
Aborted
root@das-komputer:/home/user# dpkg --configure apache2-mpm-prefork
dpkg: error processing apache2-mpm-prefork (--configure):
 no package named `apache2-mpm-prefork' is installed, cannot configure
Errors were encountered while processing:
 apache2-mpm-prefork
root@das-komputer:/home/user# dpkg --configure apache2-mpm-event
dpkg: error processing apache2-mpm-event (--configure):
 no package named `apache2-mpm-event' is installed, cannot configure
Errors were encountered while processing:
 apache2-mpm-event
root@das-komputer:/home/user# apt-get install apache2-mpm-event
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.27-9 libgtkhtml-editor0 gvfs-bin
  linux-headers-2.6.27-9-generic libgtkhtml-editor-common libglitz-glx1 icedax
  libglitz1 linux-backports-modules-2.6.27-9-generic libgnome-keyring1.0-cil
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  apache2-mpm-worker
The following NEW packages will be installed:
  apache2-mpm-event
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
6 not fully installed or removed.
Need to get 254kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com intrepid/main apache2-mpm-event 2.2.9-7ubuntu3 [254kB]
Fetched 254kB in 3s (64.0kB/s)
(Reading database ... 127881 files and directories currently installed.)
Removing apache2-mpm-worker ...
Selecting previously deselected package apache2-mpm-event.
(Reading database ... 127873 files and directories currently installed.)
Unpacking apache2-mpm-event (from .../apache2-mpm-event_2.2.9-7ubuntu3_amd64.deb) ...
dpkg: error processing apache2.2-common (--configure):
 package apache2.2-common is not ready for configuration
 cannot configure (current status `triggers-awaited')
Setting up doc-base (0.8.16) ...
Bareword found where operator expected at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 1, near "" "Pain"
 (Missing operator before Pain?)
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 1, near "" "Pain"
Unmatched right curly bracket at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 253, at end of line
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 253, near "}"
Can't use global @_ in "my" at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 258, near "= @_"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 347, near "}"
Can't use global @_ in "my" at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 354, near "= @_"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 384, near "}"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 435, near "}"
Can't use global @_ in "my" at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 469, near "= $_"
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 845, near "}"
/usr/share/perl/5.10/Pod/Simple/BlackBox.pm has too many errors.
Compilation failed in require at /usr/share/perl/5.10/Pod/Simple/LinkSection.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Simple/LinkSection.pm line 7.
Compilation failed in require at /usr/share/perl/5.10/Pod/Simple.pm line 9.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Simple.pm line 9.
Compilation failed in require at /usr/share/perl/5.10/Pod/Text.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Text.pm line 34.
Compilation failed in require at /usr/share/perl/5.10/Pod/Usage.pm line 436.
BEGIN failed--compilation aborted at /usr/share/perl/5.10/Pod/Usage.pm line 443.
Compilation failed in require at /usr/sbin/install-docs line 26.
Global symbol "$opt_rootdir" requires explicit package name at /usr/sbin/install-docs line 157.
Execution of /usr/sbin/install-docs aborted due to compilation errors.
dpkg: error processing doc-base (--configure):
 subprocess post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of dwww:
 dwww depends on doc-base (>= 0.8.12); however:
  Package doc-base is not configured yet.
dpkg: error processing dwww (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' failed.
E: Sub-process /usr/bin/dpkg exited unexpectedly

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: package apache2.2-common is not ready for configuration
Package: apache2.2-common 2.2.9-7ubuntu3
SourcePackage: apache2
Title: package apache2.2-common 2.2.9-7ubuntu3 failed to install/upgrade: package apache2.2-common is not ready for configuration
Uname: Linux 2.6.27-11-generic x86_64

Related branches

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

Here is the failed trigger. This causes the subsequent error #32389 :

Processing triggers for doc-base ...^M
Bareword found where operator expected at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 1, near "" "Pain"^M
        (Missing operator before Pain?)^M
syntax error at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 1, near "" "Pain"^M
Unmatched right curly bracket at /usr/share/perl/5.10/Pod/Simple/BlackBox.pm line 253, at end of line^M

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.8 KiB)

This bug was fixed in the package doc-base - 0.10.1

---------------
doc-base (0.10.1) unstable; urgency=low

  * DocBaseFile.pm, InstallDocs.pm:
    + while getting changed files, don't schedule not yet registered files
      for removal;
    + if some documents cannot be registered and verbose messages are turned
      off, inform the user how to get the more detailed reasons of the errors.

doc-base (0.10.0) unstable; urgency=low

  * Applied a bit modified patch from Martin Pitt @ Ubuntu to remove dependency
    on perl (closes: #602919):
    + Scrollkeeper.pm: provide our own local dirname() function and use it
      instead of File::Basename;
    + InstallDocs.pm: use the `rm -r' and 'mkdir -p' programs instead of
      File::Path;
    + debian/rules: run dh_perl with '-d' to avoid perl dependency.

  * Switch internal databases format from MLDBM to YAML and provide better
    error recovery from database corruption:
    + DB.pm: use YAML::Tiny module for storing our internal databases;
    + Util.pm: introduce Fatal() function and differentiate exit codes
      by type of error;
    + make the Fatal() function call
    + debian/control: switch dependency on libmdlbm-perl to libyaml-tiny-perl;
    + debian/postinst: try to recover for yaml files corruption by deleting
      them and re-spawning install-docs.

  * Translations handling:
    + patch from David Prévot not to assume word ordering in translated
      strings (closes: #606475);
    + patch from Chris Leick to fix plurals in the strings (closes: #521384);
    + English messages cleanups;
    + mark more doc-base messages as translatable;
    + Update Polish translation of binary.

  * doc-base.sgml:
    + prepend a top-level section name section names to make it more visible
      that sections' components are separated by slash (closes: #578331);
    + add the `Network/Remote Access' section (closes: #555161);
    + the Network section has two levels, not three (closes: #615488).

  * Don't create scrollkeeper files when rarian-compat is not installed
    (closes: #419745)
    + debian/triggers: interest on /usr/share/doc/rarian-compat to be
      notified of installs/removals of rarian-compat
  * DocBaseFile.pm: fix `no valid Format found' check.
  * Scrollkeeper.pm: avoid `unsuccessful stat on file contains new line'
    warnings given by perl (closes: #607498, #614330).

  * Ubuntu bugs handling:
    + install-docs.in: check if the Pod::Usage module is available before
      using it (LP: #431270, #510976);
    + this version gets rid of MLDBM and provides a better handling of
      databases corruption, to prevent `read error' bugs
      (LP: #695319, #675069, #672364, #668856, #652102, #621345);
    + debian/prerm: downgrade the `cannot find install-docs on path' error
      to a warning to make it possible to remove doc-base when install-docs
      is not available for some reason (LP: #391464);
    + the `/usr/share/doc-base/data/doc-base.map' file is provided in the
      package, it must have been deleted either manually or by filesystem
      error (LP: #660345, #646629);
    + close bugs that are duplicates of Debian bug#501874, fixed in 0.8.18
      (LP: #24771...

Read more...

Changed in doc-base (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.