Hi I was running the uprmi (in console) after a fresh install..... please do not ask why... it is complicated Anyway, the first three commands went fine. However, halfway through running the download stopped and would not go any further. I tried again but got a message that contrib already exists. When I tried to install Thunderbird in the control centre I got the messsge quoted in the title. Is it something I have done or has the database gone out for maintenance or simillar? Sorry dad..... did I break something?
If you get a 'urpmi database locked' message, it means something has exclusive use of the urpmi database, more than likely another instance of urpmi itself. If urpmi is hung (e.g. it was interrupted or your internet connection went down part-way through an update), you can remedy the situation by killing the process. Type the following as root: Code: killall urpmi If your urpmi sources themselves are screwed up for whatever reason (e.g. bad mirror, whatever), you can remove all of the sources by using the following command (as root): Code: urpmi.removemedia -a Alternately, if there's only one source you want to remove, you can specify that instead. For example, if you wanted to remove a source called "contrib", you'd type the following as root: Code: urpmi.removemedia contrib Hope this helps... -AT
Hi AT Thanks very much for this. I removed all the medias and started again. However, using the -a meant I removed the CD and DVD as well. Will that make any difference? I still have the install DVD.... Ta ta....
You can re-add them if you like, but if you have broadband it's actually easier to use online media rather than the CDs/DVD. That's what I do.
I think so too! Saves on inserting the friggin DVD in every time. I just wanted to make sure it will not effect me later or sumfink. My Mandriva keeps confusing me though.... W! as long as it works, I am happy........ cheers, m8
What happens though when software is updated, wouldn't it replace the previous version in the repository?
No. That's what the 'update' repository is for. The newest version of a program, on any repository, supersedes the installed version.