[MASTER] update-manager should deal with corrupted debs better
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
update-manager (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: update-manager
In the event that update-manager runs into a corrupted package like so:
dpkg: error processing /var/cache/
corrupted filesystem tarfile - corrupted package archive
or possibly
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg: error processing /var/cache/
subprocess dpkg-deb --fsys-tarfile returned error exit status 2
or
dpkg-deb: `/var/cache/
I think it would be a better idea if update-manager were to delete the deb from the cache and try downloading it again.
== workaround ==
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.
description: | updated |
summary: |
- update-manager should deal with corrupted debs better + [MASTER] update-manager should deal with corrupted debs better |
description: | updated |
Changed in apt (Ubuntu): | |
status: | New → Confirmed |
Thanks for your bugreport.
A corrupted deb should never make it on the harddisk, when it gets download we check md5/sha256 sum and if that does not match we delete it. Now either this check is sometimes broken (I doubt that, but its possible) or its actually filesystem corruption that manifests itself in this error message