package update-manager 1:0.95.1 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg exited unexpectedly

Bug #299699 reported by tdflanders
10
Affects Status Importance Assigned to Milestone
chillispot (Ubuntu)
Expired
Undecided
Unassigned
update-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

While upgrading to jaunty ...

root@thomas-laptop:/home/thomas# update-manager -c -d
extracting 'jaunty.tar.gz'
authenticate 'jaunty.tar.gz' against 'jaunty.tar.gz.gpg'
^Z
[1]+ Stopped update-manager -c -d
root@thomas-laptop:/home/thomas# update-manager -c -d
root@thomas-laptop:/home/thomas# pidof apt
root@thomas-laptop:/home/thomas# pidof apt-get
root@thomas-laptop:/home/thomas# pidof dpkg
11397
root@thomas-laptop:/home/thomas# kill -9 11397
root@thomas-laptop:/home/thomas#

thomas@thomas-laptop:~$ lsb_release -rd ; uname -a ; apt-cache policy linux update-manager dpkg gnome-terminal
Description: Ubuntu jaunty (development branch)
Release: 9.04
Linux thomas-laptop 2.6.27-8-generic #1 SMP Thu Nov 6 17:33:54 UTC 2008 i686 GNU/Linux
linux:
  Installed: 2.6.27.8.12
  Candidate: 2.6.27.8.12
  Version table:
 *** 2.6.27.8.12 0
        100 /var/lib/dpkg/status
     2.6.27.7.11 0
        500 http://ftp.heanet.ie jaunty/restricted Packages
update-manager:
  Installed: 1:0.95.1
  Candidate: 1:0.95.1
  Version table:
 *** 1:0.95.1 0
        500 http://ftp.heanet.ie jaunty/main Packages
        100 /var/lib/dpkg/status
dpkg:
  Installed: 1.14.22ubuntu1
  Candidate: 1.14.22ubuntu1
  Version table:
 *** 1.14.22ubuntu1 0
        500 http://ftp.heanet.ie jaunty/main Packages
        100 /var/lib/dpkg/status
gnome-terminal:
  Installed: 2.24.1.1-0ubuntu2
  Candidate: 2.24.1.1-0ubuntu2
  Version table:
 *** 2.24.1.1-0ubuntu2 0
        500 http://ftp.heanet.ie jaunty/main Packages
        100 /var/lib/dpkg/status
thomas@thomas-laptop:~$

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg exited unexpectedly

Package: update-manager 1:0.95.1
PackageArchitecture: all
SourcePackage: update-manager
Title: package update-manager 1:0.95.1 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg exited unexpectedly
Uname: Linux 2.6.27-8-generic i686

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :

Hi, the problem package seems to be chillispot:

root@thomas-laptop:/home/thomas# dpkg --configure -a ; apt-get -fmy --force-yes --fix-missing install ; apt-get -fmy --force-yes --fix-missing update ; apt-get -fmy --force-yes --fix-missing upgrade ; apt-get -fmy --force-yes --fix-missing dist-upgrade ; dpkg --configure -a ; apt-get -fmy --force-yes --fix-missing install ; apt-get -fmy --force-yes --fix-missing update ; apt-get -fmy --force-yes --fix-missing upgrade ; apt-get -fmy --force-yes --fix-missing dist-upgrade
Setting up chillispot (1.0-10) ...

another error I got was fail to build dependencies of libpam-runtime

I cannot finish dpkg --configure -a nor dpkg-reconfigure -aup low. It freezes up at package chillispot.

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 205473, so it 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. Feel free to continue to report any other bugs you may find.

Changed in update-manager:
status: New → Confirmed
Revision history for this message
tdflanders (thomasdelbeke) wrote :

Hi Jean,

This is not correct. Chillispot 1.0-8 does install correctly, I had it installed in Intrepid. This bug occured while upgrading to 9.04 on a functional and fully updated 8.10, with: 'root# update-manager -c -d'.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

