tag 537558 pending thanks Hello,
Bug #537558 reported by you has been fixed in the Git repository. You can see the changelog below, and you can check the diff of the fix at: http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=b866c02 --- commit b866c02dfc669dd170680c1bd13b8c0f9898bea5 Author: Raphael Hertzog <hert...@debian.org> Date: Mon Jul 20 08:47:09 2009 +0200 Fix preinst to not fail on read on broken alternatives status files The internal structure of alternatives status file is line based. Empty lines end each section. read call can fail if the file is truncated at some unexpected point. Thus protect all read calls with "|| continue" or "|| break" depending on the case. diff --git a/debian/changelog b/debian/changelog index b429933..f59362c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -32,6 +32,8 @@ dpkg (1.15.4) UNRELEASED; urgency=low See http://wiki.debian.org/Transitions/DpkgToGnuInstallInfo for details. * Fix dpkg's preinst in case /var/lib/dpkg/alternatives contains unexpected sub-directories. Closes: #535138 + And also when one of the file doesn't contain correct alternatives + information (improper number of lines). Closes: #537558 * Upgrade Standards-Version to 3.8.2 (no changes). * Update deb-substvars(5) to list fields that do not support substvars. Closes: #535353 -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org