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

Re: [rhn-users] RPM strangeness



On Tue, Oct 07, 2003 at 04:39:32PM -0400, Nick Nobbe wrote:

> 
>    rpm -ivh python2.3-tools-2.3-5pydotorg.i386.rpm
>   warning: python2.3-tools-2.3-5pydotorg.i386.rpm: V3 DSA signature:
>   NOKEY, key ID fd71b297
>   Preparing...               
>   ########################################### [100%]
>           package python2.3-tools-2.3-5pydotorg is already installed
> 
>   rpm -e python2.3-tools-2.3-5pydotorg.i386.rpm
>   error: package python2.3-tools-2.3-5pydotorg.i386.rpm is not installed

You're attempting to remove an rpm by filename?  That's not quite
right :)

Try:

rpm -e python2.3-tools-2.3-5pydotorg

You may remove installed rpm packages by package name, or by name
plus version and release.  But not by filename.  Run:

man rpm

for more details.

>   I have installed all the packages, then I wanted to upgrade to the
>   newest version and then the pain started, using RPM -U said that all
>   the  tool packages were dependant on the older version, so I decided
>   to use the erase command on all the packages and then just install the
>   newer version. and that is when I am told that the package is not
>   installed, even though an install or query says that it is! I have
>   tried the freshen command which produces no errors, I try and
>   uninstall it and then  I get the 'it's not installed' error. I have
>   rebuilt the RPM database which completed without any errors either!

If you're just talking about what you listed above, the reason the rpm
-ivh operation failed is that python2.3-tools-2.3-5pydotorg *is*
installed.  The removal operation failed because you supplied the
rpm's filename instead of the rpm's package name, which is a string
defined inside the package.  In this case, python2.3-tools-2.3-5pydotorg.

If there are other rpm -Uvh / rpm -Fvh / rpm -q operations that are
not giving you the results you expected, list them and maybe we can
help you.

--Bret




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