Russell Davie wrote: > I figured oout to use it for local disks and updated several rpms. > however haven't much luck in getting files from ftp server > (planetmirror.com) > 1) how do I point it to a ftp site to download rpms? (command line > example, please)
ok, you've got to add media for it. I'm using mirror.aarnet because I'm only using it to get the cooker RPMS. It sounds like you're in a similar situation. Here's the commands I used to add cooker as a source (though be warned, stuff breaks when you use cooker - it is extremely experimental) urpmi.addmedia --wget cooker1 ftp://mirror.aarnet.edu.au/pub/mandrake/devel/cooker/i586/Mandrake/RPMS with ../base/hdlist.cz urpmi.addmedia --wget cooker2 ftp://mirror.aarnet.edu.au/pub/mandrake/devel/cooker/i586/Mandrake/RPMS2 with ../base/hdlist2.cz If you need to install some arbitrary rpm that you isn't in your source list (and you can't add it because only the rpm files are included and not the hdlist.cz files), then *I think* you can just download the rpm and specify that when you run urpmi ie urpmi downloadedfile.rpm but it's been some time since I've done that. Another source I highly recommend adding is Penguin Liberation Front - http://plf.zarb.org - go there and read about it. They've got the command to set it up for both 8.2 and cooker. > > > 2) where does it put the downloaded files? how can this location be > changed? it puts them in /var/cache/urpmi/rpms/. I don't think it can be easily changed, and I think it only stores them long to install them. The solution I'm working towards here is setting up a proxy server that has a really long expiry time on files and about a 300MB cache so that when I install stuff on one computer, the files will be retrieved from my proxy. That way I don't worry about storing out of date rpms and they're still accessible from all the computers in the house without adding to my (already immense) download bill. Just one other thing. If you find you're having trouble downloading some file with urpmi, it probably means that the file has been replaced by a newer version. You fix it by telling urpmi to update its database for that source with urpmi.update <source name> so for the example above: urpmi.update cooker1 urpmi.update cooker2 HTH James. > > > TIA > Russell > > At 11:08 PM 31/07/02 +1000, you wrote: > >ok. Recommend you try URPMI, but I've ranted enough about it in the last > >------------------------------------------------------------------------ > > >--- >Outgoing mail is certified Virus Free. >Free Antivirus @ http://www.grisoft.com/ >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.374 / Virus Database: 209 - Release Date: 9/07/02 > > -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