unset duplicate due to latest comment and setting back to new. However I can't reproduce this error.

Changed in chillispot:
status: Confirmed → New
Changed in update-manager:
status: New → Invalid
Revision history for this message
tdflanders (thomasdelbeke) wrote :

Thanks Jean,

I could not find this bug report again, go figure ... Therefor I reopened the bug report of Roger, as it was rather similar I tought: Bug #254238. You may want to correct this. I reproduced this in VirtualBox 2.4. I will now attach a Valgrind log, this describes the error I hope (see below).

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Both my Valgrind logs are empty. However, gdb indicated a memory error. I will attach the gdb report here too, although it was unsuccesful. It indicates a problem within gdb and I created a CoreDump, see report. Where is that coredump? No apport-gtk crash report was generated.

Revision history for this message
tdflanders (thomasdelbeke) wrote :

OK, so this is my problem: the upgrade process hangs eternally at chillispot postinstall. I have to kill -9 the pid of update-manager. After that I cannot sudo apt-get remove chillispot:

root# apt-get remove chillispot

/var/lib/dpkg/lock unable to open lock (or something)

you must run dpkg --configure -a manually

When I do that:

/var/lib/dpkg/lock ... (as above)

the trick is: root# kill -9 'pidof jaunty'

When I run update-manager -c -d in Intrepid it says: downloading upgrading tool (2 files)

I take it this is 'jaunty'?

Please refer me to the debug symbols, thank you!

thomas@ubuntu:~$ apt-get source jaunty
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for jaunty
thomas@ubuntu:~$ sudo apt-get install jaunty
[sudo] password for thomas:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package jaunty
thomas@ubuntu:~$ sudo apt-get build-dep jaunty
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for jaunty
thomas@ubuntu:~$ apt-cache search jaunty
thomas@ubuntu:~$

Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@ubuntu:~$ apt-get source gnome-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
Need to get 20.4kB of source archives.
Get: 1 http://archive.ubuntu.com jaunty/universe meta-gnome2 1:2.22.2~4ubuntu2 (dsc) [1183B]
Get: 2 http://archive.ubuntu.com jaunty/universe meta-gnome2 1:2.22.2~4ubuntu2 (tar) [19.2kB]
Fetched 20.4kB in 1s (17.4kB/s)
gpg: Signature made Sun 28 Sep 2008 00:31:55 BST using DSA key ID 4A08B2FE
gpg: Can't check signature: public key not found
dpkg-source: extracting meta-gnome2 in meta-gnome2-2.22.2~4ubuntu2
dpkg-source: info: unpacking meta-gnome2_2.22.2~4ubuntu2.tar.gz
thomas@ubuntu:~$ sudo apt-get install gnome-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnome-dbg is already the newest version.
The following packages were automatically installed and are no longer required:
  libstrigiqtdbusclient0 libqimageblitz4 lsb-languages libtheora-dev
  libbluetooth-dev djvulibre-desktop libkeyutils-dev x11proto-xf86misc-dev
  freeradius-common libnm-util-dev libsoprano-dev libdc1394-22-dev phonon
  libstreams-dev kdebase-workspace-libs4+5 libtsmux0 python-sip4-dev
  librasqal0 libcaptury-dev libglide2 libcucul-dev sip4 libxxf86misc-dev
  libstrigiqtdbusclient-dev libtspi1 libakonadiprivate1 libphonon-dev
  python-kde4-dev libpth-dev python-xml freeradius-utils libc-client2007b
  python-qt4-dev libraw1394-dev phonon-backend-gstreamer lsb-multimedia
  libgpgme11-dev kdepimlibs5 libfreeradius2 libqimageblitz-dev lsb-printing
  libdb4.4 libmono-system-runtime1.0-cil libmono-relaxng1.0-cil libpam0g-dev
  libimlib2 network-manager-dev freeradius libgsm1-dev libstreamanalyzer-dev
  libsensors-dev kdepimlibs-data libnet0 libcapseo-dev python-kde4
  libxkbfile-dev
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
thomas@ubuntu:~$ sudo apt-get build-dep gnome-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
thomas@ubuntu:~$ apt-cache search update-manager | grep "dbg"
thomas@ubuntu:~$

