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 Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to