hi ,
i removed sqllite . after that yum and rpm doesnt work. is there any way to fix it ? pls help :-?
YUM AND RPM WONT WORK
Re: YUM AND RPM WONT WORK
Reinstall unless you know enough to boot from the rescue DVD and run the static version of rpm that's on there with the --root parameter pointing to your installed rpm database and reinstall the sqlite rpm.
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
YUM AND RPM WONT WORK
If he removed sqllite, there is going to be a lot more missing.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: YUM AND RPM WONT WORK
Not if removal was forced with RPM rather than by letting yum remove all the dependencies, in which case I suspect yum and rpm would be gone, and not just not working.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: YUM AND RPM WONT WORK
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Please explain exactly what you did to remove sqlite. It should be possible to reinstall the package in rescue mode. The installed system should be mounted under /mnt/sysimage and the DVD installation directory can be mounted elsewhere, say /mnt/dvd, so it should go something like this after the boot from installation media in rescue mode:
[code]mkdir /mnt/dvd
mount /dev/dvd /mnt/dvd
rpm --root=/mnt/sysimage -ivh /mnt/dvd/CentOS/sqlite-3.3.6-5.i386.rpm
exit[/code]
Substitute x86_64 for i386 if on 64-bit.
If more help is needed please tell us what architecture you installed, i386 or x86_64, and explain exactly where you are running into trouble.
Please explain exactly what you did to remove sqlite. It should be possible to reinstall the package in rescue mode. The installed system should be mounted under /mnt/sysimage and the DVD installation directory can be mounted elsewhere, say /mnt/dvd, so it should go something like this after the boot from installation media in rescue mode:
[code]mkdir /mnt/dvd
mount /dev/dvd /mnt/dvd
rpm --root=/mnt/sysimage -ivh /mnt/dvd/CentOS/sqlite-3.3.6-5.i386.rpm
exit[/code]
Substitute x86_64 for i386 if on 64-bit.
If more help is needed please tell us what architecture you installed, i386 or x86_64, and explain exactly where you are running into trouble.
Re: YUM AND RPM WONT WORK
yes. i removed it via yum and all the dependancies were un installed :(
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: YUM AND RPM WONT WORK
You need to back up any valuable data and do a fresh install.