LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-17-2003, 03:43 PM   #1
subzero0
Member
 
Registered: Aug 2003
Location: NY
Distribution: Mandrake
Posts: 36

Rep: Reputation: 15
urpmi wont let me install anything


I continue to get this error when trying to install:

[root@Xi0n MozillaFirebird]# urpmi kpackage
unable to take medium "main" into account as no list file [/var/lib/urpmi/list.main] exists
no package named kpackage
[root@Xi0n MozillaFirebird]#


does anyone know how to correct this?
 
Old 12-17-2003, 04:05 PM   #2
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
Yep. Do a urp,i.removemedia main
then go out to the plf: http://plf.zarb.org/
and set up a new source. The ftp site you selected is etheir down or overloaded.
 
Old 12-17-2003, 04:06 PM   #3
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
That shoul read urpmi.removemedia main
 
Old 12-18-2003, 11:22 AM   #4
subzero0
Member
 
Registered: Aug 2003
Location: NY
Distribution: Mandrake
Posts: 36

Original Poster
Rep: Reputation: 15
but isn't the file urpmi is looking for a local file?

does this error really have anything to do with whether one or all of the mirror's are down or not?
 
Old 12-18-2003, 11:43 AM   #5
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
No. When you do a urpmi.addmedia it downloads a list of files it has on the ftp site not the files themselves. When you do a urpmi (file name) it looks thru those list for the file and what ftp site its on then it looks at the rpms itself and see what the dependency are. Then goes to that ftp server downloads it and then installs
 
Old 12-18-2003, 12:41 PM   #6
sick-o-windoze
Member
 
Registered: Nov 2003
Distribution: ubuntu 5.10
Posts: 84

Rep: Reputation: 15
Don'l take the plf.zarb.org EasyUrpmi page at face value. Just paste the different addresses into the browser until I find a site that responds fairly quickly. Faster than letting them time out or just work painfully slow. If I get a zappy site, I use that one. You can also just copy and paste into the Mandrake GUI for the RPM sources.
 
Old 12-18-2003, 12:44 PM   #7
sick-o-windoze
Member
 
Registered: Nov 2003
Distribution: ubuntu 5.10
Posts: 84

Rep: Reputation: 15
Oh by the way, I still haven't found a good "contrib" location. the Installer always squawks at me about the list file being invalid. Anybody know if that's just a typical thing?
 
Old 12-18-2003, 01:50 PM   #8
EnVoy
Member
 
Registered: Mar 2003
Location: Newport Beach, CA
Distribution: Mandrake 10 Community
Posts: 73

Rep: Reputation: 15
>I still haven't found a good "contrib" location<

I get the same thing. I haven't been able to up date my sys in weeks, urpmi errors out on any server i use, even the recomended oned from MandrakeClub. I'm lost!
 
Old 12-18-2003, 02:21 PM   #9
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
This just saved me a lot of work, my network crashed lastnight while setting up urpmi.
 
Old 12-18-2003, 02:26 PM   #10
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
You don't need the contrib to do updates. I also found out that when I needed a file it couldn't find it on the souces I had defined. I then added a contrib to my system(Didn't have one until then) did a urpmi (file name) it found the file on the contrib ftp server downloaded it installed it and then complained that the contrib ftp server had an invalid hdlist. So are the warning message real or not.
 
Old 12-18-2003, 03:15 PM   #11
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
This is a message for sick-o-windoze. What do you mean by
"Don'l take the plf.zarb.org EasyUrpmi page at face value" if you know what your doing this site works fantastic. Set up more than a singe source for each of the source types( main,plf,update, and contrib) The main source is only if you don't have the cd's or cd images. When you do a urpmi (file name) it will go from one souce to the next until it finds what it looking for. You can also do a urpmi ftppath to and filename) urpmi will download it and install it for you. What you said to do will open you for a ton of download of dependences. This is what urpmi is good for it does it for you. Check for the faster ftp server if you want and add them in that order to your urpmi database to get faster urpmi downloads. I rarely and I mean rarely download a file manually anymore.
 
  


Reply



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
syntax problem with noclean option for rpmdrake urpmi /var/cache/urpmi/rpms Emmanuel_uk Mandriva 12 05-06-2007 07:29 PM
Can't Install urpmi unrar dolphans1 Mandriva 3 09-25-2005 11:05 PM
URPMI install problems ryedunn Mandriva 3 10-14-2004 09:22 AM
2 probs, apt-get wont download anything. blackbox wont install minibootsy Linux - Software 2 06-10-2004 01:55 AM
URPMI install CD list bichenoubi Mandriva 3 05-23-2004 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:49 AM.

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
Open Source Consulting | Domain Registration