Revision history for this message
tdflanders (thomasdelbeke) wrote :

I have now removed chillispot and will try to continue the upgrade. Please refer me to the correct dbg or dbgsym, so I can do a Backtrace.

Thanks.

Thomas

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Cool,

I am now running Jaunty ... Valgrind log is empty. Please confirm the chillispot bug.

Thanks,

Thomas

root@ubuntu:~# apt-get remove chillispot
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libstrigiqtdbusclient0 libqimageblitz4 lsb-languages libtheora-dev libbluetooth-dev djvulibre-desktop libkeyutils-dev x11proto-xf86misc-dev freeradius-common libnm-util-dev
  libsoprano-dev libdc1394-22-dev phonon libstreams-dev kdebase-workspace-libs4+5 libtsmux0 python-sip4-dev librasqal0 libcaptury-dev libglide2 libcucul-dev sip4
  libxxf86misc-dev libstrigiqtdbusclient-dev libtspi1 libakonadiprivate1 libphonon-dev python-kde4-dev libpth-dev python-xml freeradius-utils libc-client2007b python-qt4-dev
  libraw1394-dev phonon-backend-gstreamer lsb-multimedia libgpgme11-dev kdepimlibs5 libfreeradius2 libqimageblitz-dev lsb-printing libdb4.4 libmono-system-runtime1.0-cil
  libmono-relaxng1.0-cil libpam0g-dev libimlib2 network-manager-dev freeradius libgsm1-dev libstreamanalyzer-dev libsensors-dev kdepimlibs-data libnet0 libcapseo-dev
  python-kde4 libxkbfile-dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
  chillispot
0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
After this operation, 348kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 355039 files and directories currently installed.)
Removing chillispot ...
Chillispot captive portal: disabled, see /etc/default/chillispot
Processing triggers for man-db ...
root@ubuntu:~# rm valgrind.log*
rm: cannot remove `valgrind.log*': No such file or directory
root@ubuntu:~# rm valgrind.log.*
rm: cannot remove `valgrind.log.*': No such file or directory
root@ubuntu:~# rm valgrind*log*
rm: cannot remove `valgrind*log*': No such file or directory
root@ubuntu:~# rm /home/thomas/valgrind*log*
root@ubuntu:~# rm /home/thomas/valgrind*log*
rm: cannot remove `/home/thomas/valgrind*log*': No such file or directory
root@ubuntu:~# G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=valgrind.log update-manager -c -d
/usr/bin/python2.5: can't open file 'update-manager': [Errno 2] No such file or directory
root@ubuntu:~# rm /home/thomas/valgrind*log*
rm: cannot remove `/home/thomas/valgrind*log*': No such file or directory
root@ubuntu:~# rm valgrind*log*
root@ubuntu:~# rm valgrind*log*
rm: cannot remove `valgrind*log*': No such file or directory
root@ubuntu:~# G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=/home/thomas/valgrind.log /usr/bin/update-manager -c -d
root@ubuntu:~#

Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@ubuntu:~$ lsb_release -rd ; uname -a ; apt-cache policy linux linux-source aptoncd update-manager apport-gtk gnome-terminal chillispot ; hwinfo +all --log log=hwinfo_log
Description: Ubuntu jaunty (development branch)
Release: 9.04
Linux ubuntu 2.6.27-8-generic #1 SMP Thu Nov 6 17:33:54 UTC 2008 i686 GNU/Linux
linux:
  Installed: 2.6.27.8.12
  Candidate: 2.6.27.8.12
  Version table:
 *** 2.6.27.8.12 0
        100 /var/lib/dpkg/status
     2.6.27.7.11 0
        500 http://archive.ubuntu.com jaunty/restricted Packages
