> > > What I've also noticed is that when doing an urpmi.update -a all the > rpm's in > > the file:// sources (without hdlist) are scanned. Also, the synthesis > files are > > only 20bytes long. > > This means the cache is dumped all the time, I checked this point. >
New rpmtools partially fixed it for me in funny way: [root@cooker root]# urpmi.removemedia -a removing medium "Installation CD" removing medium "Contrib CD" write config file [/etc/urpmi/urpmi.cfg] [root@cooker root]# urpmi.addmedia --distrib file://mnt/hd/i586 copying hdlists file... ...copying done added medium Installation CD added medium Contrib CD copying source hdlist (or synthesis) of "Installation CD"... ...copying done copying source hdlist (or synthesis) of "Contrib CD"... ...copying done reading hdlist file [/var/lib/urpmi/hdlist.Installation CD.cz] reading hdlist file [/var/lib/urpmi/hdlist.Contrib CD.cz] keeping only files referenced in provides reading hdlist file [/var/lib/urpmi/hdlist.Installation CD.cz] reading hdlist file [/var/lib/urpmi/hdlist.Contrib CD.cz] built hdlist synthesis file for medium "Installation CD" built hdlist synthesis file for medium "Contrib CD" found 0 headers in cache removing 0 obsolete headers in cache write config file [/etc/urpmi/urpmi.cfg] [root@cooker root]# ll /var/lib/urpmi total 17600 -rw-r--r-- 1 root root 13973 Jan 3 18:53 compssUsers.flat -rw-r--r-- 1 7382 300 4354775 Jan 10 14:20 hdlist.Contrib CD.cz -rw-r--r-- 1 7382 300 13347991 Jan 10 14:20 hdlist.Installation CD.cz -rw------- 1 root root 80863 Jan 10 16:50 list.Contrib CD -rw------- 1 root root 138251 Jan 10 13:50 list.Installation CD -rw-r--r-- 1 root root 70279 Jan 10 16:50 synthesis.hdlist.Contrib CD.cz -rw-r--r-- 1 root root 20 Jan 10 16:50 synthesis.hdlist.Installation CD.cz [root@cooker root]# rpm -q urpmi rpmtools urpmi-3.1-5mdk rpmtools-4.0-3mdk -andrej
