John Layt wrote: > On Sun, 21 Nov 2004 10:52, Glenn wrote: > >>Using "urpmi.addmedia --distrib removable://mnt/cdrom" to add my 10.1 >>sources, the CD numbers get screwed up (11, 21, 31, 32, 33, 41, 51, 61, >>etc.) Anybody run into a fix for this? >> >>Glenn > > > I'm not getting that problem, but something is borked in adding/updating > sources. When I added a new local source, the add crashed partway through > due to having a bad rpm. I deleted the bad rpm, and tried to re-add the > source, but then it started giving errors about every single rpm, including > those that it had previously accepted as ok. To cut a long story short, I > had to delete every file in /var/cache/urpmi/headers/ belonging to the new > source before I succedded in adding the source. > > Something seems to have regressed... > > John. >
If you use -c option for urpmi.removemedia it will clean the headers cache directory. I borked mine up before and had to remove all sources and readd them. First I "urpmi.removemedia -a -c" then I had to manually remove /var/lib/urpmi/list.name_of_source /var/lib/urpmi/hdlist.name_of_source.cz /var/lib/urpmi/synthesis.hdlist.name_of_source.cz /var/lib/urpmi/descriptions.name_of_source /var/lib/urpmi/names.name_of_source for each source, then added my sources with urpmi.addmedia All seemed to work out well, not exactly sure why :~/ I would have thought that urpmi.removemedia would have removed the entries for the sources in /var/lib/urpmi/ but it didn't and they were giving me some problems. Perhaps I needed to update the data base or something. Anyways a personal expierence, if it helps. Mike
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
