Truncated (0 byte) files on crash during package install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Ubuntu) |
Fix Released
|
High
|
Colin Watson |
Bug Description
Binary package hint: dpkg
While installing the package "quanta" using the software center I have experienced a system hard lock (X got into a white screen), the system was unresponsive.
After booting I have noted that the quant menu entry was not available.
APT did not complain about broken packages, however I have noted that quanta.desktop was 0 bytes.
I have attempted to fix it with "sudo apt-get install --reinstall quanta", the install was successful but I noted that there other files installed from quanta dependency packages where also truncated:
Rebuilding /usr/share/
Invalid desktop file /usr/share/
Invalid desktop file /usr/share/
Invalid desktop file /usr/share/
Invalid desktop file /usr/share/
Invalid desktop file /usr/share/
debsums did not help because the /var/lib/
I am not sure this is a filesystem related corruption but I hope somehow it can be prevented at the application level, or at least add some validation on dpkg/apt for this scenario (warn on truncated md5sums ?, this would be a quick check).
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: dpkg 1.15.5.6ubuntu3
ProcVersionSign
Uname: Linux 2.6.32-19-generic x86_64
Architecture: amd64
Date: Sat Apr 10 10:40:55 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=pt_PT.utf8
SHELL=/bin/bash
SourcePackage: dpkg
Related branches
Changed in dpkg (Ubuntu): | |
status: | Triaged → Fix Committed |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in dpkg (Ubuntu): | |
assignee: | Colin Watson (cjwatson) → jdcorm (jdcormier) |
Changed in dpkg (Ubuntu): | |
assignee: | jdcorm (jdcormier) → Colin Watson (cjwatson) |
It seems that all files installed from the package are 0 bytes:
-rwxr-xr-x 1 root root 0 2010-03-31 16:47 /usr/bin/cervisia