linux-source:
  Installed: 2.6.27.8.12
  Candidate: 2.6.27.8.12
  Version table:
 *** 2.6.27.8.12 0
        100 /var/lib/dpkg/status
     2.6.27.7.11 0
        500 http://archive.ubuntu.com jaunty/main Packages
aptoncd:
  Installed: 0.1.98-0ubuntu4
  Candidate: 0.1.98-0ubuntu4
  Version table:
 *** 0.1.98-0ubuntu4 0
        100 /var/lib/dpkg/status
     0.1.98-0ubuntu3 0
        500 http://archive.ubuntu.com jaunty/universe Packages
update-manager:
  Installed: 1:0.95.1
  Candidate: 1:0.95.1
  Version table:
 *** 1:0.95.1 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
apport-gtk:
  Installed: 0.119
  Candidate: 0.119
  Version table:
 *** 0.119 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
gnome-terminal:
  Installed: 2.24.1.1-0ubuntu2
  Candidate: 2.24.1.1-0ubuntu2
  Version table:
 *** 2.24.1.1-0ubuntu2 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
chillispot:
  Installed: (none)
  Candidate: 1.0-10
  Version table:
     1.0-10 0
        500 http://archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status
thomas@ubuntu:~$

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :

OK,

The upgrade to jaunty worked and see the apt-log file for installed packages. Unfortunately I still have a huge lot of errors in the jaunty virtual machine, as is to be expected when you have a 2.7 GB aptoncd installed.

Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@thomas-laptop:~$ lsb_release -rd ; uname -a ; apt-cache policy linux virtualbox-2.0 tasksel
Description: Ubuntu 8.10
Release: 8.10
Linux thomas-laptop 2.6.27-8-generic #1 SMP Thu Nov 6 17:33:54 UTC 2008 i686 GNU/Linux
linux:
  Installed: (none)
  Candidate: 2.6.27.8.12
  Version table:
     2.6.27.8.12 0
        500 http://gb.archive.ubuntu.com intrepid-proposed/restricted Packages
     2.6.27.7.11 0
        500 http://gb.archive.ubuntu.com intrepid/restricted Packages
virtualbox-2.0:
  Installed: 2.0.4-38406_Ubuntu_intrepid
  Candidate: 2.0.4-38406_Ubuntu_intrepid
  Version table:
 *** 2.0.4-38406_Ubuntu_intrepid 0
        100 /var/lib/dpkg/status
tasksel:
  Installed: 2.73ubuntu11
  Candidate: 2.73ubuntu11
  Version table:
 *** 2.73ubuntu11 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
thomas@thomas-laptop:~$

Revision history for this message
tdflanders (thomasdelbeke) wrote :

gedit /etc/default/chillispot

# /etc/default/chillispot
#
# Enable on system start?
# Change to 1 if you want it to be enabled.
# Please make sure you have configured chillispot first.
ENABLED=0
#
# chillispot default configuration
CHILLICFG=/etc/chilli.conf
#
# daemon arguments
DAEMON_ARGS="--conf $CHILLICFG"

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (7.2 KiB)

##############################################################################
#
# Sample ChilliSpot configuration file
#
##############################################################################

# TAG: fg
# Include this flag if process is to run in the foreground
#fg

# TAG: debug
# Include this flag to include debug information.
#debug

# TAG: interval
# Re-read configuration file at this interval. Will also cause new domain
# name lookups to be performed. Value is given in seconds.
#interval 3600

# TAG: pidfile
# File to store information about the process id of the program.
# The program must have write access to this file/directory.
#pidfile /var/run/chilli.pid

# TAG: statedir
# Directory to use for nonvolatile storage.
# The program must have write access to this directory.
# This tag is currently ignored
#statedir ./

# TUN parameters

# TAG: net
# IP network address of external packet data network
# Used to allocate dynamic IP addresses and set up routing.
# Normally you do not need to uncomment this tag.
#net 192.168.182.0/24

