Results 1 to 4 of 4
hello!
after my first (painful) install of ubuntu 5.10, and found the need to install tbird, found myself stumped with apt-get not being able to update.
i am on lan ...
- 03-09-2006 #1Just Joined!
- Join Date
- Apr 2004
- Posts
- 35
apt-get woes
hello!
after my first (painful) install of ubuntu 5.10, and found the need to install tbird, found myself stumped with apt-get not being able to update.
i am on lan and connects to the internet via proxy (squid). already made changes to the bashrc file for http proxy connection.
running sudo apt-get update i get this:
===============
Ign http://ph.archive.ubuntu.com breezy Release.gpg
Ign http://ph.archive.ubuntu.com breezy-updates Release.gpg
Ign http://ph.archive.ubuntu.com breezy Release
Ign http://ph.archive.ubuntu.com breezy-updates Release
Ign http://ph.archive.ubuntu.com breezy/main Packages
Ign http://ph.archive.ubuntu.com breezy/restricted Packages
Ign http://ph.archive.ubuntu.com breezy/main Sources
Ign http://ph.archive.ubuntu.com breezy/restricted Sources
Ign http://ph.archive.ubuntu.com breezy-updates/main Packages
Ign http://ph.archive.ubuntu.com breezy-updates/restricted Packages
Ign http://ph.archive.ubuntu.com breezy-updates/main Sources
Ign http://ph.archive.ubuntu.com breezy-updates/restricted Sources
Err http://ph.archive.ubuntu.com breezy/main Packages
403 Forbidden
Err http://ph.archive.ubuntu.com breezy/restricted Packages
403 Forbidden
Err http://ph.archive.ubuntu.com breezy/main Sources
403 Forbidden
Err http://ph.archive.ubuntu.com breezy/restricted Sources
403 Forbidden
Err http://ph.archive.ubuntu.com breezy-updates/main Packages
403 Forbidden
Err http://ph.archive.ubuntu.com breezy-updates/restricted Packages
403 Forbidden
Err http://ph.archive.ubuntu.com breezy-updates/main Sources
403 Forbidden
Err http://ph.archive.ubuntu.com breezy-updates/restricted Sources
403 Forbidden
Failed to fetch http://ph.archive.ubuntu.com/ubuntu/...86/Packages.gz 403 Forbidden
Failed to fetch http://ph.archive.ubuntu.com/ubuntu/...86/Packages.gz 403 Forbidden
Failed to fetch http://ph.archive.ubuntu.com/ubuntu/...rce/Sources.gz 403 Forbidden
Failed to fetch http://ph.archive.ubuntu.com/ubuntu/...rce/Sources.gz 403 Forbidden
Failed to fetch http://ph.archive.ubuntu.com/ubuntu/...86/Packages.gz 403 Forbidden
Failed to fetch http://ph.archive.ubuntu.com/ubuntu/...86/Packages.gz 403 Forbidden
Failed to fetch http://ph.archive.ubuntu.com/ubuntu/...rce/Sources.gz 403 Forbidden
Failed to fetch http://ph.archive.ubuntu.com/ubuntu/...rce/Sources.gz 403 Forbidden
Reading package lists... Done
W: Couldn't stat source package list http://ph.archive.ubuntu.com breezy/main Packages (/var/lib/apt/lists/ph.archive.ubuntu.com_ubuntu_dists_breezy_main_bin ary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ph.archive.ubuntu.com breezy/restricted Packages (/var/lib/apt/lists/ph.archive.ubuntu.com_ubuntu_dists_breezy_restrict ed_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ph.archive.ubuntu.com breezy-updates/main Packages (/var/lib/apt/lists/ph.archive.ubuntu.com_ubuntu_dists_breezy-updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ph.archive.ubuntu.com breezy-updates/restricted Packages (/var/lib/apt/lists/ph.archive.ubuntu.com_ubuntu_dists_breezy-updates_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
===============
somehow, i believe, apt-get is able to connect to the internet (thru a proxy) but is being blocked by firewall or something.
what would i ask the admin so that i can succesfully update?
also, with the above errors, via firefox, i tried to download http://ph.archive.ubuntu.com/ubuntu/...86/Packages.gz, which went fine.
i tried wget -vc http://ph.archive.ubuntu.com/ubuntu/...86/Packages.gz, i get "ERROR 403: Forbidden."
enlighten me pls?
thank you!
- 03-09-2006 #2
first of all do a
i also have got those errors ended up in a custom sources.list.here's mine hope if u want to have.Code:dpkg-reconfigure apt
Another cool tip i used in ubuntu and debian is to add these lines to activate programmable bash completion.Code:deb file:/var/cache/apt-build/repository apt-build main deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted ## Uncomment the following two lines to add software from the 'universe' ## repository. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. #Security Updates deb http://security.ubuntu.com/ubuntu breezy-security main restricted deb http://security.ubuntu.com/ubuntu breezy-security universe multiverse #Breezy updates deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted universe multiverse #Backports deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse #Main Repos deb ftp://us.archive.ubuntu.com/ubuntu/ breezy main restricted universe multiverse #deb-src ftp://us.archive.ubuntu.com/ubuntu/ breezy main restricted
double click tab for completion.i hope it will come handyCode:# enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profiles # sources /etc/bash.bashrc). if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi
- 03-09-2006 #3Just Joined!
- Join Date
- Apr 2004
- Posts
- 35
hello!
thank you for the reply.
i tried all your suggestion, i still get this bunch of "forbidden, failed, and couldn't stat source package".
what's could be missing?
thank you!
- 03-09-2006 #4Just Joined!
- Join Date
- Mar 2006
- Posts
- 12
Have you tried manually changing repositories?
https://wiki.ubuntu.com/AddingRepositoriesHowto
My thoughts are:
Given that the system is connected to the web, and all packages are coming from the same location, maybe the issue is server side.


Reply With Quote
