On May 13, 2004, at 0:16, Marc Hultquist wrote:


Morning

I was just reading up and trying to get urpmi to work properly.. But I cant
seem to, I am very familiar with apt-get but I use Debian purely in a server
enviroment, and I am now trying to get urpmi to work for my laptop.... I
could obviously set up apt-get on a mdk box(I imagine so since it is possible
under redhat), however, I would prefer to stay with the tools mdk comes with.


Now what I would like to know.
1. How do I tell urpmi to go around my proxy? And if I cant do this how would
I get urpmi to authenticate ? I could always do as follows
export http_proxy="http://user:[EMAIL PROTECTED]:port/"
but that does not seem to allow urpmi to authenticate :\
2. A list of mirrors, I found a mirror file generator on the net once, and I
told it what I wanted, and well as s expected, it generated the mirrors, I
pasted them into my /etc/urpmi/urpmi.cfg file, but then it wont allow me to
download the updates, I imagine its something todo with my proxy server here
at work ?

Use this link to generate the correct list of mirrors. Don't add the manually to the urpmi.cfg file but rather run the command this site gives, as root, from the command line.


To get the list of files in all the mirrors updated:

urpmi.update -a

To update only the update source:

urpmi.update --update

To update your system only from the update source:

urpmi --update --auto-select

To update your system from all sources:

urpmi --auto-select

I never use urpmi with a proxy but the man page talks about the following switches

   --proxy proxyhost[:port|1080]
        Use specified HTTP proxy.
   --proxy-user user:password
        Use specified user and password to use for proxy authentication.

Or try to use the following syntax in /etc/urpmi/proxy.cfg:

http_proxy=hostname:port
proxy_user=user:pass

Avi


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to