# TAG: dynip
# Dynamic IP address pool
# Used to allocate dynamic IP addresses to clients.
# If not set it defaults to the net tag.
# Do not uncomment this tag unless you are an experienced user!
#dynip 192.168.182.0/24

# TAG: statip
# Static IP address pool
# Used to allocate static IP addresses to clients.
# Do not uncomment this tag unless you are an experienced user!
#statip 192.168.182.0/24

# TAG: dns1
# Primary DNS server.
# Will be suggested to the client.
# If omitted the system default will be used.
# Normally you do not need to uncomment this tag.
#dns1 172.16.0.5

# TAG: dns2
# Secondary DNS server.
# Will be suggested to the client.
# If omitted the system default will be used.
# Normally you do not need to uncomment this tag.
#dns2 172.16.0.6

# TAG: domain
# Domain name
# Will be suggested to the client.
# Normally you do not need to uncomment this tag.
#domain key.chillispot.org

# TAG: ipup
# Script executed after network interface has been brought up.
# Executed with the following parameters: <devicename> <ip address>
# <mask>
# Normally you do not need to uncomment this tag.
#ipup /etc/chilli.ipup

# TAG: ipdown
# Script executed after network interface has been taken down.
# Executed with the following parameters: <devicename> <ip address>
# <mask>
# Normally you do not need to uncomment this tag.
#ipdown /etc/chilli.ipdown

# Radius parameters

# TAG: radiuslisten
# IP address to listen to
# Normally you do not need to uncomment this tag.
#radiuslisten 127.0.0.1

# TAG: radiusserver1
# IP address of radius server 1
# For most installations you need to modify this tag.
radiusserver1

# TAG: radiusserver2
# IP address of radius server 2
# If you have only one radius server you should set radiusserver2 to the
# same value as radiusserver1.
# For most installations you need to modify this tag.
radiusserver2

# TAG: radiusauthport
# Radius authentication port
# The UDP port number to use for radius authentication requests.
# The same port number is used for both radiusserver1 and radiusserver2.
# Normally you do not need to uncomment this tag.
#radiusauthport 1812

# TAG: radiusac...

Read more...

Revision history for this message
tdflanders (thomasdelbeke) wrote :

This problem still persists:

[...]

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

Chillispot captive portal: disabled, see /etc/default/chillispot
^Z
[1]+ Stopped dpkg-reconfigure -au
root@thomas-laptop:/home/thomas# gedit /etc/chilli.conf
root@thomas-laptop:/home/thomas# apt-get remove chillispot
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kernel-wedge xmlto
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
  chillispot
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 348kB disk space will be freed.
Do you want to continue [Y/n]? y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 454845 files and directories currently installed.)
Removing chillispot ...
Chillispot captive portal: disabled, see /etc/default/chillispot
Processing triggers for man-db ...
root@thomas-laptop:/home/thomas# lsb_release -rd ; uname -a ; apt-cache policy linux chillispot
Description: Ubuntu jaunty (development branch)
Release: 9.04
Linux thomas-laptop 2.6.27-9-generic #1 SMP Tue Nov 18 08:14:48 UTC 2008 i686 GNU/Linux
linux:
  Installed: 2.6.27.8.12
  Candidate: 2.6.27.8.12
  Version table:
 *** 2.6.27.8.12 0
        500 cdrom://[APTonCD for ubuntu jaunty - i386 (2008-11-28 22:42) DVD1] Packages
        100 /var/lib/dpkg/status
     2.6.27.7.11 0
        500 http://archive.ubuntu.com jaunty/restricted Packages
chillispot:
  Installed: (none)
  Candidate: 1.0-10
  Version table:
     1.0-10 0
        500 cdrom://[APTonCD for ubuntu jaunty - i386 (2008-11-28 22:42) DVD1] Packages
        500 http://archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status
root@thomas-laptop:/home/thomas#

tags: added: dist-upgrade
Changed in chillispot (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for chillispot (Ubuntu) because there has been no activity for 60 days.]

Changed in chillispot (Ubuntu):
status: Incomplete → Expired
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.