RichardA wrote:
On Thu, 18 Sep 2003 23:05:46 +0300, Phazeman <[EMAIL PROTECTED]>
wrote:

If you are talking about Mandrake 9.1 then the answer is simple - your
rpm db just broke up. It's pretty simple to fix it though. First you
have to delete the old rpm db:
# rm -rf /var/lib/rpm/__db.*
then just rebuild the db (without loosing the currently installed
packages list):
#rpm --rebuilddb

I don't think i have to mention that all this should be done as root
After the rebuilddb finish - go ahaead and update your sources again (urpmi.update -a). And next time you want to update something ONLY
from the updates mirror - you can use the --update switch with the
urpmi that tells it to use ONLY the updates.


It's MDK 9.0, but I don't think that matters in this case. I've used
this fix before, but I didn't recognise that it was needed for this
fault. Thanks.

I don't understand the last part of your message. What is significant
about the --update switch? The urpmi mini-howto says "Once the security
source is added, we can check for and install security updates with
urpmi.update -a followed by urpmi --auto-select".

Richard

The "--update" switch tells urpmi to update the system from the *update urpmi source only*.


Examples:

"urpmi --updates --auto-select" will update everything from the *updates* urpmi source.

"urpmi --auto-select" will update the machine from *all* urpmi sources.


-- Brant Fitzsimmons [EMAIL PROTECTED] ------------------------------------------------------------------- Linux user #322847 | Linux machine #207465 | http://counter.li.org/ AMD Duron 1.3GHz | Mandrake Linux 9.1 | Kernel 2.4.21-0.16mm-mdk Reiserfs and XFS | KDE 3.1.3 | Mozilla 1.4 Mail Client Uptime: 13:15:01 up 13 days, 30 min, 1 user, load average: 0.49, 0.53, 0.52 ------------------------------------------------------------------- "All truth passes through three stages. First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident." -Arthur Schopenhauer (1788-1860)


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to