[arch-dev-public] broken database entries

Xavier shiningxc at gmail.com
Thu May 8 06:04:57 EDT 2008


Hello,

there are regularly some broken entries, with a FILENAME mismatch for 
example.
A while ago, I reported a bug for two broken entries along with a simple 
one-line command that anyone can run to detect them :
http://bugs.archlinux.org/task/9337
for i in /var/lib/pacman/sync/*/*; do grep -A1 FILENAME $i/desc | tail 
-n1 | grep -v $(basename $i) && echo $(basename $i); done

This currently returns one broken entry : devtools, also reported here :
http://bugs.archlinux.org/task/10262

Maybe this information is already obsolete with the new db scripts on 
the way (well, anyone can dream). And apparently a new devtools will 
come with the new db script, so that should also fix the db entry issue.

This mail is simply a reminder that it's very easy to check the sync dbs 
for this kind of mismatch, and that 10262 can probably be closed when a 
new devtools is added.




More information about the arch-dev-public mailing list