-----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:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to