LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   urpmi list.Updates (https://www.linuxquestions.org/questions/linux-software-2/urpmi-list-updates-76389/)

zaphod_es 07-27-2003 01:30 PM

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

fancypiper 07-27-2003 01:32 PM

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

zaphod_es 07-27-2003 02:16 PM

Quote:

Originally posted by fancypiper
Have you configured it properly yet?
Properly? I guess not. I used one of the pages you quote Easy urpmi config for Mandrake and kept getting the same sort of message from the commands it produced:

#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.

fancypiper 07-27-2003 02:19 PM

You are attempting this as root and not as user? Administering your system requires you to be root.

zaphod_es 07-27-2003 02:35 PM

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]#

fancypiper 07-27-2003 02:45 PM

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
To add your install CDs, mount CD then add, unmount and do the next, etc.
Code:

urpmi.addmedia install_cd1 removable_cdrom_1://mnt/cdrom
urpmi.addmedia install_cd2 removable_cdrom_2://mnt/cdrom
urpmi.addmedia install_cd3 removable_cdrom_3://mnt/cdrom


zaphod_es 07-27-2003 02:51 PM

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.

zaphod_es 07-27-2003 03:06 PM

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 :(

fancypiper 07-27-2003 03:16 PM

/etc/urpmi/urpmi.cfg
Code:

updates  {
  hdlist: hdlist.updates.cz
  with_hdlist: ../base/hdlist.cz
  list: list.updates
  update
}

Macromedia  {
  hdlist: hdlist.Macromedia.cz
  with_hdlist: hdlist.cz
  list: list.Macromedia
}

rpmhelp  {
  hdlist: hdlist.rpmhelp.cz
  with_hdlist: ../base/hdlist.cz
  list: list.rpmhelp
}

inst.list
Code:

# Here you can specify packages that need to be installed instead
# of being upgraded (typically kernel packages).
kernel
kernel-smp
kernel-secure
kernel-enterprise
kernel-linus2.2
kernel-linus2.4
kernel22
kernel22-secure
kernel22-smp
hackkernel

Here are the commands I used:
Code:

urpmi.addmedia --update updates http://distro.ibiblio.org/pub/linux/...ates/9.0/RPMS/ with ../base/hdlist.cz
urpmi.addmedia main http://distro.ibiblio.org/pub/linux/.../Mandrake/RPMS with ../base/hdlist.cz
urpmi.addmedia contrib http://distro.ibiblio.org/pub/linux/...0/contrib/RPMS with ../../i586/Mandrake/base/hdlist2.cz
urpmi.addmedia Macromedia http://ruslug.rutgers.edu/macromedia...drake/9.0/RPMS with hdlist.cz
urpmi.addmedia rpmhelp ftp://ftp.rpmhelp.net/pub/9.0/RPMS with ../base/hdlist.cz
urpmi.addmedia MandrakeClub ftp://mirrors.usc.edu/pub/linux/dist...ndrakeClub/9.0 with hdlist.cz
urpmi.addmedia unsupported ftp://mirrors.usc.edu/pub/linux/dist...nsupported/9.0 with hdlist.cz
urpmi.addmedia plf http://mirrors.zoreil.com/www.plf.org/9.0 with hdlist.cz


fancypiper 07-27-2003 03:19 PM

BTW, Mandrake servers are rather busy, so it may take several tries to get the servers to serve you.

zaphod_es 07-27-2003 04:04 PM

Quote:

Originally posted by fancypiper
/etc/urpmi/urpmi.cfg[CODE]updates {
hdlist: hdlist.updates.cz
with_hdlist: ../base/hdlist.cz
list: list.updates
update
}

I put that entry in exacly like that but added the ftp address. It is that penultimate line that mentions list.updates that continues the problem. Also it is hard to see the logic of when it is update or updates or Updates.

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.

fancypiper 07-27-2003 04:25 PM

What files do you have in /mnt/mandrake/var/lib/urpmi?
Code:

root@uilleann /mnt/mandrake/var/lib/urpmi # ls
compssUsers.flat      hdlist.rpmhelp.cz  list.rpmhelp                    synthesis.hdlist.rpmhelp.cz
descriptions.updates  hdlist.updates.cz  list.updates                    synthesis.hdlist.updates.cz
hdlist.Macromedia.cz  list.Macromedia    synthesis.hdlist.Macromedia.cz


fancypiper 07-27-2003 04:27 PM

Quote:

Originally posted by zaphod_es
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.

Macromedia partially supports Linux, but some pages don't display right.

Those commands are supposed to generate those lists, I think.

zaphod_es 07-27-2003 06:17 PM

[/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

fancypiper 07-27-2003 06:33 PM

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.