LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RPM data base always becaomes corrupt !!! (https://www.linuxquestions.org/questions/linux-software-2/rpm-data-base-always-becaomes-corrupt-121687/)

qwijibow 12-01-2003 02:05 PM

RPM data base always becaomes corrupt !!!
 
i need to free up some space on my system....
so since ive installed everything that needs compiling
i decided to remove X devel tools....
and the development tools (gcc ect)


however, when i hit update on redhat-package-manager
it starts readding the package headers, and calulating dependency's

then stops with the error message, could not find package XXX
operation cannot continue utill this is installed.
this is NOT a package dependecy, this is an error...

rpm -qa | grep shows that the package IS installed.

i cannot install or remove anything with redhat-package-manager

and installing things manually through command line is just too time consuming for large things like ALL the development tools.

rpm --initdb
rpm --updatedb

fails, it says a device is busy or in-use....

this is soo anoying, and it happens EVERY time i install redhta linux.

how do i fix this ???

davecs 12-01-2003 02:11 PM

Quote:

how do i fix this ???
Try Mandrake? I've recently switched to Gentoo but I would say if you want an GUI install and an easy software update system, Mandrake is the one...

DAVE

ilikejam 12-01-2003 02:14 PM

Hi.

Have you tried a --force install of the package you need? A file or two in the package may have gone missing, and a forced reinstall might put it back.

Dave

P.S. The error message after the rebuilddb or initdb is a known issue, but apparently it's caused by an rm *, which gives an error, because it encounters '.' and '..', but the error is harmless, and the rebuild completes properly.

qwijibow 12-01-2003 02:30 PM

ive tried reinstalling the UNLOACATABLE resources, and the install goes fine...
however this does not fix my problem.

im dowloading fedora core one...
but thats only 10% through :( (56 modem)

i know the answer is NOT just rre-install every time i have a problem, but a complete system re-install takes 20 mins, and ive already spent 30 mins trying to fix it... AGH

ilikejam 12-01-2003 02:44 PM

Hi again.

You might want to check your $PATH for root, as rpm might not be able to find an executable it needs.

Try 'locate <name of thing it's looking for>' and see if it turns up in 'which <name of thing it's looking for>' (while you're on as root) if not, modify $PATH accordingly.

Just a thought......

Dave


All times are GMT -5. The time now is 11:54 PM.