Even if you set http_proxy in the environment (like export http_proxy="http://my-proxy:8080"), update-pciids ignores that value completely, which is strange since it relies upon wget (since neither curl nor lynx is present on the box). x3850 ~ [0] $ sudo /usr/sbin/update-pciids --21:34:44-- http://pciids.sourceforge.net/v2.2/pci.ids.gz => `/usr/share/misc/pci.ids.gz.new' Resolving pciids.sourceforge.net... 66.35.250.209 Connecting to pciids.sourceforge.net|66.35.250.209|:80... And it just sits there ..
sudo filters env vars doesnt it ?
Vapier is right; you'll want to uncomment this line: # Defaults:%wheel !env_reset This is in /etc/sudoers
You both are right ...