Re: Can't add or remove packages in FC4

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

 




--- James Kosin <jkosin@xxxxxxxxxxxxxxxxxx> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>  
> BRUCE STANLEY wrote:
> 
> |
> |I don't know if this is related or not but I had
> |a weird problem with rpm last night.
> |
> |I installed the  gnuchess program from the Fedora
> |Extras and this is what happen:
> |
> |      rpm -iv  gnuchess-*
> |
> |      Everyting installed without errors.
> |
> |      Tried to run program unde  KDE & Gnome
> |      to no avail.
> |
> |      Went to remove the pacakage via
> |            rpm -ev gnuchess-*  
> |
> |         it told me that the package was not
> |installed.
> 
> This is correct!
> Although, I'm not sure everyone knows this... -e
> option does not take
> wild cards.  The -i allows it because they are
> looking for files and
> when you remove a package you are not talking file
> names anymore.
> Best this for this would be to
> ~    rpm -qa | grep gnuchess-*
> Then take that file list and run them to
> ~    rpm -e ....
> 
> 
> |
> |      Ran another   rpm -iv ...  and rpm told me
> that
> |      the package was already installed.
> |
> |      Huh?
> 
> Ok, it already is installed!  Remember, we are
> talking packages not
> files here....
> 
> |
> |      Ran   rpm  --rebuilddb
> |
> |      The rpm system still things that the package
> |      in not installed ( -e )  and installed ( -i )
> |      at the same time.
> |
> |I wound up doing a  rpm -qpl gnuchess-*  and
> removed
> |the files/dirs myself by hand ....  :-(  
> |
> :-(   Bad idea...
> 
> |
> |
> Good Luck,
> James Kosin
 

Huh?  The wild card on the gnuchess-*.rpm name is
suppose to be resolved by the shell before the
rpm command sees it.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux