Re: rpm package "installed" and "not installed"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 30, 2004 at 09:27:03PM +0200, xavier.sinecosa wrote:
> # rpm -Uvh speex-1.0.3-2.1.i386.rpm

Your confusion stems from the fact that -U (or -i) works on an (uninstalled)
package _file_, which it then installs. However, -e works on installed
_packages_ and so the file name the package came out of isn't relevant. You
just need to give it the name of the package itself.

By tradition, package files are named name-version-release.arch.rpm. This
coincides with how you reference packages (name-version-release) but it's
just that -- a coincidence. (An intentional coincidence, sure....)

You could name your original package just "speex.rpm" (SuSE used to do this,
at least; maybe they still do), or you could name it "fleebnork.txt.exe" or
whatever you wanted. But it'd still contain the package speex-1.0.3-2.1
inside, and if you installed it, that's what you'd need to reference.

So, this is telling you the truth:

> # rpm -e speex-1.0.3-2.1.i386.rpm
> error: package speex-1.0.3-2.1.i386.rpm is not installed

There's no package called that. "i386.rpm" is just part of the original
filename, not the package name itself.

-- 
Matthew Miller           mattdm@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux