Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: trenskow on August 21, 2004, 10:48:16 PM
-
Hi there
i was trying to install yum o my box, and acidently hit ctrl-c
i wabt to install it again, but when i rpm -ivh * it returns
"package rpm-python-4.0.4-7x.18 is already installed
package smeserver-yum-1.0.0-03dmay is already installed
package yum-1.0.3-1_73 is already installed"
same with rpm -Uvh *
but when i try to rpm -e * i get
"error: package rpm-python-4.0.4-7x.18.i386.rpm is not installed
error: package smeserver-yum-1.0.0-03dmay.noarch.rpm is not installed
error: package yum-1.0.3-1_73.noarch.rpm is not installed"
what to do?
-
I beleive if you use rpm -ivh --force *.rpm that should force the re-install.
-
you can use rpm -Uvh --replacepkgs *.rpm also.
HTH
-
You made the same error as me yesterday: when issuing the "rpm -e" command, you need not to include the ".noarch.rpm" from the file! :D
So uninstalling should look like:
rpm -e rpm-python-4.0.4-7x.18
rpm -e smeserver-yum-1.0.0-03dmay
rpm -e yum-1.0.3-1_73
You can also check the correct package name using:
rpm -q python
rpm -q yum
(I think) as "-q" is for "query"
Hoped it helped! :D