[2169] in RedHat Linux List

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

Re: Cannot erase rpm-packages

daemon@ATHENA.MIT.EDU (Joachim Paulini)
Fri Nov 1 03:41:50 1996

Date: Fri, 1 Nov 1996 09:38:23 +0100
From: Joachim Paulini <i2041101@ws.rz.tu-bs.de>
To: redhat-list@redhat.com
Reply-To: j.paulini@tu-bs.de
Resent-From: redhat-list@redhat.com

> I've upgraded my system from RH3.0.3 to RH4.0. There are also some
> additional packages which are not included in "standard" RH
> distributions.
> 
> Now it appears that I cannot remove some packages.
> 
> rpm --erase xxxx results "package xxxx is not installed"
> 
> I've tried to reinstall the packages resulting "package xxxx is already
> installed". --force option does the work, but --erase still says that
> packages are not installed. In reality those packages are installed
> (all the files are there).
> 
> --rebuilddb does not help anyhow.
> 
> Obviously the /var/lib/rpm index files are somehow confused.
> 
> Any help is appreciated.
> 

Make sure you remove installed rpm's with

  rpm -e <name>

instead of

  rpm -e <name>-<version-number>.rpm

--
Joachim Paulini                  | Institut fuer Theoretische Physik
j.paulini@tu-bs.de               | Technische Universitaet Braunschweig


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