On Thu, 2002-11-28 at 12:53, Lea Gris wrote: > Fran�ois Pons wrote: > > Le jeu 28/11/2002 � 12:22, Lea Gris a �crit : > > > > > >>Whth urpmi you have to update entire filelists everytime you want to > >>upgrade/download from an internet source because otherwise you get > >>pointers to unavailables packages. > > > > > > Yes, maybe it can be automated but urpmi.update -a && urpmi > > --auto-select --auto is not quite hard to write if any you write it. > > > >>with apt-get update you don't have to. > >>Packages are up to date everytime. I don't know precisely how it work > >>but you don't have to update entire filelists everytime. > >> > >>Filelists represent like 25MB of data on a cooker + contribs this is > >>quite huge to download whan you just like to update one or two packages > >>or just want one new installed. > > > > > > $ wc -c /var/lib/urpmi/synthesis.hdlist.cooker.cz > > 142518 /var/lib/urpmi/synthesis.hdlist.cooker.cz > > > > Is it too large ? It is less than 25MB anyway. > > ls -lh i586/Mandrake/base/hdlist.cz > -r--r----- 1 ftp ftp 15M nov 17 23:03 > i586/Mandrake/base/hdlist.cz > ls -lh i586/Mandrake/base/hdlist2.cz > -r--r----- 1 ftp ftp 7.4M nov 17 23:03 > i586/Mandrake/base/hdlist2.cz > > Yep only 22.5 MB ans les than 25 MB sorry for my small exaggeration ;) > > I don't want to upgrade everythink everytime. > > Let's say I don't have tuxracer installed and want to install it : > > urpmi tuxracer > curl: (19) tuxracer-0.61-11mdk.i586.rpm: No such file or directory > > what does it mean ? > Just that the cooker mirror has recieved new packages but my local > filelist still reference the old tuxracer > > ok so I need to get no package lists > > lets upgrade my local filelist to the mirror ones : > > urpmi.update -a > > 22.5 MB of download just for the updated Install and Contrib list > > then > > 7.2 MB for the tuxracer package
Read my and Francois' responses again. Note the filenames we gave: synthesis.hdlist.cz, not hdlist.cz. You have the full hdlists, which include descriptions, changelogs, file lists etc etc for each package. Which is why they're huge. If you just want to use urpmi --auto-select and urpmi <package name>, and don't need to be able to query the descriptions and so on of packages you don't have installed, use the synthesis.hdlist.cz file from the mirrors, not the hdlist.cz file. It doesn't include this information and is thus far smaller. -- adamw
