Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#73136 - Support proxy for ParallelDownloads

Attached to Project: Pacman
Opened by Ian Chen (database64128) - Friday, 24 December 2021, 07:03 GMT
Last edited by Allan McRae (Allan) - Monday, 27 December 2021, 23:09 GMT
Task Type Feature Request
Category Backend/Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 6.0.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
When `ParallelDownloads` is enabled, pacman does not respect proxy environment variables.

Steps to Reproduce:
Use GNOME Settings to set http(s) and socks proxies, or manually set `ALL_PROXY`, `HTTP_PROXY`, `HTTPS_PROXY`, `all_proxy`, `http_proxy`, `https_proxy` in shell. Set `ParallelDownloads` to a positive number. Run `pacman -Syu`.

Expected Behavior:
All downloads use the proxy.

Actual Behavior:
Only the package database synchronization phrase uses the proxy. Actual downloads do not use the proxy.
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 27 December 2021, 23:09 GMT
Reason for closing:  Not a bug
Comment by Ian Chen (database64128) - Friday, 24 December 2021, 07:07 GMT
Note: Make sure to configure `sudo` to pass these environment variables when reproducing.
Comment by Allan McRae (Allan) - Friday, 24 December 2021, 07:39 GMT
Post the --debug output from an update where multiple packages are downloaded.
Comment by Ian Chen (database64128) - Monday, 27 December 2021, 20:37 GMT
For some reason I can no longer reproduce it myself. Not sure what happened, but probably not a pacman bug. You can close it now. Sorry about this :(

Loading...