mikeoneil Posted January 13, 2003 Report Share Posted January 13, 2003 Hello All, I've almost always used the Mandrake Control Center / Install Software to add RPM packages. Now I always receive the following error message: " Everything already installed (is this supposed to happen at all?) " I get this for all RPMs even those that I definately do not have installed. The source, be it removable or ftp makes no difference. I have updated all sources. I can find nothing in the logs that might explain what has happened. Does anyone have any ideas what may have happened? The only significant thing I've done since it was last working is to remove, then add the 3 installation cd's to a different mount point. I also removed (using MCC/remove software) Eroaster. Also, I downloaded 'arson' mdk.rpm (CD burning GUI) from rpmseek and attempted to install, I think kpackage launched and complained of some conflict. From thn on I had problems with MCC/Software Install. Thanks Mike. > MDK9.0 Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted January 13, 2003 Report Share Posted January 13, 2003 Try (as root) rpm --rebuilddb and then installing something new with rpmdrake (software installer) Quote Link to comment Share on other sites More sharing options...
mikeoneil Posted January 13, 2003 Author Report Share Posted January 13, 2003 I tried rpm --rebuilddb as root and this made no difference. What I've done now is removed all the sources and am now adding them again using urpmi.addmedia This seems to work for ftp sites at least, I now have another problem with the 3 installation cds. I can mount them, no problem, but when I try "urpmi.addmedia Mandrake1 removable://mnt/cdr/Mandrake/RPMS with ../base/hdlist.cz" I get the error 'unable to access medium "Mandrake1"' Just out of interest, how does urpmi know what is already installed? Does it scan the entire system during bootup or is there a file listing all packages. What happens if you delete something without going through urpmi? Cheers, Mike Quote Link to comment Share on other sites More sharing options...
beesea Posted January 13, 2003 Report Share Posted January 13, 2003 to re-add your cd sources: urpmi.addmedia --distrib cdrom removable:///mnt/cdrom how does urpmi know what is already installed? i'm not positive about this, but i'm pretty sure that rpm keeps a database of all installed rpms Quote Link to comment Share on other sites More sharing options...
bvc Posted January 14, 2003 Report Share Posted January 14, 2003 with no rpm proccess running look in /var/lib/rpm...if there are any _db.0? files delete them, then rpm --rebuilddb rpm --initdb Quote Link to comment Share on other sites More sharing options...
mikeoneil Posted January 14, 2003 Author Report Share Posted January 14, 2003 Thanks for all the help. In /var/lib/rpm I found no _db.0 files. So as I said I deleted all the sources and then used urpmi.addmedia to restore my ftp sources. For the distribution cds I did as beesea suggested and all is now fine! Cheers, Mike Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.