Removed YUM by mistake :( what to do ?

Issues related to software problems
Post Reply
omara007
Posts: 20
Joined: 2006/01/02 03:52:32

Removed YUM by mistake :( what to do ?

Post by omara007 » 2009/04/14 03:05:50

Hi guys ..

I have removed yum from my CentOS 4 by mistake when I was removing 'sqlite' package :( .. what should I do to return it back ?
Given that when I removed 'sqlite', the following were the dependencies that were removed as well:
=============================================================================
Package Arch Version Repository Size
=============================================================================
Removing:
sqlite i386 3.3.6-2 installed 365 k
Removing for dependencies:
python-sqlite i386 1.1.7-1.2.1 installed 103 k
yum noarch 2.4.3-4.el4.centos installed 1.3 M
yum-metadata-parser i386 1.0-8.el4.centos installed 50 k

Transaction Summary
=============================================================================


Please help.

User avatar
AlanBartlett
Forum Moderator
Posts: 9323
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Removed YUM by mistake :( what to do ?

Post by AlanBartlett » 2009/04/14 12:53:43

[quote]I have removed yum from my CentOS 4 by mistake when I was removing 'sqlite' package :( .. what should I do to return it back ?[/quote]
Download ([b]wget[/b]) the packages from your local mirror site (http://www.centos.org/modules/tinycontent/index.php?id=31) into a temporary directory that contains no other files then, as [i]root[/i], install them --

[code]
[b]rpm -ivh *.rpm[/b]
[/code]
The [i]sqlite[/i] package is required by [i]yum[/i] so, basically, you will need to perform a manual reinstall of those four packages.

Post Reply

Return to “CentOS 4 - Software Support”