Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy settings ignored #206

Open
oz42 opened this issue Jul 7, 2020 · 4 comments
Open

proxy settings ignored #206

oz42 opened this issue Jul 7, 2020 · 4 comments

Comments

@oz42
Copy link

oz42 commented Jul 7, 2020

mintsources:
Installiert: 2.0.2
Installationskandidat: 2.0.2
Versionstabelle:
*** 2.0.2 700
700 http://packages.linuxmint.com ulyana/upstream amd64 Packages
700 http://packages.linuxmint.com ulyana/upstream i386 Packages
100 /var/lib/dpkg/status

NAME="Linux Mint"
VERSION="20 (Ulyana)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20"

mintsources ignores the proxy settings no matter what I try. I tried to define the proxy in the network settings and by a profile.d shell script.

This bug exists since Mint 19.3

Workaround: do not use a mirror server.

@xenopeek
Copy link

xenopeek commented Jul 7, 2020

What doesn't work in mintsources when you enable the proxy? And can you share which settings you set in profile.d?

There was an earlier issue (#191) on this that was about gpg keys not being added when adding a PPA, which is an issue with dirmngr used by apt-key which mintsources uses: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1433761

@oz42
Copy link
Author

oz42 commented Jul 10, 2020

It is impossible to choose a mirror. I see lots of TCP SYN, so the proxy settings are ignored.

My /etc/profile.d/proxy.sh:

http_proxy=http://172.22.2.1:80
https_proxy=http://172.22.2.1:80
export http_proxy
export https_proxy

I have also enabled the proxy settings in the 'network settings' , still no luck.
I just have seen that there is a proxy setting in 'network connection'. But it is unusable, it knows only 'none' and 'automatic'.

@elschman
Copy link
Contributor

if this is regarding the proxy ignored for gpg see my PR #209

@oz42
Copy link
Author

oz42 commented Jul 27, 2020

I just started
/usr/bin/python3 /usr/bin/mintsources
from a shell and got many lines like

Error '(7, 'Failed to connect to linuxmint-packages.mirror.liteserver.nl port 80: Verbindungsaufbau abgelehnt')'

on STDERR => connection refused. No problem to access linuxmint-packages.mirror.liteserver.nl with a web browser that is configured with 'use system proxy settings'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants