"Vox" <[EMAIL PROTECTED]> writes:
> > > 3. Why is urpmi's list so big? when you do "apt-get update" you get a
> > > 1.44meg file, when you do "urpmi update" (or whatever the command is..haven't
> > > used urpmi in ages due to the damn size of the depfile) you get an 8+meg file!
> > > why? can't this be fixed?
> >
> > urpmi does not just install package with dependancies, the synthesis file
> > contains just the necessary to make install.
> >
> > Furthermore you can build hdlist from rpm file list, and this can be used to
> > resolve dependencies later as well as searching file and so on, try urpmf.
>
> Errr....apt has "apt-cache search" (in the mdk version I have
> installed, this segfaults, but I've yet to try the one uploaded yesterday)
> which does about the same things that I've seen urpmf do...and still uses the
> same 1.44meg file...so I still don't see the need for the 8+ meg file.
I didn't give all features available, of course as it has been said, we can drop
some features. This has another advantage: this is used for DrakX install
as well as for urpmi. We can change format to get urpmi more cheaper file but is
it necessary, look at synthesis file size so, we can use them instead of whole
hdlist at the price of some features.
> > > Vox, who'd love to leave apt behind for urpmi, but can't because 8meg
> > > vs 1.44 megs is a significant thing on dialup
> > We will maybe add features to use only synthesis file instead of whole hdlist,
> > but this may cost some features which are used (file list, used in rpmdrake
> > too).
>
> file list? as in the list of all the files inside the rpms? from what
> I've seen apt-cache do, I believe apt is also aware of the contents of the
> rpms, unless I'm mistaken (as I said, apt-cache in the cnc19 version is
> segfaulting, and I can't install the version uploaded yesterday, because
> rpm4.0-33mdk segfaults when trying to upgrade to rpm4.0.3-17mdk...I guess I
> shouldn't have stayed sooo behind in upgrading rpm...but didn't want to loose
> apt).
$ parsehdlist --files /var/lib/urpmi/hdlist.cooker.cz |wc
296542 297963 18362025
$ parsehdlist --files /var/lib/urpmi/hdlist.cooker.cz |gzip -9 | wc
5581 32850 1426892
There are other data available which are printed. Note here this is not indexed
and correspond to raw data (or raw compressed).
This correspond effectively to 1.4 megs.
Fran�ois.