LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 12-04-2004, 08:03 PM   #1
PeteHeyes
LQ Newbie
 
Registered: Dec 2004
Location: Preston, UK
Distribution: Mandrake 10.1
Posts: 8

Rep: Reputation: 0
Using urpmi - where do the downloaded files go ?


As a nOOb to Linux - 1 week in - I've found that I need to re-install quite frequently (to sort out partitions for dual boot, problems with X that I'm so far incapable of sorting out from the command line etc)

I VERY MUCH LIKE what I find so far with LINUX.

However having discovered the joys of urpmi (via this site and easyurpmi.zarb.org ) I have 2 related questions....

1. How can I recognise - and thus copy to CD - those files that have been downloaded via urpmi ?
2. How - on a subsequent reinstall - do I make urpmi aware that I have the relevant files (or most of them - given 'new' releases) to hand and thus prevent the slow process of downloading them yet again

P.S.

Mandrake 10.1 Community installed from DVD/cdrom
CD-RW drive = cdrom1
DVD/CD drive = cdrom
 
Old 12-04-2004, 09:07 PM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
The easiest way is to not *install* them, but just download. Fidn where urpmi is downloading the files from (should be an ftp server) and connect to it using an ftp program of choice. Download teh respective programs and burn them (the *.rpm files) to a disk.
Code:
man urpmi
for deatils on listing servers.
 
Old 12-05-2004, 04:34 PM   #3
PeteHeyes
LQ Newbie
 
Registered: Dec 2004
Location: Preston, UK
Distribution: Mandrake 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks scuzzman

I probably wasn't very clear in my original post that it was actually the hdlist.cz files that I was after rather than rpm files - it is these that take the bulk of the time to download at the moment.

Anyway I found them in /var/lib/urpmi and have copied them onto a FAT32 partition for safe keeping.... though whether of course I can manage to get them to work when the need arises isn't yet clear to me.......

Easy urpmi creates console commands such as

Code:
urpmi.addmedia main ftp://ftp.sunsite.org.uk/package/man...586/media/main with media_info/hdlist.cz
for which, in man I see
Code:
ftp:

         urpmi.addmedia  [options]  <name>  ftp://<login>:<pass>@<host>/<path>
       [with <relative path of synthesis|hdlist>]
              The same as for http, just add your login and user  if  required
              (Note  that you needn't to specify anonymous as login for anony-
              mous access ftp servers).
              Note that if wget is used to download files with a firewall  you
              may have to add passive_ftp=on option to /etc/wgetrc.
              eg:  urpmi.addmedia  ftp  ftp://a:a@leia//export/media/main with
              media_info/hdlist.cz
So I'm a little confused - can I add a local path to hdlist ? how do I define it ? what syntax should I use ? Or does the term 'relative' just mean relative within the ftp site (as it would - I think - in HTML), and that urmpi.addmedia will always download the hdlist.cz from the ftp site?

Thanks again
Pete

Last edited by PeteHeyes; 12-05-2004 at 04:46 PM.
 
Old 12-05-2004, 07:47 PM   #4
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
urpmi.addmedia will download the hdlist.cz because the software could've (and in fact, probably did) change since the last time your downloaded it.
It may be a bit easier to download the synthesized hdlist. these are MUCH smaller, but dont include descriptions...
 
Old 12-06-2004, 11:03 AM   #5
PeteHeyes
LQ Newbie
 
Registered: Dec 2004
Location: Preston, UK
Distribution: Mandrake 10.1
Posts: 8

Original Poster
Rep: Reputation: 0
OK.

I thought it might do something along those lines. I'll think about using the synthesis files in future...

Thanks
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
YOU downloaded files stored where?? manuelkuhs Suse/Novell 2 01-02-2005 06:42 PM
can't see downloaded files on desktop feetyouwell Linux - Software 0 08-29-2004 10:40 AM
Where does urpmi put downloaded files? craigl Mandriva 1 04-29-2004 07:28 PM
Konqueror downloaded files escordeiro Linux - Software 3 09-21-2003 03:13 PM
Accessing downloaded files jd300 Linux - Newbie 10 12-19-2001 10:23 PM


All times are GMT -5. The time now is 12:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration