Re: RPM lies about an installed package

From: Tommy Reynolds (TommyReynolds_at_yahoo.com)
Date: 03/17/05

  • Next message: Frank Miller: "Re: USB sound adapter"
    Date: Wed, 16 Mar 2005 18:16:05 -0600
    
    

    On Wed, 16 Mar 2005 23:45:13 +0000, Mark Healey wrote:

    > As root I tried:
    > []rpm -e nethack-3.4.3-1.i386.rpm
    > and it responded with:
    > error: package nethack-3.4.3-1.i386.rpm is not installed

    Correct. You gave rpm(1) a filename, not a package name. If you had
    used:

    # rpm -e nethack

    you'ld have removed nethack, assuming it was installed.
     
    > Just for shits and giggles I tried:
    > []rpm -Uvh nethack-3.4.3-1.i386.rpm
    > and it replied with:
    > package nethack-3.4.3-1 is already installed

    Yup, you tried to install a package that was already installed. You
    install packages using a filename -- nothing magical about the
    filename.
     
    > I then did:
    > []# rpm -q -a | grep nethack
    > and got:
    > nethack-3.4.3-1
    > What's wrong?

    Well, you have nethack installed ... no productive work will ensue ;-)


  • Next message: Frank Miller: "Re: USB sound adapter"