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

Can't search for aur packages on corporate proxy with self signed ssl certificates #370

Open
dlip opened this issue Nov 22, 2017 · 6 comments

Comments

@dlip
Copy link

dlip commented Nov 22, 2017

Just done a fresh install of manjaro xfce 17.0.6 and pamac 6.2.1-1 with yaourt 1.9-1.
I can enable the aur option but when I try to search and select the AUR tab its always empty. Is there some way to get an error log?

One possibility is I'm using a corporate proxy, but yaourt install things fine from the command line.

@philmmanjaro
Copy link
Member

pamac has it's own AUR engine, therefore your corporate proxy might be a reason it doesn't work. Did you test the same on a public or private network?

@dlip dlip changed the title Can't search for aur packages Can't search for aur packages on corporate proxy Nov 23, 2017
@dlip
Copy link
Author

dlip commented Nov 23, 2017

Yes its something to do with the corporate proxy, pamac is probably not using the company ca-certs since they decrypt ssl traffic. How to debug?

@guinux
Copy link
Collaborator

guinux commented Nov 23, 2017

Pamac uses "http_proxy" and "https_proxy" environment variables. Are they defined ?

@dlip
Copy link
Author

dlip commented Nov 23, 2017 via email

@dlip dlip changed the title Can't search for aur packages on corporate proxy Can't search for aur packages on corporate proxy with self signed ssl certificates Nov 23, 2017
@dlip
Copy link
Author

dlip commented Nov 23, 2017

Note: I have installed the certificate and can see it appears in /etc/ssl/certs/ca-certificates.crt and it works with curl

@lorenzosu
Copy link

Hi, I face some issues with pamac behind a company proxy even with http_proxy and https_proxy environment variables set. Most operations work but upgrade and AUR not. Some details below.

What works when running pamac-manager after setting the correct variables and making sure in the sudoers file these are also passed to sudo:

  • Searching for packages
  • Installing packages
  • Refreshing database
  • Refreshing mirror lsit

What doesn't work:

  • Updates: pamac always says the system is up to date, but pacman will show upgrades actually exist
  • Any AUR related operation (search, install, update). yaourt most of the time works with the above environment variables.

Why it would be nice to have the option for application-specific proxy configuration:

  • In DE like XFCE (e.g. default in Manjaro, which in turn uses pamac as default graphical front-end for package management), there is no system-wide proxy configuration, so for many users tinkering with environment variables is a pain
  • Many users are using a laptop and may be behind a proxy (typically at their company, client, etc.) and then move to somewhere where they are connecting directly. In this case setting system-wide environment variables (and removing them) is a pain. proxy on/off within the application is much more usable :)

My two cents.
Lorenzo.

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

4 participants