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


Of course if you want to use urpmf, it is no more usable but it is
enough for installing packages (even with --auto-select)


maybe Mandrakesoft can improove urpmi in some way in that direction.

Currently the last improvement are use another mirror for downloading
Ever I said it was the mirror beying out of date ? *no* !

With urpmi you *have* to download entire filelists everytime you want to download/upgrade package from constantly upgrading mirrors because serverside new or updated packages don't magically go to your local filelist. You have to get an updated one everytime.

apt-get and dselect seems to have a better approach on that matter. Look like they juste get diff files from your current packagelist version and that prevent MB of download if you want to knwo what's on current mirrors.

I hope Mandrakesoft guys have better insight of what's lack urpmi regarding the way debian packages works.

I have no interest in any puerile fights for distro X is better than distro Y.

I just point what could be improved. If some system look better than the one we use just use that better system or work on it as an improvment for your current system.

regards

--
Léa Gris




Reply via email to