notabot
April 27th, 2008, 07:02 AM
I just upgraded to Hardy using the dvd distro and am now trying to upgrade the rest of my packages but am having lots of trouble accessing repositories. I'm not going via a proxy server but I'm getting behaviour like my proxy settings are wrong. I don't think I have any proxies set up.
Pressing Reload in Synaptic gives me a "Could not download all repository indexes" dialog box with 403 Forbidden errors on every line like this for example:
Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/main/restricted/source/Sources.gz 403 Forbidden
System|Preferences|Network Proxy (gnome-network-preferences) is set to "Direct internet connection"
and so is
gksu gnome-network-preferences
The Synaptic Preferences|Network is set to "Direct connection to the internet".
Is there a guide somewhere that explains how Synaptic and/or the Update Manager use proxies? I found some bug reports that may be relevant but didn't help me, specifically Bug #21536.
After lots of failures, I added the local repositories that my ISP maintains to the sources.list file. The following shell approach then partially worked, but apt-get produces some 404 Not Found errors for the au repository and Synaptic still fails with 403 Forbidden errors for everything:
export http_proxy=""
sudo apt-get update
sudo apt-get upgrade
but I don't know why I had to export http_proxy="".
Are there other places that proxies are defined? I can get to all the repositories via a web browser. I also tried pointing at repositories other than the main Australian one with no more luck.
My sources.list file is as follows:
deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
deb http://mirror.gamearena.com.au/ubuntu/ hardy main restricted universe
deb http://mirror.gamearena.com.au/ubuntu/ hardy-updates main restricted universe
deb http://mirror.gamearena.com.au/ubuntu/ hardy-security main restricted universe
deb http://au.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ main restricted universe multiverse
deb http://au.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://au.archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
Any thoughts?
Pressing Reload in Synaptic gives me a "Could not download all repository indexes" dialog box with 403 Forbidden errors on every line like this for example:
Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/main/restricted/source/Sources.gz 403 Forbidden
System|Preferences|Network Proxy (gnome-network-preferences) is set to "Direct internet connection"
and so is
gksu gnome-network-preferences
The Synaptic Preferences|Network is set to "Direct connection to the internet".
Is there a guide somewhere that explains how Synaptic and/or the Update Manager use proxies? I found some bug reports that may be relevant but didn't help me, specifically Bug #21536.
After lots of failures, I added the local repositories that my ISP maintains to the sources.list file. The following shell approach then partially worked, but apt-get produces some 404 Not Found errors for the au repository and Synaptic still fails with 403 Forbidden errors for everything:
export http_proxy=""
sudo apt-get update
sudo apt-get upgrade
but I don't know why I had to export http_proxy="".
Are there other places that proxies are defined? I can get to all the repositories via a web browser. I also tried pointing at repositories other than the main Australian one with no more luck.
My sources.list file is as follows:
deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
deb http://mirror.gamearena.com.au/ubuntu/ hardy main restricted universe
deb http://mirror.gamearena.com.au/ubuntu/ hardy-updates main restricted universe
deb http://mirror.gamearena.com.au/ubuntu/ hardy-security main restricted universe
deb http://au.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ main restricted universe multiverse
deb http://au.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://au.archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse
Any thoughts?