I have exactly the same situation on Ubuntu 8.04.1.

~$ apt-get --version
apt 0.7.9ubuntu17 for i386 compiled on Apr 22 2008 15:19:47
Supported modules:
*Ver: Standard .deb
*Pkg:  Debian dpkg interface (Priority 30)
 S.L: 'deb' Standard Debian binary tree
 S.L: 'deb-src' Standard Debian source tree
 Idx: Debian Source Index
 Idx: Debian Package Index
 Idx: Debian Translation Index
 Idx: Debian dpkg status file

~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.04.1
Release:        8.04
Codename:       hardy

~$ anacron -V
Anacron 2.3

excerpt from /etc/cron.daily/apt:
> # set the proxy based on the admin users gconf settings
> admin_user=$(getent group admin|cut -d: -f4|cut -d, -f1)
> if [ -n "$admin_user" ] && [ -x /usr/bin/sudo ] && [ -z "$http_proxy"
> ] && [ -x /usr/bin/gconftool ]; then
>         use=$(sudo -u "$admin_user" gconftool --get
> /system/http_proxy/use_http_proxy)
>         host=$(sudo -u "$admin_user" gconftool --get
> /system/http_proxy/host)
>         port=$(sudo -u "$admin_user" gconftool --get
> /system/http_proxy/port)
>         if [ "$use" = "true" ] && [ -n "$host" ] && [ -n "$port" ];
> then
>                 export http_proxy="http://$host:$port/";
>         fi
> fi

-- 
/etc/cron.daily/apt produces daily email on server machine
https://bugs.launchpad.net/bugs/256102
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to