Russell Davie wrote regarding urpmi: > 1) how do I point it to a ftp site to download rpms? (command line example, > please)
For planetmirror, use something like: urpmi.addmedia --update planetmirror http://planetmirror.com/pub/mandrake/updates/8.2 with base/hdlist.cz This assumes you're using Mandrake 8.2 and want to label this urpmi source as 'planetmirror'. You can use ftp instead of http, but I think I heard somewhere that http was a faster protocol. Following this urpmi should download files from planetmirror instead of locally. (Cross reference for Debian users - this command is pretty much equivalent to sticking a new mirror in your sources list and running apt-get update. Can you do that in a single command using apt? I mention this because there's been a bit of talk on the list recently about rpm's being below par and such. Comes down to a matter of knowing how to use the various tools IMHO. Further on this, urpmi --auto-select is more or less equal to apt-get -u dist-upgrade). > 2) where does it put the downloaded files? /var/cache/urpmi/rpms > how can this location be changed? Run something like: urpmi.addmedia planetmirror file://dir/you/want/downloads/in Again, 'planetmirror' is whatever you labelled the rpm source as. Actually, I expect you can add a file:// to the original command and do it in one go. You might be able to directly edit /etc/urpmi/urpmi.cfg, but I have no idea what happens if you do. Have a look at man urpmi and man urpmi.addmedia for more info. Probably you should do that anyway, as I am tired and may have mistook the above. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
