Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

stop mandrake update (rpmdrake) from deleting downloaded files

Skip to first unread message

Tim Edwards

unread,
Sep 21, 2003, 10:30:02 AM9/21/03
to
Hi,

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

Dan C

unread,
Sep 21, 2003, 12:26:20 PM9/21/03
to
On Mon, 22 Sep 2003 00:30:02 +1000, 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. 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

Bill Mullen

unread,
Sep 21, 2003, 12:56:59 PM9/21/03
to
On Mon, 22 Sep 2003 00:30:02 +1000, Tim Edwards sputtered:

>
> 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).

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:

http://www.urpmi.org

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

peterpunk

unread,
Sep 21, 2003, 6:13:42 PM9/21/03
to
Tim Edwards wrote:

> 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.

Tim Edwards

unread,
Sep 22, 2003, 5:48:33 AM9/22/03
to

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

Garry Knight

unread,
Sep 22, 2003, 5:49:32 PM9/22/03
to
peterpunk wrote:

> 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

0 new messages