package openssl 0.9.8g-16ubuntu3.1 failed to install/upgrade: failed in buffer_read(fd): md5hash

Bug #557641 reported by NoOp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssl (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: openssl

Possibly related to #507538 however I do not get the /usr/share error.

ProblemType: Package
Architecture: i386
Date: Wed Apr 7 14:00:52 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: failed in buffer_read(fd): md5hash
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: openssl 0.9.8g-16ubuntu3.1
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: openssl
Title: package openssl 0.9.8g-16ubuntu3.1 failed to install/upgrade: failed in buffer_read(fd): md5hash
Uname: Linux 2.6.31-17-generic i686

Revision history for this message
NoOp (glgxg) wrote :
Revision history for this message
NoOp (glgxg) wrote :
Download full text (3.5 KiB)

Added info:

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up openssl (0.9.8g-16ubuntu3.1) ...
dpkg: error processing openssl (--configure):
 failed in buffer_read(fd): md5hash: Input/output error
Errors were encountered while processing:
 openssl
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ sudo dpkg --configure -a
Setting up openssl (0.9.8g-16ubuntu3.1) ...
dpkg: error processing openssl (--configure):
 failed in buffer_read(fd): md5hash: Input/output error
Errors were encountered while processing:
 openssl

$ sudo apt-get purge openssl
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.31-14 fakeroot libsdl-ttf2.0-0 dkms patch
  linux-headers-2.6.31-14-generic
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  apt-transport-https* apturl* bluez-cups* ca-certificates* computer-janitor*
  computer-janitor-gtk* couchdb-bin* cups* cups-driver-gutenprint* cups-pdf*
  desktopcouch* evolution-couchdb* foo2zjs* foomatic-db* foomatic-db-engine*
  ghostscript-cups* gnupg* hpijs* hplip* kerneloops-daemon*
  language-support-en* language-support-writing-en* libcurl3* libcurl3-gnutls*
  libgpgme11* libraptor1* librasqal1* librdf0* openoffice.org*
  openoffice.org-base* openoffice.org-base-core* openoffice.org-calc*
  openoffice.org-core* openoffice.org-draw* openoffice.org-emailmerge*
  openoffice.org-filter-binfilter* openoffice.org-gnome* openoffice.org-gtk*
  openoffice.org-help-en-us* openoffice.org-hyphenation-en-us*
  openoffice.org-impress* openoffice.org-math* openoffice.org-officebean*
  openoffice.org-report-builder-bin* openoffice.org-thesaurus-en-us*
  openoffice.org-writer* openprinting-ppds* openssl* pxljr*
  python-desktopcouch* python-desktopcouch-records* python-gnupginterface*
  python-software-properties* python-uno* raptor-utils* redland-utils*
  seahorse* seahorse-plugins* software-properties-gtk* splix* ssl-cert*
  transmission-gtk* ubufox* ubuntu-desktop* ubuntu-keyring* ubuntu-minimal*
  update-manager* update-manager-core* update-notifier* virtualbox-3.0*
0 upgraded, 0 newly installed, 70 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 428MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.

$ apt-cache policy openssl
openssl:
  Installed: 0.9.8g-16ubuntu3.1
  Candidate: 0.9.8g-16ubuntu3.1
  Version table:
 *** 0.9.8g-16ubuntu3.1 0
        500 http://archive.ubuntu.com karmic-updates/main Packages
        500 http://archive.ubuntu.com karmic-security/main Packages
        100 /var/lib/dpkg/status
     0.9.8g-16ubuntu3 0
        500 http://archive.ubuntu.com karmic/main Packages

$ sudo apt-get install --reinstall openssl
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1...

Read more...

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. It seems that there was an error caused by a corrupted archive. Please execute the following commands, as it will clear your package cache, in a terminal ( Applications -> Accessories -> Terminal ) :

sudo apt-get clean
sudo apt-get update

Then try performing the update again. This will likely resolve your issue. If so please set the bug's status to Invalid. Thanks in advance!

Changed in openssl (Ubuntu):
status: New → Incomplete
Revision history for this message
NoOp (glgxg) wrote :

Sorry, forgot to mention that I'd already done that:

$ sudo apt-get clean
 nothing returned

$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up openssl (0.9.8g-16ubuntu3.1) ...
dpkg: error processing openssl (--configure):
 failed in buffer_read(fd): md5hash: Input/output error
Errors were encountered while processing:
 openssl
E: Sub-process /usr/bin/dpkg returned an error code (1)
ggmain3@ggmain3-desktop:~$ sudo dpkg --configure openssl
Setting up openssl (0.9.8g-16ubuntu3.1) ...
dpkg: error processing openssl (--configure):
 failed in buffer_read(fd): md5hash: Input/output error
Errors were encountered while processing:
 openssl

$ sudo apt-get update
 no errors - all looks normal

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up openssl (0.9.8g-16ubuntu3.1) ...
dpkg: error processing openssl (--configure):
 failed in buffer_read(fd): md5hash: Input/output error
