LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-27-2003, 01:30 PM   #1
zaphod_es
Member
 
Registered: Jun 2003
Location: Brazil
Distribution: Ubuntu
Posts: 134

Rep: Reputation: 15
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
 
Old 07-27-2003, 01:32 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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
 
Old 07-27-2003, 02:16 PM   #3
zaphod_es
Member
 
Registered: Jun 2003
Location: Brazil
Distribution: Ubuntu
Posts: 134

Original Poster
Rep: Reputation: 15
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.
 
Old 07-27-2003, 02:19 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
You are attempting this as root and not as user? Administering your system requires you to be root.
 
Old 07-27-2003, 02:35 PM   #5
zaphod_es
Member
 
Registered: Jun 2003
Location: Brazil
Distribution: Ubuntu
Posts: 134

Original Poster
Rep: Reputation: 15
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]#
 
Old 07-27-2003, 02:45 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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

Last edited by fancypiper; 07-27-2003 at 02:50 PM.
 
Old 07-27-2003, 02:51 PM   #7
zaphod_es
Member
 
Registered: Jun 2003
Location: Brazil
Distribution: Ubuntu
Posts: 134

Original Poster
Rep: Reputation: 15
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.
 
Old 07-27-2003, 03:06 PM   #8
zaphod_es
Member
 
Registered: Jun 2003
Location: Brazil
Distribution: Ubuntu
Posts: 134

Original Poster
Rep: Reputation: 15
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
 
Old 07-27-2003, 03:16 PM   #9
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
/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
 
Old 07-27-2003, 03:19 PM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
BTW, Mandrake servers are rather busy, so it may take several tries to get the servers to serve you.
 
Old 07-27-2003, 04:04 PM   #11
zaphod_es
Member
 
Registered: Jun 2003
Location: Brazil
Distribution: Ubuntu
Posts: 134

Original Poster
Rep: Reputation: 15
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.
 
Old 07-27-2003, 04:25 PM   #12
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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
 
Old 07-27-2003, 04:27 PM   #13
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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.
 
Old 07-27-2003, 06:17 PM   #14
zaphod_es
Member
 
Registered: Jun 2003
Location: Brazil
Distribution: Ubuntu
Posts: 134

Original Poster
Rep: Reputation: 15
[/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
 
Old 07-27-2003, 06:33 PM   #15
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
URPMI update list Beckerjr Mandriva 2 09-07-2005 12:05 PM
Don't want kernel-source in urpmi updates toes Mandriva 6 03-09-2005 08:03 PM
URPMI install CD list bichenoubi Mandriva 3 05-23-2004 03:13 PM
Missing List.* files in URPMI directory Ronw Linux - General 2 10-08-2003 03:57 AM
urpmi list.updates missing zaphod_es Mandriva 7 09-20-2003 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration