FS#12396 - Output http_proxy infomation in pacman debug output
Attached to Project:
Pacman
Opened by Phillip Smith (fukawi2) - Wednesday, 10 December 2008, 01:28 GMT
Last edited by Dan McGee (toofishes) - Saturday, 03 January 2009, 05:33 GMT
Opened by Phillip Smith (fukawi2) - Wednesday, 10 December 2008, 01:28 GMT
Last edited by Dan McGee (toofishes) - Saturday, 03 January 2009, 05:33 GMT
|
Details
Edit: changed description to reflect actual request. See
comment #3.
Running `pacman -Sy` says it is updating package databases, but there not even any tcp traffic generated. Trying `pacman -Syy` doesn't help either. - Version: pacman 3.2.1 - Fresh FTP installation of x86_64. - Happens with multiple mirrors. - DOES work if wget is used in pacman.conf as the XFerCommand - Installing packages still works fine (using the existing package database). eg, `pacman -S tcpdump` downloads and installs tcpdump fine. - tcpdump running on my gateway shows no traffic, except when installing a package (as above) - iptables not setup or running =========================================================================== Output: root /tmp # pacman -Sy :: Synchronizing package databases... error: failed retrieving file 'core.db.tar.gz' from ftp.archlinux.org : Connection timed out error: failed to update core (Connection timed out) root /tmp # pacman -Syy :: Synchronizing package databases... error: failed retrieving file 'core.db.tar.gz' from ftp.archlinux.org : Connection timed out error: failed to update core (Connection timed out) =========================================================================== pacman.conf: (comments removed) [options] HoldPkg = pacman glibc SyncFirst = pacman #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u ShowSize TotalDownload [core] Include = /etc/pacman.d/mirrorlist [extra] Include = /etc/pacman.d/mirrorlist [community] Include = /etc/pacman.d/mirrorlist =========================================================================== mirrorlist: Server = ftp://ftp.archlinux.org/$repo/os/x86_64 # Australia #Server = ftp://mirror.pacific.net.au/linux/archlinux/$repo/os/x86_64 #Server = ftp://mirror.internode.on.net/pub/archlinux/$repo/os/x86_64 #Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/x86_64 =========================================================================== Output from tcpdump on my gateway: (this shows traffic when I install a package as described above) # tcpdump -lnn host 10.16.1.176 tcpdump: WARNING: bond0: no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on bond0, link-type EN10MB (Ethernet), capture size 96 bytes 0 packets captured 3357 packets received by filter 0 packets dropped by kernel |
This task depends upon
Closed by Dan McGee (toofishes)
Saturday, 03 January 2009, 05:33 GMT
Reason for closing: Fixed
Additional comments about closing: Commit cc7f3b705e
Saturday, 03 January 2009, 05:33 GMT
Reason for closing: Fixed
Additional comments about closing: Commit cc7f3b705e
pacman -S abcde
error: failed retrieving file : Connection timed out
http://bbs.archlinux.org/viewtopic.php?pid=461476
http_proxy environment variable was set which screwed it all up. Not sure why wget still worked though - it normally respects the http_proxy environment var.
Can this be made in to a Feature Request for the --debug output of pacman to include information about any proxy it's using?