Public bug reported: Binary package hint: dpkg
Distribution : Feisty Reproducibility : Always The command dpkg -L should list all files installed by a certain package, but very often it lists files which are not actually installed . for example: dpkg -L gcc-4.1 gives , among all other files : /usr/lib/gcc/i486-linux-gnu/4.1.2/libgcc_s.so which is not installed with that package. To check this I have wrote a simple script, which shows packages with missing files and put their names in a file called missing here's the script : #!/bin/sh for PName in $(dpkg -l | awk /^ii/'{print $2}'); do for FName in $(dpkg -L $PName); do if [ ! -e $FName ]; then echo "missing $FName!!!" echo $PName >> missing.dup break fi done done uniq missing.dup > missing rm missing.dup ** Affects: dpkg (Ubuntu) Importance: Undecided Status: Unconfirmed -- dpkg -L gives wrong files list https://launchpad.net/bugs/83734 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs