[Pkg-openssl-devel] Bug#480653: libssl0.9.8: Hangs while in postinst

Sam Morris sam at robots.org.uk
Sun May 11 11:33:58 UTC 2008


Package: libssl0.9.8
Version: 0.9.8g-10
Severity: critical
Justification: breaks the whole system

aptitude appeared to hang while doing an upgrade:

# aptitude upgrade
W: The "upgrade" command is deprecated; use "safe-upgrade" instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
The following packages will be REMOVED:
  libapp-cli-perl{u} libclass-data-inheritable-perl{u} libfile-spec-perl{u} 
  libpath-class-perl{u} libuniversal-require-perl{u} libyaml-syck-perl{u} 
The following packages will be upgraded:
  debian-archive-keyring debootstrap gtk2-engines-pixbuf libdirectfb-1.0-0 
  libdirectfb-dev libdirectfb-extra libglib2.0-doc libgtk2.0-0 
  libgtk2.0-0-dbg libgtk2.0-bin libgtk2.0-common libgtk2.0-dev 
  libgtk2.0-doc liblzo2-2 liblzo2-dev libpixman-1-0 libpixman-1-dev 
  libssl-dev libssl0.9.8 libwine libwine-alsa libwine-cms libwine-gl 
  libwine-gphoto2 libwine-ldap libwine-print libwine-sane openssl 
  python-debian ttf-dejavu ttf-dejavu-core ttf-dejavu-extra wine wine-bin 
  wine-utils xkb-data 
