aptd crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)

Bug #828279 reported by mmmubuntu
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)
New
Undecided
Unassigned

Bug Description

installArchives() failed: Preconfiguring packages ...

Use of uninitialized value $ret[0] in numeric eq (==) at /tmp/dwww.config.20991 line 159, <STDIN> line 21.

Preconfiguring packages ...

Use of uninitialized value $ret[0] in numeric eq (==) at /tmp/dwww.config.21331 line 159, <STDIN> line 21.

Preconfiguring packages ...

Use of uninitialized value $ret[0] in numeric eq (==) at /tmp/dwww.config.21681 line 159, <STDIN> line 21.

Selecting previously deselected package libaprutil1-dbd-sqlite3.

(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 182656 files and directories currently installed.)

Unpacking libaprutil1-dbd-sqlite3 (from .../libaprutil1-dbd-sqlite3_1.3.12+dfsg-2_i386.deb) ...

Selecting previously deselected package libaprutil1-ldap.

Unpacking libaprutil1-ldap (from .../libaprutil1-ldap_1.3.12+dfsg-2_i386.deb) ...

Selecting previously deselected package apache2.2-bin.

Unpacking apache2.2-bin (from .../apache2.2-bin_2.2.19-1ubuntu1_i386.deb) ...

Selecting previously deselected package apache2-utils.

Unpacking apache2-utils (from .../apache2-utils_2.2.19-1ubuntu1_i386.deb) ...

Selecting previously deselected package apache2.2-common.

Unpacking apache2.2-common (from .../apache2.2-common_2.2.19-1ubuntu1_i386.deb) ...

Selecting previously deselected package apache2-mpm-worker.

Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.19-1ubuntu1_i386.deb) ...

Selecting previously deselected package apache2.

Unpacking apache2 (from .../apache2_2.2.19-1ubuntu1_i386.deb) ...

Selecting previously deselected package dctrl-tools.

Unpacking dctrl-tools (from .../dctrl-tools_2.18ubuntu1_i386.deb) ...

Selecting previously deselected package deborphan.

Unpacking deborphan (from .../deborphan_1.7.28.5_i386.deb) ...

Selecting previously deselected package dialog.

Unpacking dialog (from .../dialog_1.1-20110707-1_i386.deb) ...

Selecting previously deselected package dlocate.

Unpacking dlocate (from .../archives/dlocate_1.02_all.deb) ...

Selecting previously deselected package libfile-ncopy-perl.

Unpacking libfile-ncopy-perl (from .../libfile-ncopy-perl_0.36-1_all.deb) ...

Selecting previously deselected package libmime-types-perl.

Unpacking libmime-types-perl (from .../libmime-types-perl_1.30-1_all.deb) ...

Selecting previously deselected package dwww.

Unpacking dwww (from .../archives/dwww_1.11.6_i386.deb) ...

Selecting previously deselected package info2www.

Unpacking info2www (from .../info2www_1.2.2.9-24_all.deb) ...

Selecting previously deselected package swish++.

Unpacking swish++ (from .../swish++_6.1.5-2_i386.deb) ...

Processing triggers for man-db ...

Processing triggers for ufw ...

Processing triggers for ureadahead ...

Processing triggers for menu ...

Processing triggers for gnome-menus ...

Processing triggers for desktop-file-utils ...

Processing triggers for bamfdaemon ...

Rebuilding /usr/share/applications/bamf.index...

Processing triggers for doc-base ...

Processing 1 added doc-base file...

Registering documents with dwww...

Registering documents with scrollkeeper...

Setting up apport (1.21.3-0ubuntu3) ...

SyntaxError: ("'continue' not properly in loop", ('/usr/share/apport/package-hooks/source_ubiquity.py', 30, None, 'continue\n'))

dpkg: error processing apport (--configure):

 subprocess installed post-installation script returned error exit status 101

dpkg: dependency problems prevent configuration of apport-gtk:

 apport-gtk depends on apport (>= 0.41); however:

  Package apport is not configured yet.

dpkg: error processing apport-gtk (--configure):

 dependency problems - leaving unconfigured

Setting up libaprutil1-dbd-sqlite3 (1.3.12+dfsg-2) ...

No apport report written because MaxReports is reached already
Setting up libaprutil1-ldap (1.3.12+dfsg-2) ...

Setting up apache2.2-bin (2.2.19-1ubuntu1) ...

Setting up apache2-utils (2.2.19-1ubuntu1) ...

Setting up apache2.2-common (2.2.19-1ubuntu1) ...

Enabling site default.

Enabling module alias.

Enabling module autoindex.

Enabling module dir.

Enabling module env.

Enabling module mime.

Enabling module negotiation.

Enabling module setenvif.

Enabling module status.

Enabling module auth_basic.

Enabling module deflate.

Enabling module authz_default.

Enabling module authz_user.

Enabling module authz_groupfile.

Enabling module authn_file.

Enabling module authz_host.

Enabling module reqtimeout.

Setting up apache2-mpm-worker (2.2.19-1ubuntu1) ...

 * Starting web server apache2

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

   ...done.

Setting up apache2 (2.2.19-1ubuntu1) ...

Setting up dctrl-tools (2.18ubuntu1) ...

Setting up deborphan (1.7.28.5) ...

Setting up dialog (1.1-20110707-1) ...

Setting up dlocate (1.02) ...

Setting up libfile-ncopy-perl (0.36-1) ...

Setting up libmime-types-perl (1.30-1) ...

Setting up dwww (1.11.6) ...

Creating config file /etc/dwww/dwww.conf with new version

 * Restarting web server apache2

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

 ... waiting .apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

   ...done.

Building dwww pages in the background...

Indexing documentation files in the background...

Setting up info2www (1.2.2.9-24) ...

Setting up swish++ (6.1.5-2) ...

Processing triggers for menu ...

Errors were encountered while processing:

 apport

 apport-gtk

Error in function:

SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)

Setting up apport (1.21.3-0ubuntu3) ...

SyntaxError: ("'continue' not properly in loop", ('/usr/share/apport/package-hooks/source_ubiquity.py', 30, None, 'continue\n'))

dpkg: error processing apport (--configure):

 subprocess installed post-installation script returned error exit status 101

dpkg: dependency problems prevent configuration of apport-gtk:

 apport-gtk depends on apport (>= 0.41); however:

  Package apport is not configured yet.

dpkg: error processing apport-gtk (--configure):

 dependency problems - leaving unconfigured

Errors were encountered while processing:

 apport

 apport-gtk

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: aptdaemon 0.43+bzr670-0ubuntu1
Uname: Linux 3.1.0-0301rc2-generic i686
Architecture: i386
Date: Wed Aug 17 21:55:52 2011
ExecutablePath: /usr/sbin/aptd
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110816)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/aptd
ProcEnviron:

PythonArgs: ['/usr/sbin/aptd']
SourcePackage: aptdaemon
Title: aptd crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Traceback: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #799982, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
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.