I need to be able to stop Mandrake Update (rpmdrake) from deleting the
update rpm files it downloads into /var/cache/urpmi/rpms. This is very
important as I live in Australia and our cable companies are fuckwits
(3gb/month bandwidth allowance, down from ~11gb 5 months ago), so I can't
afford to download anything twice (and a friend needs the updated for his
Mandrake box).
Any help would be appreciated.
Tim Edwards
> I need to be able to stop Mandrake Update (rpmdrake) from deleting the
> update rpm files it downloads into /var/cache/urpmi/rpms. This is very
> important as I live in Australia and our cable companies are fuckwits
> (3gb/month bandwidth allowance, down from ~11gb 5 months ago), so I can't
> afford to download anything twice (and a friend needs the updated for his
> Mandrake box).
Not sure how to make the graphical rpmdrake do this, but the command line
urpmi with the "--noclean" switch prevents the rpm's from being purged...
--
If you're not on the edge, you're taking up too much space.
Linux registered user #327951
Then don't use rpmdrake for this, as it cannot be told to keep the RPMs,
while urpmi can (with the "--noclean" option). Nothing wrong with using
rpmdrake to view the package info and all that - just use urpmi at the
command line to do the actual RPM fetching and installation. :)
More information on all of the urpm* tools is at:
HTH!
--
Bill Mullen mo...@lunarhub.com MA, USA RLU #270075 MDK 8.1 & 9.0
"Listen, here's the thing. If you can't spot the sucker in your first
half hour at the table, then you *are* the sucker." - Mike McDermott
> Hi,
>
> I need to be able to stop Mandrake Update (rpmdrake) from deleting the
> update rpm files it downloads into /var/cache/urpmi/rpms (...)
Add the following lines in /etc/urpmi/urpmi.cfg:
{
pre-clean: 0
post-clean: 0
}
to make urpmi --noclean by default.
http://qa.mandrakesoft.com/show_bug.cgi?id=4490
peterpunk
--
Live free, or die.
Thanks to all who replied, I ended up with the following commands to do it:
urpmi.update update_source
urpmi --noclean --update --auto-select #all updated packages
urpmi --noclean --update drakconf #update individual packages, drakconf in
this case
> Tim Edwards wrote:
>
>> I need to be able to stop Mandrake Update (rpmdrake) from deleting the
>> update rpm files it downloads into /var/cache/urpmi/rpms (...)
>
> Add the following lines in /etc/urpmi/urpmi.cfg:
> {
> pre-clean: 0
> post-clean: 0
> }
> to make urpmi --noclean by default.
FYI: Creating a file /root/.grpmi with 'noclearcache' on a line by itself
will have the same effect.
--
Garry Knight
garry...@gmx.net ICQ 126351135
Linux registered user 182025