36 packages upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
Need to get 58.9MB of archives. After unpacking 713kB will be freed.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
Get:1 http://ftp.uk.debian.org lenny/main debian-archive-keyring 2008.04.16+nmu1 [10.8kB]
Get:2 http://ftp.uk.debian.org lenny/main liblzo2-2 2.03-1 [61.5kB]
Get:3 http://ftp.uk.debian.org lenny/main libssl-dev 0.9.8g-10 [2089kB]
Get:4 http://ftp.uk.debian.org lenny/main libssl0.9.8 0.9.8g-10 [2900kB]        
Get:5 http://ftp.uk.debian.org lenny/main libgtk2.0-common 2.12.9-3 [5371kB]    
Get:6 http://ftp.uk.debian.org lenny/main libgtk2.0-dev 2.12.9-3 [2789kB]       
Get:7 http://ftp.uk.debian.org lenny/main libgtk2.0-0-dbg 2.12.9-3 [9436kB]     
Get:8 http://ftp.uk.debian.org lenny/main gtk2-engines-pixbuf 2.12.9-3 [316kB]  
Get:9 http://ftp.uk.debian.org lenny/main libgtk2.0-0 2.12.9-3 [2063kB]         
Get:10 http://ftp.uk.debian.org lenny/main libdirectfb-extra 1.0.1-8 [29.3kB]   
Get:11 http://ftp.uk.debian.org lenny/main libdirectfb-dev 1.0.1-8 [763kB]      
Get:12 http://ftp.uk.debian.org lenny/main libdirectfb-1.0-0 1.0.1-8 [1133kB]   
Get:13 http://ftp.uk.debian.org lenny/main libglib2.0-doc 2.16.3-2 [1176kB]     
Get:14 http://ftp.uk.debian.org lenny/main libgtk2.0-bin 2.12.9-3 [136kB]       
Get:15 http://ftp.uk.debian.org lenny/main libgtk2.0-doc 2.12.9-3 [3395kB]      
Get:16 http://ftp.uk.debian.org lenny/main liblzo2-dev 2.03-1 [146kB]           
Get:17 http://ftp.uk.debian.org lenny/main libpixman-1-dev 0.10.0-2 [86.1kB]    
Get:18 http://ftp.uk.debian.org lenny/main libpixman-1-0 0.10.0-2 [71.0kB]      
Get:19 http://ftp.uk.debian.org unstable/main wine 1.0-rc1-1 [945kB]            
Get:20 http://ftp.uk.debian.org unstable/main wine-utils 1.0-rc1-1 [1460kB]     
Get:21 http://ftp.uk.debian.org unstable/main wine-bin 1.0-rc1-1 [1776kB]       
Get:22 http://ftp.uk.debian.org unstable/main libwine-alsa 1.0-rc1-1 [1001kB]   
Get:23 http://ftp.uk.debian.org unstable/main libwine-gl 1.0-rc1-1 [1281kB]     
Get:24 http://ftp.uk.debian.org unstable/main libwine-print 1.0-rc1-1 [1058kB]  
Get:25 http://ftp.uk.debian.org unstable/main libwine-sane 1.0-rc1-1 [960kB]    
Get:26 http://ftp.uk.debian.org unstable/main libwine-cms 1.0-rc1-1 [961kB]     
Get:27 http://ftp.uk.debian.org unstable/main libwine-gphoto2 1.0-rc1-1 [963kB] 
Get:28 http://ftp.uk.debian.org unstable/main libwine-ldap 1.0-rc1-1 [1008kB]   
Get:29 http://ftp.uk.debian.org unstable/main libwine 1.0-rc1-1 [9454kB]        
Get:30 http://ftp.uk.debian.org lenny/main openssl 0.9.8g-10 [1009kB]           
Get:31 http://ftp.uk.debian.org lenny/main python-debian 0.1.10 [44.3kB]        
Get:32 http://ftp.uk.debian.org lenny/main ttf-dejavu-core 2.24-2 [1351kB]      
Get:33 http://ftp.uk.debian.org lenny/main ttf-dejavu-extra 2.24-2 [2952kB]     
Get:34 http://ftp.uk.debian.org lenny/main ttf-dejavu 2.24-2 [24.8kB]           
Get:35 http://ftp.uk.debian.org lenny/main debootstrap 1.0.9 [51.8kB]           
Get:36 http://ftp.uk.debian.org lenny/main xkb-data 1.2~cvs.20080501.1-1 [656kB]
Fetched 58.9MB in 10min34s (92.9kB/s)                                           
Reading changelogs...
apt-listchanges: Mailing root: apt-listchanges: changelogs for xerces
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 314010 files and directories currently installed.)
Removing libapp-cli-perl ...
Removing libclass-data-inheritable-perl ...
Removing libfile-spec-perl ...
Removing libpath-class-perl ...
Removing libuniversal-require-perl ...
Removing libyaml-syck-perl ...
(Reading database ... 313921 files and directories currently installed.)
Preparing to replace debian-archive-keyring 2007.07.31 (using .../debian-archive-keyring_2008.04.16+nmu1_all.deb) ...
Unpacking replacement debian-archive-keyring ...
Setting up debian-archive-keyring (2008.04.16+nmu1) ...
gpg: key 6070D3A1: "Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster at debian.org>" not changed
gpg: key ADB11277: "Etch Stable Release Key <debian-release at lists.debian.org>" not changed
gpg: key BBE55AB3: "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" not changed
gpg: key F42584E6: public key "Lenny Stable Release Key <debian-release at lists.debian.org>" imported
gpg: Total number processed: 4
gpg:               imported: 1
gpg:              unchanged: 3
gpg: no ultimately trusted keys found
(Reading database ... 313921 files and directories currently installed.)
Preparing to replace liblzo2-2 2.02-3 (using .../liblzo2-2_2.03-1_i386.deb) ...
Unpacking replacement liblzo2-2 ...
Preparing to replace libssl-dev 0.9.8g-8 (using .../libssl-dev_0.9.8g-10_i386.deb) ...
Unpacking replacement libssl-dev ...
Preparing to replace libssl0.9.8 0.9.8g-8 (using .../libssl0.9.8_0.9.8g-10_i386.deb) ...
Unpacking replacement libssl0.9.8 ...
Preparing to replace libgtk2.0-common 2.12.9-2 (using .../libgtk2.0-common_2.12.9-3_all.deb) ...
Unpacking replacement libgtk2.0-common ...
Preparing to replace libgtk2.0-dev 2.12.9-2 (using .../libgtk2.0-dev_2.12.9-3_i386.deb) ...
Unpacking replacement libgtk2.0-dev ...
Preparing to replace libgtk2.0-0-dbg 2.12.9-2 (using .../libgtk2.0-0-dbg_2.12.9-3_i386.deb) ...
Unpacking replacement libgtk2.0-0-dbg ...
Preparing to replace gtk2-engines-pixbuf 2.12.9-2 (using .../gtk2-engines-pixbuf_2.12.9-3_i386.deb) ...
Unpacking replacement gtk2-engines-pixbuf ...
Preparing to replace libgtk2.0-0 2.12.9-2 (using .../libgtk2.0-0_2.12.9-3_i386.deb) ...
Unpacking replacement libgtk2.0-0 ...
Preparing to replace libdirectfb-extra 1.0.1-7 (using .../libdirectfb-extra_1.0.1-8_i386.deb) ...
Unpacking replacement libdirectfb-extra ...
Preparing to replace libdirectfb-dev 1.0.1-7 (using .../libdirectfb-dev_1.0.1-8_i386.deb) ...
Unpacking replacement libdirectfb-dev ...
Preparing to replace libdirectfb-1.0-0 1.0.1-7 (using .../libdirectfb-1.0-0_1.0.1-8_i386.deb) ...
Unpacking replacement libdirectfb-1.0-0 ...
Preparing to replace libglib2.0-doc 2.16.1-2 (using .../libglib2.0-doc_2.16.3-2_all.deb) ...
Unpacking replacement libglib2.0-doc ...
Preparing to replace libgtk2.0-bin 2.12.9-2 (using .../libgtk2.0-bin_2.12.9-3_all.deb) ...
Unpacking replacement libgtk2.0-bin ...
Preparing to replace libgtk2.0-doc 2.12.9-2 (using .../libgtk2.0-doc_2.12.9-3_all.deb) ...
Unpacking replacement libgtk2.0-doc ...
Preparing to replace liblzo2-dev 2.02-3 (using .../liblzo2-dev_2.03-1_i386.deb) ...
Unpacking replacement liblzo2-dev ...
Preparing to replace libpixman-1-dev 0.10.0-1 (using .../libpixman-1-dev_0.10.0-2_i386.deb) ...
Unpacking replacement libpixman-1-dev ...
Preparing to replace libpixman-1-0 0.10.0-1 (using .../libpixman-1-0_0.10.0-2_i386.deb) ...
Unpacking replacement libpixman-1-0 ...
Preparing to replace wine 0.9.61-2 (using .../wine_1.0-rc1-1_i386.deb) ...
Unpacking replacement wine ...
Preparing to replace wine-utils 0.9.61-2 (using .../wine-utils_1.0-rc1-1_i386.deb) ...
Unpacking replacement wine-utils ...
Preparing to replace wine-bin 0.9.61-2 (using .../wine-bin_1.0-rc1-1_i386.deb) ...
Unpacking replacement wine-bin ...
Preparing to replace libwine-alsa 0.9.61-2 (using .../libwine-alsa_1.0-rc1-1_i386.deb) ...
Unpacking replacement libwine-alsa ...
Preparing to replace libwine-gl 0.9.61-2 (using .../libwine-gl_1.0-rc1-1_i386.deb) ...
Unpacking replacement libwine-gl ...
Preparing to replace libwine-print 0.9.61-2 (using .../libwine-print_1.0-rc1-1_i386.deb) ...
Unpacking replacement libwine-print ...
Preparing to replace libwine-sane 0.9.61-2 (using .../libwine-sane_1.0-rc1-1_i386.deb) ...
Unpacking replacement libwine-sane ...
Preparing to replace libwine-cms 0.9.61-2 (using .../libwine-cms_1.0-rc1-1_i386.deb) ...
Unpacking replacement libwine-cms ...
Preparing to replace libwine-gphoto2 0.9.61-2 (using .../libwine-gphoto2_1.0-rc1-1_i386.deb) ...
Unpacking replacement libwine-gphoto2 ...
Preparing to replace libwine-ldap 0.9.61-2 (using .../libwine-ldap_1.0-rc1-1_i386.deb) ...
Unpacking replacement libwine-ldap ...
Preparing to replace libwine 0.9.61-2 (using .../libwine_1.0-rc1-1_i386.deb) ...
Unpacking replacement libwine ...
Preparing to replace openssl 0.9.8g-8 (using .../openssl_0.9.8g-10_i386.deb) ...
Unpacking replacement openssl ...
Preparing to replace python-debian 0.1.9 (using .../python-debian_0.1.10_all.deb) ...
Unpacking replacement python-debian ...
Preparing to replace ttf-dejavu-core 2.23-1 (using .../ttf-dejavu-core_2.24-2_all.deb) ...
Unpacking replacement ttf-dejavu-core ...
Preparing to replace ttf-dejavu-extra 2.23-1 (using .../ttf-dejavu-extra_2.24-2_all.deb) ...
Unpacking replacement ttf-dejavu-extra ...
Preparing to replace ttf-dejavu 2.23-1 (using .../ttf-dejavu_2.24-2_all.deb) ...
Unpacking replacement ttf-dejavu ...
Preparing to replace debootstrap 1.0.8 (using .../debootstrap_1.0.9_all.deb) ...
Unpacking replacement debootstrap ...
Preparing to replace xkb-data 1.1~cvs.20080104.1-1 (using .../xkb-data_1.2~cvs.20080501.1-1_all.deb) ...
Unpacking replacement xkb-data ...
Processing triggers for doc-base ...
Processing 8 changed doc-base file(s)...
Registering documents with dwww...
Registering documents with scrollkeeper...
Setting up liblzo2-2 (2.03-1) ...
Setting up libssl0.9.8 (0.9.8g-10) ...
Checking for services that may need to be restarted...done.
Checking init scripts...
Restarting services possibly affected by the upgrade:
Stopping NTP server: ntpd.
Starting NTP server: ntpd.
Stopping MTA for restart: exim4_listener.
Restarting MTA:exim: incompatible command-line options or arguments
invoke-rc.d: initscript exim4, action "restart" failed.
Restarting OpenBSD Secure Shell server: sshd.

... no further output. ssh was successfully restarted (according to 'ps
u' which indicates the process' start time as being a few minutes ago).

$ pstree -p 7520 -ua
aptitude,7520 upgrade
  ├─dpkg,8443 --status-fd 42 --configure liblzo2-2 libssl0.9.8 libssl-devlibgtk
  │   └─frontend,8446 -w /usr/share/debconf/frontend...
  │       └─libssl0.9.8.pos,8456 /var/lib/dpkg/info/libssl0.9.8.postinst ...
  └─{aptitude},7522

I can no longer run apt-get:

# apt-get check
apt-get: /usr/lib/debug/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by apt-get)
apt-get: /usr/lib/debug/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/libapt-pkg-libc6.7-6.so.4.6)

Though maybe this will resolve itself if I were to abort libssl0.9.8's
postinst so that aptitude can continue the upgrade. Anyway I've not
touched anything so let me know if you need any extra debug info!

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libssl0.9.8 depends on:
ii  debconf [debconf-2.0]  1.5.21            Debian configuration management sy
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

libssl0.9.8 recommends no packages.

-- debconf information:
  libssl0.9.8/restart-failed:
* libssl0.9.8/restart-services: ntp exim4 ssh





More information about the Pkg-openssl-devel mailing list