(Post-YAST) Proxy-Konfiguration for Zypper & Co (Myrlyn) Opensuse Leap 16

Hello Community,

After several unsuccessful attempts using my own knowledge, I’m trying to get help here with my problem:

Okay, maybe the solution simply lies in changing the user in front of the screen!

Problem: Neither Zypper nor Myrlyn work behind my firewall: (IPFire) do work!!

Yes, even though I’ve tried several things with various adjustments.

  1. Configured the file: /etc/sysconfig/proxy → resulting in the correct entries being visible in the shell using the export command.

As I know it from other Linux distributions:

  1. The file: /etc/wgetrc configured

  2. In the KDE settings…

Now for something interesting:

YES, in Firefox (but only if I manually configure the proxy → which suggests that something is still wrong with my configuration in /etc/sysconfig/proxy mentioned above)

the connection to the outside world works perfectly.

Does anyone have any other ideas?

Update-Info: After reconfigure my /etc/sysconfig/proxy = zypper works.

But: Zypper works, but Myrlyn still doesn’t.

Can you run myrlyn from the command line:

# myrlyn
Logging to /tmp/myrlyn-marel/myrlyn.log
Logging to /tmp/myrlyn-marel/zypp.log

Then have a look at these log files, you can share them here using paste.opensuse.org.

1 Like

Myrlyn doesn’t do anything special with regards to proxies; it simply uses libzypp in its standard configuration. libzypp uses libcurl and libproxy, and it has some special code to use /etc/sysconfig/proxy. If a proxy setup works for zypper, it should also work for Myrlyn.

Remember that you need any environment variables in the environment of the root user, not your normal user!

If all else fails, check out man zypper; there is a section about proxy usage:

https://user:pass@server/path?proxy=foo&proxyuser=me&proxypass=pw

I believe this applies to the repo URLs.

I’d try to edit the baseurl field in the .repo files in /etc/zypp/repos.d/ accordingly. Of course start with only one, and copy the original files to a safe place before you start experimenting.

1 Like

For the moment: Both of you, thanks for the help.

I’ll try as soon, as i can to check. But, at the moment (next days) i’m very busy.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.