Re: problem using rpm -e

From: Michael Schwendt (ms-nospam-0306_at_arcor.de)
Date: 09/02/03

  • Next message: Sean Estabrooks: "Re: Way to make a file or directory password protected."
    To: redhat-list@redhat.com
    Date: Tue, 2 Sep 2003 19:45:34 +0200
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Tue, 2 Sep 2003 17:21:22 +0100, A. S. Budden wrote:

    > Thus spake Earl Eiland:
    > > I installed a program using rpm. It's not running properly, so now want
    > > to remove it. When I execute rpm -e filename, I get the error message
    > > 'filename not installed'. How do I uninstall?
    >
    > Lose the version number -- e.g.

    No, the version number is not the reason why his attempts have failed.
    rpm expects a package name, not a file name. But you can include
    version-release.

    > $ rpm -qa | grep emacs
    > emacs-21.2-33
    > $ rpm -e emacs

    "rpm -e emacs-21.2-33" would have worked, too.
    But "rpm -e emacs-21.2-33.i386.rpm" would have been wrong.

    - --
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQE/VNc+0iMVcrivHFQRAhLRAJsEaW5ZeUR99PCkkjW06RHENoBFZACfQy3C
    qyy6gicZUkRFX2JZtFaQmX8=
    =2AU8
    -----END PGP SIGNATURE-----

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Sean Estabrooks: "Re: Way to make a file or directory password protected."

    Relevant Pages