changaco wrote:
Xavier wrote :
$ ./src/pacman/pacman -Qk
at: /var/spool/atd/.SEQ (Permission denied)
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/webdin32.exe (No such file or
directory)
Check complete: 151945 files (609 packages)
Damaged packages: at ttf-ms-fonts

should we just skip the file when the permission is denied? when errno == EACCES
"at" is wrongly reported as damaged.

If you ignore the permission denied you will ignore missing files that are in 
protected directories. -Qk should be run as root.

And I still don't get why you absolutely want to search in /tmp, it makes the 
return value of -Qk totally irrelevant in scripts.

Not really... It just highligths that the ttf-ms-fonts package is crap. I think it should just store those files in /usr/share/ms-fonts.

Allan



_______________________________________________
pacman-dev mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/pacman-dev

Reply via email to