"[Bug 414]" <[EMAIL PROTECTED]> said:

> https://qa.mandrakesoft.com/show_bug.cgi?id=414
> 
>            Product: urpmi
>          Component: urpmi
>            Summary: No space left in /var make it "crash"
>            Version: 4.0-9mdk
>           Platform: PC
>         OS/Version: All
>             Status: ASSIGNED
>           Severity: trivial
>           Priority: P2
>         AssignedTo: [EMAIL PROTECTED]
>         ReportedBy: [EMAIL PROTECTED]
> 
> That's a little stupid but when installing the 9.0,I created a small /var
> partition (100Mo or even less).
> During the installation with the only 2 first GPL CDs all get Ok.
> After I try to make the 3thd Cd a the source of package, rpmdrake freeze. His
> window didn't update.
> 
> I try several times with the same result.
> I was looking at the log, and didn't find something interesting.
> 
> some commands later, i type "df" (don't remember why ;) and saw that /var was
> filled to 100%. I make it bigger and all get OK !
> 
> So this bug report is just an kind of "feature" ask to check that /var was not
> total full before adding a new package source.
> 
> ------- Additional Comments From [EMAIL PROTECTED]  2002-12-03 16:11 -------
> This is a known issue, but it can easily workarounded (I suppose here) by using
> existing hdlist instead of building new ones.
> 
> Just use --distrib options after inserting the first Mandrake Linux CD with
> urpmi.addmedia and all known media will be used. Or use 'with' option to add
> each medium one after another.


The problem occurs maybe more because urpmi download all packages in
/var/cache/urpmi/rpms before installing them. If your update is bigger than the
space left in /var/, not all the rpms will be downloaded, and urpmi will crash,
sayin that some rpms are missing.

urpmi/rpmdrake could get the error that there is no space left from wget/curl,
then warn the user. It could also launch urpmi on the rpms downloaded, to try
to install a portion of the upgrade, them remove it. But this is ugly.

The best solution would be that urpmi ask rpms to split the list of rpms to
upgrade into several indepedant lists of rpms, that can be downloaded and
upgraded independantly. So it would need less free space at a given time, and
it will boost the installation too.

-- 
dams

Reply via email to