Re: Can't add or remove packages in FC4

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

 



-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC3nj0kNLDmnu1kSkRAih9AJ0YeDKYt0q9LMuZCysrC0NX6Atr9wCdEFTu
ZhSM0Qpscme320oq4eOX4Zk=
=cPhy
-----END PGP SIGNATURE-----


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

  Powered by Linux