If a package is broken, usually due to internet connection/download
problems, I would usually delete the problematic package, eg:

sudo rm /VAR/CACHE/APT/ARCHIVES/PYTHON-QT4_4.8.3-2_AMD64.DEB

after that, running:

sudo apt-get -f install
or
reinstalling the program by command line

would solve the problem where apt-get would download a new copy of the
package.

What I would like to suggest is that, during problems like these
(damaged packages, error returns), apt-get could be set to first check
the integrity (checksum/signature) of the problematic package, comparing
it to the online signature, and if it is found to be different, a new
copy could be automatically downloaded from the repos and installed.
Just a suggestion, but I totally don't know the security/other concerns
surrounding that implementation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/773172

Title:
  corrupted filesystem tarfile - corrupted package archive

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/773172/+subscriptions

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

Reply via email to