Just in case somebody needs this, the script below will display missing
files from your computer (in the sense that dpkg believes a package
supplies a certain file, but the file either doesn't exist or is a
dangling symlink). It found quite a few problems, but I didn't have time
to figure out what's wrong with each and report them.
#!/bin/bash
for PAK in `dpkg-query -W -f='${Package} '`; do
dpkg-query -L $PAK \
| sed 's/diverted by [^:]*: //;s/package diverts others to: //'
\
| xargs -I {} \
bash -c '\
if [ ! -e "$0" ] ; then \
if [ -L "$0" ]; then \
echo Dangling link "$0" in
package '"$PAK"';\
else
echo File "$0" missing from
package '"$PAK"';\
fi;\
fi'\
{}
#break
done
--
[jaunty] last update broke some libraries (libnss3-1d, libnspr4-0d)
https://bugs.launchpad.net/bugs/316452
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs