Can't install for aur packages on corporate proxy
Pamac --version
Pamac 10.4.3-1 - libpamac 11.4.1-1
Variant in use
CLI
Distribution
Manjaro-sway
Desktop environment
Sway
What's not working
I can't install any AUR package with pamac behind corporate proxy (with self signed ssl certificates). In this case, the self signed ssl certificates are not the issue because pamac can't even connect to the AUR server.
How to reproduce?
export http_proxy=http://192.168.1.1:8080 https_proxy=http://192.168.1.1:8080
- Then try to install an AUR package:
$ sudo -E pamac install google-cloud-sdk
Warning: google-cloud-sdk is only available from AUR
Preparing...
Checking google-cloud-sdk dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
google-cloud-sdk 404.0.0-1 AUR
Edit build files : [e]
Apply transaction ? [e/y/N] y
Cloning google-cloud-sdk build files...
Running as unit: run-u1195.service
fatal: unable to access 'https://aur.archlinux.org/google-cloud-sdk.git/': Failed to connect to aur.archlinux.org port 443 after 130448 ms: Couldn't connect to server
Finished with result: exit-code
Main processes terminated with: code=exited/status=128
Service runtime: 2min 10.471s
CPU time consumed: 27ms
Error: Failed to build google-cloud-sdk
More information (optional)
pamac update work fine:
$ sudo -E pamac update
[sudo] password for varac:
Sorry, try again.
[sudo] password for varac:
Warning: Building packages as dynamic user
Warning: Setting build directory to /var/cache/pamac
Preparing...
Synchronizing package databases...
Refreshing manjaro-sway.db...
Refreshing AUR...
Nothing to do.
Transaction successfully finished.
Installing an arch package with pamac also works fine:
$ sudo -E pamac install terraform
Preparing...
Synchronizing package databases...
Refreshing manjaro-sway.db...
Resolving dependencies...
Checking inter-conflicts...
To install (1):
terraform 1.3.8-1 community
Total installed size: 67,4 MB
Apply transaction ? [y/N] y
Checking keyring... [1/1]
Checking integrity... [1/1]
Loading packages files... [1/1]
Checking file conflicts... [1/1]
Checking available disk space... [1/1]
Installing terraform (1.3.8-1)... [1/1]
Transaction successfully finished.
Installing an arch package with pacman also works fine:
$ sudo -E pacman -S terraform
warning: terraform-1.3.8-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) terraform-1.3.8-1
Total Installed Size: 64,25 MiB
Net Upgrade Size: 0,00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [##################################] 100%
(1/1) checking package integrity [##################################] 100%
(1/1) loading package files [##################################] 100%
(1/1) checking for file conflicts [##################################] 100%
(1/1) checking available disk space [##################################] 100%
:: Processing package changes...
(1/1) reinstalling terraform [##################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
See also #370 (closed)