Errors were encountered while processing:
 openssl
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
NoOp (glgxg) wrote :
Download full text (9.7 KiB)

Should also add that the failure occured after a large update. Update history log:

Commit Log for Wed Apr 7 12:38:14 2010

Upgraded the following packages:
acroread (9.2-1karmic1) to 9.3.1-1karmic1
adobe-flashplugin (10.0.42.34-2karmic1) to 10.0.45.2-1karmic1
aisleriot (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
app-install-data-partner (12.9.10.2) to 12.9.10.3
bind9-host (1:9.6.1.dfsg.P1-3ubuntu0.2) to 1:9.6.1.dfsg.P1-3ubuntu0.3
cpp-4.4 (4.4.1-4ubuntu8) to 4.4.1-4ubuntu9
cups (1.4.1-5ubuntu2.1) to 1.4.1-5ubuntu2.4
cups-bsd (1.4.1-5ubuntu2.1) to 1.4.1-5ubuntu2.4
cups-client (1.4.1-5ubuntu2.1) to 1.4.1-5ubuntu2.4
cups-common (1.4.1-5ubuntu2.1) to 1.4.1-5ubuntu2.4
devicekit-disks (007-2ubuntu4) to 007-2ubuntu6
devicekit-power (011-1ubuntu1) to 011-1ubuntu2
dhcp3-client (3.1.2-1ubuntu7) to 3.1.2-1ubuntu7.1
dhcp3-common (3.1.2-1ubuntu7) to 3.1.2-1ubuntu7.1
dnsutils (1:9.6.1.dfsg.P1-3ubuntu0.2) to 1:9.6.1.dfsg.P1-3ubuntu0.3
dpkg (1.15.4ubuntu2) to 1.15.4ubuntu2.1
firefox (3.5.7+nobinonly-0ubuntu0.9.10.1) to 3.5.8+build1+nobinonly-0ubuntu0.9.10.1
firefox-3.5 (3.5.7+nobinonly-0ubuntu0.9.10.1) to 3.5.8+build1+nobinonly-0ubuntu0.9.10.1
firefox-3.5-branding (3.5.7+nobinonly-0ubuntu0.9.10.1) to 3.5.8+build1+nobinonly-0ubuntu0.9.10.1
firefox-3.5-gnome-support (3.5.7+nobinonly-0ubuntu0.9.10.1) to 3.5.8+build1+nobinonly-0ubuntu0.9.10.1
firefox-gnome-support (3.5.7+nobinonly-0ubuntu0.9.10.1) to 3.5.8+build1+nobinonly-0ubuntu0.9.10.1
foomatic-filters (4.0.3-0ubuntu2) to 4.0.3-0ubuntu2.2
fuse-utils (2.7.4-1.1ubuntu4.1) to 2.7.4-1.1ubuntu4.3
gcalctool (5.28.2-0ubuntu1) to 5.28.2-0ubuntu2
gcc-4.4 (4.4.1-4ubuntu8) to 4.4.1-4ubuntu9
gcc-4.4-base (4.4.1-4ubuntu8) to 4.4.1-4ubuntu9
glchess (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
glines (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gnect (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gnibbles (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gnobots2 (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gnome-blackjack (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gnome-games (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gnome-games-common (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gnome-mahjongg (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gnome-power-manager (2.28.1-0ubuntu1) to 2.28.1-0ubuntu1.3
gnome-screensaver (2.28.0-0ubuntu3.2) to 2.28.0-0ubuntu3.5
gnome-sudoku (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gnometris (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gnomine (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gnotravex (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gnotski (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
grub-common (1.97~beta4-1ubuntu4.1) to 1.97~beta4-1ubuntu5
grub-pc (1.97~beta4-1ubuntu4.1) to 1.97~beta4-1ubuntu5
gstreamer0.10-plugins-bad (0.10.14-4ubuntu1) to 0.10.14-4ubuntu1.1
gtali (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
gtk2-engines-pixbuf (2.18.3-1ubuntu2.1) to 2.18.3-1ubuntu2.2
gzip (1.3.12-8ubuntu1) to 1.3.12-8ubuntu1.1
iagno (1:2.28.0-0ubuntu1) to 1:2.28.0-0ubuntu3
ifupdown (0.6.8ubuntu21) to 0.6.8ubuntu21.2
language-pack-en (1:9.10+20091022) to 1:9.10+20100319
language-pack-en-base (1:9.10+20091022) to 1:9.10+20100319
language-pack-gnome-en (1:9.10+20091022) to 1:9.10+20100319
language-pack-gnome-en-base (1:9.10+20091022) to 1:9.10+20100319
libaudio...

Read more...

Revision history for this message
NoOp (glgxg) wrote :

I consider this a security issue & can't trust the machine until resolved. Please advise on what additional information you'd like me to provide.

Revision history for this message
NoOp (glgxg) wrote :

Finally resolved by downloading the .deb and:

$ sudo dpgk -i --force-all openssl_0.9.8g-16ubuntu3.1_i386.deb

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Closing per reporter's comment.

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