http://qa.mandrakesoft.com/show_bug.cgi?id=6056
------- Additional Comments From [EMAIL PROTECTED] 2003-09-10 09:09 ------- With perl-URPM-0.94-6_91mdk and urpmi-4.4-38_91mdk URPMI works if environment http_proxy is set, but no urpmi proxy is set. Except I have problems if the name of update source is 'update_source' (as set by default). The problem is as follows: urpmi.addmedia update_source ftp://nanos/linux/distr/Mandrake/updates/9.1/RPMS with ../base/hdlist.cz added medium update_source examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 1 (x86) (cdrom1).cz] examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD 2 (x86) (cdrom2).cz] examining synthesis file [/var/lib/urpmi/synthesis.hdlist.International CD (x86) (cdrom3).cz] examining synthesis file [/var/lib/urpmi/synthesis.hdlist.updates.cz] retrieving source hdlist (or synthesis) of "update_source"... ftp://nanos/linux/distr/Mandrake/updates/9.1/base/hdlist.cz found probed hdlist (or synthesis) as ../base/hdlist.cz ...retrieving done examining hdlist file [/var/cache/urpmi/partial/hdlist.update_source.cz] examining synthesis file [/var/cache/urpmi/partial/hdlist.update_source.cz] unable to parse hdlist file of "update_source" examining synthesis file [/var/lib/urpmi/synthesis.hdlist.update_source.cz] problem reading synthesis file of medium "update_source" unable to update medium "update_source" As you can see from the last two lines, there are some problems. But if the name of update source is other than 'update_source' (eg. 'updates'), then everything works fine. I wonder if that new packages will also be an official update? And one suggestion: To benefit from both internet and intranet it would be nice to have proxy setting (because of internet) and additional NO PROXY settings (because of intranet) to have both internet urpm sources and also urpm sources from internal network to work together. -- Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ------- Reminder: ------- assigned_to: [EMAIL PROTECTED] status: NEEDINFO creation_date: description: "urpmi.update --update" takes a lot of time to work (cca. 5-10 minutes) if URMP has no proxy settings (file /etc/urpmi/proxy.cfg is empty), but there is environment 'http_proxy' variable set (file /etc/profile.d/proxy.sh has proxy definition). That kind of configuration is needed because we have firewall, but Mdk updates mirror location is on the local network (local mirror ftp server for Mandrake updates). I think that the problem is in calling 'culr' command, if there is no proxy settings in file '/etc/urpmi/proxy.cfg'. Urmpi.update calls curl as follows: /usr/bin/curl 0-s -I ftp://nanos/linux/distr/Mandrake/updates/9.1/base/hd I think that there is invalid parameter '0-s', which maybe? it should be '-0 -s', but I can not see the whole command line with parameters of the running process to see the whole picture. In this situation probably curl uses parameter '0-s' as an URL, which must be found, but '0-s' URL doesn't exist. There is no problem to make 'urpmi.update', if URPMI update source resides on the internet (e.g. ftp://mandrake.redbox.cz/...). In this situation URPM http proxy must be set because of the firewall. Maybe there is a bug in vendor perl module 'urpm.pm'?
