-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Friday 28 February 2003 03:38 pm, Praedor Atrebates wrote:
I have had much problems with urpmi on my desktop system. Virtually any package name or fragment I pass through urpmi fails. My latest failure was in trying to install tnef:
[EMAIL PROTECTED] praedor]# urpmi tnef package perl-Convert-TNEF-0.17-2mdk.noarch is not found. unable to get source packages, aborting
I get this same result regardless of package. I do NOT want internet sources, I have a pathetic 56k modem connection. I want to install these packages from the distro 9.0 cd's. How do I update the software manager so that this will work properly?
By the way, I know of the website that autogenerates a urpmi command for updating but...I do NOT want any internet sources and it appears that the website for this only uses internet-based urpmi sources.
Thanks for any aid,
praedor
If you are having problems with the rpm database, the first thing to try is delete any /var/lib/rpm/__db.00* files and rpm --rebuilddb. After that, the errata might be in order, http://www.mandrakelinux.com/en/errata.php3#urpmi, or this is the same problem where you solved it before:
"I did it with "urpmi.addmedia -h /mnt/cdrom" with my 9.0 CD1 in the drive. It appears "fixed" now."
If your CD sources are already defined in mcc > Software Management > Software Sources Manager, you could update them to see if the correct records get written. Make sure they are enabled with a check (this should be done at first to be sure this is not causing your problem). All the hdlists are on CD1, so put CD1 in the reader and select Update.
Pascal has a bare-metal procedure here: http://hermes.afaa.asso.fr/users/pascal/linux/rpm-rebuilddb
What I have done that is similar is to add the sources from an hd install that were not added by the installer. There might be sufficient parallelism that it works for you:
If you can't get the defined sources to work any other way, remove and re-add them. You could retrieve the name of each source from Sources Manager or, what worked for me:
# urpmi.update
the entry to update is missing
(one of Installation CD 1 (x86) (disk1), Installation CD 2 (x86) (disk2), International CD (x86) (disk3)
So the name of the CD1 source would be Installation CD 1 (x86) (disk1), the path would be /mnt/cdrom/Mandrake/RPMS, the hdlist path would be ../base/hdlist1.cz
Add the source with CD1 in the reader. The other sources, I believe, will need to be added with CD1 read as the hdlists are on it. So, give name as Installation CD 2 (x86) (disk2, the path as /mnt/cdrom/Mandrake/RPMS2, hdlist as ../base/hdlist2.cz
The last source would be International CD (x86) (disk3), path is /mnt/cdrom/Mandrake/RPMS3, hdlist is ../base/hdlist3.cz
Your path to the reader might be different and, as I said, I have only added sources from hd as I did an hd install. The media name is probably arbitrary but there was something in my system that retained the official name, even though the source was not defined, so I used that. Considering all the trouble you are having with this, is it possible there is a fault in your CDs or hardware, cable, etc?
Rolf
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
