Can not get update SuSe 11 SP2


Please help me.

I can not get update for SuSe 11 SP2
I try configure online from yast and from command line

But zypper not use my proxy settings and I receive error

# zypper refresh-services -r
Download (curl) error for '':
Error code: Connection failed
Error message: couldn't connect to host

register was ok

suse_register -n -a -a regcode-sles=qqq -a moniker=qqq -L /tmp/suse_register.log
Registration finished successfully

I configure proxy from yast.

# set |grep proxy ftp_proxy= http_proxy= https_proxy=

# cat /etc/sysconfig/proxy |grep -v "#"

I see zypper log and found that zypper not read /etc/sysconfig/proxy


2012-06-22 08:29:00 <1> lnx-tst107(9877) [zypp++] Proxy: -none-

There are some other bits required;

Your proxy should should accept Novell domain (or at least selected
sites used like and without

You need to add two lines with your proxy information to /etc/profile,
for example:

export http_proxy=""
export https_proxy=""

You also need to add in /root/.curlrc

Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.31-0.9-default
up 8:05, 2 users, load average: 0.94, 0.85, 0.81
GPU GeForce 8600 GTS Silent - Driver Version: 302.11

Thanks for reply.

I have proxy without authentication.
I try you recommendation without success
zypper never use proxy :frowning:

# grep proxy /etc/profile
export http_proxy=""
export https_proxy=""
# cat .curlrc 
# Changed by YaST2 module proxy 06/22/2012
--proxy ""

Hi Alex,

[CODE]# man zypper
Repository Management
Zypper is able to work with YaST, RPM-MD (yum) software repositories, and plain directories containing .rpm files.

   Repositories are primarily identified using their URI or alias.  Alias serves as a shorthand for the long URI or name of the repository.  The name of the repository should briefly describe the repository and is shown to the user in tables and messages. The name is not required, and if not known,  the
   alias is shown instead. The alias is required and uniquely identifies the repository on the system.

   The alias, name, URI, or the number from zypper repos list can be used to specify a repository as an argument of various zypper commands and options like refresh, --repo, or --from.

   Supported URI formats:

   CD or DVD drive
          Optionally with devices list for probing.


   FTP/HTTP/HTTPS directory tree
          The ftp URL scheme supports absolute and relative paths to the default ftp server directory (RFC1738, Section 3.2.2). To use an absolute path, you have to prepend the path with an additional slash, what results in a "/%2f" combination (second "/" encoded to "%2f") at the begin of the URL path.
          This is important, especially in user authenticated ftp, where the users home is usually the default directory of the server (except when the server chroots into the users home directory).

          [B]Explicit proxy settings may be passed via optional parameters proxy, proxyport, proxyuser and proxypass.[/B]

          HTTP authentication methods to use can be defined as comma separated list via optional parameter auth. Valid methods are e.g. 'basic', 'digest', 'ntlm', 'negotiate'. Note, that this list depends on the list of methods supported by the curl library.



Maybe that helps?


big thanks!
It`s work!
I add proxy parameter to /etc/zypp/services.d/nu_novell_com.service

# cat /etc/zypp/services.d/nu_novell_com.service
  url =