urpmi list.Updates
Whatever I try to do with urpmi I end up with the same message about list.Updates being missing. For example:
# urpmi php unable to take medium "Updates for Mandrake Linux 9.1 (ftp1u)" into account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux 9.1 (ftp1u)] exists no package named php or # urpmi.removemedia -a unable to take medium "Updates for Mandrake Linux 9.1 (ftp1u)" into account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux 9.1 (ftp1u)] exists I need to find out how to find the missing file and put it where it belongs. I do have: /var/lib/urpmi/hdlist.Updates for Mandrake Linux 9.1 (ftp1u).cz |
Have you configured it properly yet?
# Mandrake links Mandrake home page Mandrake Users website Easy urpmi config for Mandrake urpmi mini-HOWTO Easy software management: Red Carpet Maximum RPM rpmfind You didn't install the developmental packages? As root, command: urpmi gcc An Introduction to the Midnight Commander. You can install it by commanding: urpmi mc Midnight Commander home page |
Quote:
#urpmi.removemedia -a unable to take medium "Updates for Mandrake Linux 9.1 (ftp1u)" into account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux 9.1 (ftp1u)] exists removing medium "plf" found 0 headers in cache removing 0 obsolete headers in cache write config file [/etc/urpmi/urpmi.cfg] and #urpmi.addmedia plf ftp://plf.time4t.net/pub/plf/9.1 with hdlist.cz unable to take medium "Updates for Mandrake Linux 9.1 (ftp1u)" into account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux 9.1 (ftp1u)] exists I will take a look at the other links, thanks. Googling for the quoted path produces several references but nothing very helpful. |
You are attempting this as root and not as user? Administering your system requires you to be root.
|
Yes.
[zaphod]$ su - Password: [root]# urpmi gcc unable to take medium "Updates for Mandrake Linux 9.1 (ftp1u)" into account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux 9.1 (ftp1u)] exists no package named gcc [root]# |
What happens if you give this command as root?
Code:
urpmi.addmedia --update updates ftp://ftp.rediris.es/pub/linux/distr...ates/9.1/RPMS/ with ../base/hdlist.cz Code:
urpmi.addmedia install_cd1 removable_cdrom_1://mnt/cdrom |
I have made some progress from the mini how to page you linked me to.
At least part of the problem is the urpmi.cfg less urpmi.cfg plf ftp://plf.time4t.net/pub/plf/9.1 { hdlist: hdlist.plf.cz with_hdlist: hdlist.cz list: list.plf } That is the entire file. The command: urpmi.removemedia -a clearly worked. The new lines did not appear. If someone could post the contenets of their urpmi.cfg I could adapt it to my needs. |
Nothing doing:
urpmi]# urpmi.addmedia --update updates ftp://ftp.rediris.es/pub/linux/dist...dates/9.1/RPMS/ with ../base/hdlist.cz unable to take medium "Updates for Mandrake Linux 9.1 (ftp1u)" into account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux 9.1 (ftp1u)] exists added medium updates examining synthesis file [/var/lib/urpmi/synthesis.hdlist.plf.cz] retrieving description file of "updates"... retrieving source hdlist (or synthesis) of "updates"... ftp://ftp.rediris.es/pub/linux/dist...dates/9.1/base/hdlist.cz ...retrieving failed: curl failed: exited with 9 or signal 0 retrieve of source hdlist (or synthesis) failed no hdlist file found for medium "updates" examining synthesis file [/var/lib/urpmi/synthesis.hdlist.updates.cz] problem reading synthesis file of medium "updates" unable to update medium "updates" urpmi]# "To add your install CDs, mount CD then add, ..." All this started when I was trying to stop it demanding the CD every time I did something. The computer is remotely administered and has a broadband connection so it seemed sensible to use FTP. I am begiining to regret that :( |
/etc/urpmi/urpmi.cfg
Code:
updates { Code:
# Here you can specify packages that need to be installed instead Code:
urpmi.addmedia --update updates http://distro.ibiblio.org/pub/linux/...ates/9.0/RPMS/ with ../base/hdlist.cz |
BTW, Mandrake servers are rather busy, so it may take several tries to get the servers to serve you.
|
Quote:
Macromedia { hdlist: hdlist.Macromedia.cz with_hdlist: hdlist.cz list: list.Macromedia } It is off topic but are Macromedia supporting Linux? It seems that I must either generate a file called list.updates or find one somewhere and copy it. I must say that I am very grateful to you, fancypiper, for taking time out on a Sunday to help me out. |
What files do you have in /mnt/mandrake/var/lib/urpmi?
Code:
root@uilleann /mnt/mandrake/var/lib/urpmi # ls |
Quote:
Those commands are supposed to generate those lists, I think. |
[/i]
Macromedia partially supports Linux, but some pages don't display right.[/I] That is very interesting. If I can make Dreamweaver work under Codeweavers or Wine I will be a big step nearer dumping Windows! Those commands are supposed to generate those lists, I think. I had a horrible feeling you were going to say that. What files do you have in /mnt/mandrake/var/lib/urpmi? # ls /var/lib/urpmi compssUsers.flat hdlist.Updates for Mandrake Linux 9.1 (ftp1u).cz descriptions.updates list.plf hdlist.contrib.cz synthesis.hdlist.contrib.cz hdlist.plf.cz synthesis.hdlist.plf.cz hdlist.updates.cz synthesis.hdlist.updates.cz It is now after 1 am in Europe and I am dead! Thanks for your help. In the morning I will carefully work through it all and find out what stupid mistake I have made. Thanks |
Probably just busy servers. It took me a couple of days to get synced up on one install as the servers were always busy and refused to serve me.
|
All times are GMT -5. The time now is 06:01 PM. |