[5953] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: question on uninstalling a package

daemon@ATHENA.MIT.EDU (Peter Moulder)
Mon Nov 25 03:08:57 1996

To: rob@cisco.com
Cc: redhat-list@redhat.com
From: Peter Moulder <reiter@netspace.net.au>
Date: 21 Nov 1996 09:32:48 +1100
In-Reply-To: rob@cisco.com's message of Sun, 17 Nov 1996 20:22:06 -0800
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

rob@cisco.com (Rob Walker) writes:

> I need to upgrade to the kernel source kernel-source-2.0.18-6.rpm, and
> I rpm -i it.  then I was messing up on something (subject of another
> post), and rm -rf /usr/src/linux-2.xxxx  .  Well, now I cannot rpm -i
> the .rpm file anymore, as the rpm database still thinks that the
> kernel-source package is still installed.  
> I cannot rpm -e the package, as the files do not exist.  I looked at
> the rpm manpage, and did not see a -force option for the -erase.  Do I
> just have to -i with -force, and go from there?

If you're re-installing the same package that you erased, then rpm -i
--force will indeed work.

Are you sure that rpm -e wouldn't work?  It should complain about
files being missing, but still erase any files that are left, and make
a note in its RPM database that you don't have the package installed.
(`should' here means `I believe this is what happens, based on what I
have seen'.)

pjm.


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


home help back first fref pref prev next nref lref last post