[pacman-dev] pacman -Ql

Xavier shiningxc at gmail.com
Sun Jul 1 21:10:46 EDT 2007


ok, so here is a possible fix :
http://chantry.homelinux.org/~xav/git/gitweb.cgi?p=pacman.git;a=commitdiff;h=a00119ff60b075ebf17d8c60051930e1d9fd4452

before :
> pacman -Ql ttf-ms-fonts
ttf-ms-fonts /tmp/ttf-ms-fonts/
ttf-ms-fonts /tmp/ttf-ms-fonts/andale32.exe
ttf-ms-fonts /tmp/ttf-ms-fonts/arial32.exe
ttf-ms-fonts /tmp/ttf-ms-fonts/arialb32.exe
...

> pacman -Ql cups |grep spool
...
cups /var/spool/cups/tmp/

after :
> pacman -Ql ttf-ms-fonts
ttf-ms-fonts /tmp/ttf-ms-fonts/ : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/andale32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/arial32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/arialb32.exe : No such file or directory
...

> pacman -Ql cups |grep spool
...
cups /var/spool/cups/tmp/ : Permission denied

This command should then show all inconsistent packages (packages
which own a file that isn't installed on filesystem) :
LANG=C sudo pacman -Ql > /dev/null
git /usr/share/gitweb/test/M\303\244rchen : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/ : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/andale32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/arial32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/arialb32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/comic32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/courie32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/georgi32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/impact32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/times32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/trebuc32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/verdan32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/wd97vwr32.exe : No such file or directory
ttf-ms-fonts /tmp/ttf-ms-fonts/webdin32.exe : No such file or directory

So there is apparently a problem with filenames that contains special
character, like this file :
/usr/share/gitweb/test/Märchen

Is there a way to fix that?




More information about the pacman-dev mailing list