Activity log for bug #108189

Date Who What changed Old value New value Message
2007-04-20 17:26:34 Jan Klopper bug added bug
2007-04-20 17:27:26 Jan Klopper bug added attachment 'ico.list' (offending file, copy it to your folder, and see what happens)
2007-04-25 17:27:48 rambo3 bug added attachment 'libwrap0.rar' (libwrap0.rar)
2007-05-19 14:39:44 Bert bug added attachment 'openoffice.org-kde-integration.list' (/var/lib/dpkg/info/openoffice.org-kde-integration.list)
2008-11-07 17:00:28 Jean-Baptiste Lallement dpkg: status New Triaged
2008-11-07 17:00:28 Jean-Baptiste Lallement dpkg: statusexplanation
2008-11-07 22:50:21 Jean-Baptiste Lallement description APt-get, adept, and the restricted drivers manager might halt installing packages when one or more of the files in: /var/lib/dpkg/info/ is corrupt. The error shown will be either: files list file for package `*' is missing final newline Or: files list file for package `*' contains an empty filename Where * start is a random but steady "per install" package name. Adding a newline char to the file changes the message form the first to the seccond error noting about the empty filename. Since all these files seem to contain only a string of @^@^@^@^@^@^@^@^@^@^@^@^ it seems they are redundant, and i ventured on moving them from the folder, this solved the problem. Two things need to be resolved here i guess, 1: dpkg should handle these files more gracefully, there's an abundance of forum posts and related bugs available from people who have no clue where to search, deleting them seems to work, so why not delete them when dpkg encounters this error. 2: Since all these files essentially contain the same data, why are they even here, there's 4200 of them in a default feisty install, the installer works fine without, so why are they here? APt-get, adept, and the restricted drivers manager might halt installing packages when one or more of the files in: /var/lib/dpkg/info/ is corrupt. The error shown will be either: files list file for package `*' is missing final newline Or: files list file for package `*' contains an empty filename Where * start is a random but steady "per install" package name. Adding a newline char to the file changes the message form the first to the seccond error noting about the empty filename. Since all these files seem to contain only a string of @^@^@^@^@^@^@^@^@^@^@^@^ it seems they are redundant, and i ventured on moving them from the folder, this solved the problem. Two things need to be resolved here i guess, 1: dpkg should handle these files more gracefully, there's an abundance of forum posts and related bugs available from people who have no clue where to search, deleting them seems to work, so why not delete them when dpkg encounters this error. 2: Since all these files essentially contain the same data, why are they even here, there's 4200 of them in a default feisty install, the installer works fine without, so why are they here? .:: WORKAROUND ::. The reference is http://ubuntuforums.org/showpost.php?p=2635193&postcount=12 . I've rewritten some part of the post to adapt it to Ubuntu. There is an easy way to fix this problem without having those serious warnings. I did it and it worked out fine. I found the solution in the following web site: http://finkproject.org/faq/usage-fink.php I'll just copy it here: Quote: I can't install or remove anything, because of a problem with a "files list file". A: Typically these errors take the form: Quote: files list file for package packagename contains empty filename or Quote: files list file for package packagename is missing final newline This can be fixed, with a little work. If you have the .deb file for the offending package currently available on your system, then check its integrity by running Quote: dpkg --contents full-path-to-debfile e.g. Quote: dpkg --contents /var/cache/apt/archive/libgnome2-0_2.24.1-0ubuntu3_i386.deb If you get back a listing of directories and files, then your .deb is OK. If the output is something other than directories and files, or if you don't have the .deb file, you can still proceed because the error doesn't interfere with builds. If you have been installing from the binary distribution or you know for sure that the version in the binary distribution is the same as what you have installed (e.g. by checking the package database), then you can get a .deb file by running sudo apt-get install --reinstall --download-only packagename . Once you have a valid .deb file, then you can reconstitute the file. First become root by using sudo -s (enter your administrative user password if necessary), and then use the following command: Quote: dpkg -c full-path-to-debfile | awk '{if ($6 == "./"){ print "/."; } \ else if (substr($6, length($6), 1) == "/")\ {print substr($6, 2, length($6) - 2); } \ else { print substr($6, 2, length($6) - 1);}}'\ > /sw/var/lib/dpkg/info/packagename.list e.g. Quote: dpkg -c /var/cache/apt/archive/libgnome2-0_2.24.1-0ubuntu3_i386.deb | awk \ '{if ($6 == "./") { print "/."; } \ else if (substr($6, length($6), 1) == "/") \ {print substr($6, 2, length($6) - 2); } \ else { print substr($6, 2, length($6) - 1);}}' \ > /var/lib/dpkg/info/libgnome2-0.list What this does is to extract the contents of the .deb file, remove everything but the filenames, and write these to the .list file. I hope that helps.
2008-11-07 23:02:06 Jean-Baptiste Lallement dpkg: importance Undecided High
2009-03-19 04:04:48 jbshukla displayname Bug #108189 Bug #108189 (jbs)
2009-03-19 04:04:48 jbshukla name jbs
2010-04-25 07:45:28 gopi dpkg (Ubuntu): assignee gopi (gopalakrishnan29)
2010-06-03 15:12:43 gopi dpkg (Ubuntu): assignee gopi (gopalakrishnan29)
2011-05-26 15:35:24 Aaron C. de Bruyn bug added subscriber Aaron C. de Bruyn
2011-05-27 05:01:19 Faisal Ghifa removed subscriber Faisal Ghifa
2011-11-26 19:40:25 Raphaël Hertzog dpkg (Ubuntu): status Triaged Invalid
2011-11-28 04:25:48 Eliah Kagan bug added subscriber Eliah Kagan
2011-11-28 04:26:03 Eliah Kagan bug added subscriber Raphaël Hertzog
2011-11-28 06:52:39 Raphaël Hertzog removed subscriber Raphaël Hertzog
2011-11-28 07:13:39 Sergey bug added subscriber Sergey
2022-04-18 07:50:42 John Magdy Lotfy bug task added dpkg (Debian)