Grups de Google ja no admet publicacions ni subscripcions noves de Usenet. El contingut antic es pot continuar consultant.
S'han actualitzat les tecles de drecera de Grups
Ignora
Mostra les dreceres

stop mandrake update (rpmdrake) from deleting downloaded files

0 visualitzacions
Ves al primer missatge no llegit

Tim Edwards

no llegida,
21 de set. 2003, 10:30:0221/9/03
a
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

no llegida,
21 de set. 2003, 12:26:2021/9/03
a
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

no llegida,
21 de set. 2003, 12:56:5921/9/03
a
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

no llegida,
21 de set. 2003, 18:13:4221/9/03
a
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

no llegida,
22 de set. 2003, 5:48:3322/9/03
a

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

no llegida,
22 de set. 2003, 17:49:3222/9/03
a
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 missatges nous