[3042] in RedHat Linux List
Re: RPM clobbers files
daemon@ATHENA.MIT.EDU (Otto Hammersmith)
Wed Nov 6 17:29:25 1996
From: Otto Hammersmith <ohammers@cu-online.com>
To: redhat-list@redhat.com
Date: Wed, 6 Nov 1996 16:26:49 -0600 (CST)
In-Reply-To: <199611062220.RAA25939@marvin.redhat.com> from "Donnie Barnes" at Nov 6, 96 05:20:01 pm
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Donnie Barnes wrote:
>
>
> > > And when joe user has (for instance) installed some beta software
> > > directly from tarballs because RPMS aren't yet available (say, a
> > > new version of XFree86) and then upgrades to the real thing via
> > > rpm, it might suddenly use up an extra 100 MB of disk space not
> > > available on the partition in question in .rpmsave files. I can
> > > imagine the angry, acid commentary we would get in such a case,
> > > and I shudder to think about it...
> >
> > Obviouysly, it would query the user before copying files. (maybe a
> > size threshold.. anything over 500k is querried)
>
> RPM will never query the user. I hasten to say "never", but that is
> a design decision that has been made. RPM should never be interactive.
Okay, then consider it a conflict (as long as it's not a known config
file... i.e., listed in %config) and don't install the package.
Then the user can install the rpm with --force to overwrite, or
another option to save all conflicting files (--save-all-conflicts or
something).
Or it could be an option to the upgrade... tell upgrade that you want
anything conflicting saved, just to be safe.
--
-Otto
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null