On 07/05/2018 10:59 AM, Richard Shaw wrote:
On Thu, Jul 5, 2018 at 11:35 AM Rick Stevens
<ricks(a)alldigital.com
<mailto:ricks@alldigital.com>> wrote:
On 07/03/2018 07:04 PM, Richard Shaw wrote:
> Just to confirm, I did have the laptop setup to use the squid proxy on
> my desktop so that was indeed the cause of the problem.
Glad you got that sorted out.
Just for the sake of completeness on the thread, how did you resolve it?
Did you add the lines to dnf.conf to access your proxy properly?
There's not a good way... Ideally DNF would skip the proxy if not
available but there doesn't appear to be an option for that so I just
comment out the proxy option in /etc/dnf/dnf.conf when I'm outside of my
home network.
Ah. Well, you could create a second conf file, say
/etc/dnf/dnf-noproxy.conf
that doesn't have the proxy lines and use:
dnf -c /etc/dnf/dnf-noproxy.conf [options] <command>
to use it outside your network. Inside your network, the standard
dnf [options] <command>
would use the default conf file (with the proxy lines).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
- -
- Vegetarian: Old Indian word for "lousy hunter" -
----------------------------------------------------------------------