← Back to team overview

openjdk team mailing list archive

[Bug 790334] Re: package openjdk-6-jre-lib 6b20-1.9.7-0ubuntu1 failed to install/upgrade: el subproceso dpkg-deb --fsys-tarfile devolvió el código de salida de error 2

 

It seems your status file (where the system creates track of all installed packages) is corrupted. This may happen after a system crash but you should also check whether your hard disk is ok[1]. 
The system automatically makes several backup copies of this file, so normally it should be possible to recover from this.

Try the following in a terminal:
This copies the current file into your home directory (if everything works in the end, you can delete this file):
cp /var/lib/dpkg/status ~/
This overwrites the current file with the backup
sudo mv /var/lib/dpkg/status-old /var/lib/dpkg/status
Now try the update again.

If (and only if) it still does not work, there is yet another backup you could use, try:
sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status

And then: try the update again.

[1] https://help.ubuntu.com/11.04/ubuntu-help/disk-check.html

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/790334

Title:
  package openjdk-6-jre-lib 6b20-1.9.7-0ubuntu1 failed to
  install/upgrade: el subproceso dpkg-deb --fsys-tarfile devolvió el
  código de salida de error 2

Status in “openjdk-6” package in Ubuntu:
  Incomplete

Bug description:
  In the upgrade version this package (/var/cache/apt/archives/openjdk-6-jre-lib_6b22-1.10.1-0ubuntu1_all.deb (--unpack)) display this message "subproceso dpkg-deb --fsys-tarfile devolvió el código de salida de error 2
  E: Sub-process /usr/bin/dpkg returned an error code (1)"

  First uninstall the ubuntu desktop version 11.04 and reinstall
  (previus I download the ISO), but I have the same error.

  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: openjdk-6-jre-lib 6b20-1.9.7-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  Architecture: i386
  Date: Mon May 30 13:56:25 2011
  ErrorMessage: el subproceso dpkg-deb --fsys-tarfile devolvió el código de salida de error 2
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  PackageArchitecture: all
  SourcePackage: openjdk-6
  Title: package openjdk-6-jre-lib 6b20-1.9.7-0ubuntu1 failed to install/upgrade: el subproceso dpkg-deb --fsys-tarfile devolvió el código de salida de error 2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/790334/+subscriptions



References