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

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

 



On Wednesday 01 September 2004 08:56 am, James Olin Oden wrote:
> On Mon, 30 Aug 2004, xavier.sinecosa wrote:
> > I installed a the speex-1.0.3-2.1.i386.rpm package and tried
> > thaen to uninstall it in order to do an upgrade, but the
> > package seems to be installed from "rpm -Uvh" and not
> > installed from "rpm -e"!
> > Here is what I get:
> >
> > # rpm -Uvh speex-1.0.3-2.1.i386.rpm
> > Preparing...
> > ########################################### [100%]
> >         package speex-1.0.3-2.1 is already installed
> > # ldconfig
> > # rpm -e speex-1.0.3-2.1.i386.rpm
> > error: package speex-1.0.3-2.1.i386.rpm is not installed
>
> Normally when upgrading a package the epoch, version, release has
> incremented.  In your case I am guessing this is a dev package
> that someone did not bother to increment at least one part of the EVR.
> To make rpm do what you want just add --force to the command line.
>
> Cheers...james
>

Well understand what --force does. Its a combination of 3 other options. I 
install two versions of a few different pieces of software, both of which I 
want declared in the same database. I also want to make sure that I am not 
over-writing files when I install different versions in parallel. I therefore 
do NOT use --force, but I use --oldpackage instead which allows me to install 
the software in parallel but it still reports to me if files conflict.

Not telling you that you are wrong, just that there is more that just brute 
force to --force.

man rpm and search for --force to see which 3 options it constitutes.

-- 
Scot Mc Pherson <scot@xxxxxxxxxxxxxxxxxxxx>
Sarasota, Florida, USA
http://linuxfromscratch.org/~scot/
ICQ: 342949  AIM: ScotLFS MSN: behomet@xxxxxxxxxxxxx


_______________________________________________
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