Re: Yum update corrupted something badly - can only get access through SSH terminal or Webmin

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



Hi Filipe -

Clearly I have indeed got things broken -
# rpm -q yum
package yum is not installed

So I downloaded the rpm for a reinstall as you suggested - but clearly  
I have more to get and install -

I downloaded to my home directory and ran the rpm -Uvh from there

# rpm -Uvh --force yum-3.2.19-18.el5.centos.noarch.rpm
error: Failed dependencies:
	rpm >= 0:4.4.2 is needed by yum-3.2.19-18.el5.centos.noarch
	rpm-python is needed by yum-3.2.19-18.el5.centos.noarch
	yum-fastestmirror is needed by yum-3.2.19-18.el5.centos.noarch

Either I am running this in the wrong location, or there is a lot of  
other stuff out of whack.


On Apr 22, 2009, at 1:29 PM, Filipe Brandenburger wrote:

> Hi,
>
> On Wed, Apr 22, 2009 at 15:17, Dan Roberts <dan@xxxxxxxxxx> wrote:
>> As to the question below - I have that directory, but not that file.
>
> yum-3.2.8-9.el5.centos.2.1 (from CentOS 5.2) has /usr/share/yum-cli/ 
> i18n.py
>
> yum-3.2.19-18.el5.centos (from CentOS 5.3) no longer has that file.
>
> Probably you broke your update in the middle so you got things in an
> inconsistent state.
>
> Try this command to see which yum you have installed:
> # rpm -q yum
>
> And then you can verify if the package's integrity is compromised  
> with:
> # rpm -V yum
>
> I believe to solve your problem you will have to reinstall the RPM for
> "yum" manually.
>
> To do that, download this RPM:
> http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.19-18.el5.centos.noarch.rpm
>
> And then run:
> # rpm -Uvh --force yum-3.2.19-18.el5.centos.noarch.rpm
>
> After that is done, your yum should start working again.
>
> If it does not, report any issues you have, together with the output
> of "rpm -q yum" and "rpm -V yum" after reinstalling the package.
>
> HTH,
> Filipe
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux