LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-09-2006, 12:57 AM   #1
jeisma
LQ Newbie
 
Registered: Nov 2002
Location: Philippines
Posts: 5

Rep: Reputation: 0
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:

Code:
Ign h??p://ph.archive.ubuntu.com breezy Release.gpg
Ign h??p://ph.archive.ubuntu.com breezy-updates Release.gpg
Ign h??p://ph.archive.ubuntu.com breezy Release
Ign h??p://ph.archive.ubuntu.com breezy-updates Release
Ign h??p://ph.archive.ubuntu.com breezy/main Packages
Ign h??p://ph.archive.ubuntu.com breezy/restricted Packages
Ign h??p://ph.archive.ubuntu.com breezy/main Sources
Ign h??p://ph.archive.ubuntu.com breezy/restricted Sources
Ign h??p://ph.archive.ubuntu.com breezy-updates/main Packages
Ign h??p://ph.archive.ubuntu.com breezy-updates/restricted Packages
Ign h??p://ph.archive.ubuntu.com breezy-updates/main Sources
Ign h??p://ph.archive.ubuntu.com breezy-updates/restricted Sources
Err h??p://ph.archive.ubuntu.com breezy/main Packages
  403 Forbidden
Err h??p://ph.archive.ubuntu.com breezy/restricted Packages
  403 Forbidden
Err h??p://ph.archive.ubuntu.com breezy/main Sources
  403 Forbidden
Err h??p://ph.archive.ubuntu.com breezy/restricted Sources
  403 Forbidden
Err h??p://ph.archive.ubuntu.com breezy-updates/main Packages
  403 Forbidden
Err h??p://ph.archive.ubuntu.com breezy-updates/restricted Packages
  403 Forbidden
Err h??p://ph.archive.ubuntu.com breezy-updates/main Sources
  403 Forbidden
Err h??p://ph.archive.ubuntu.com breezy-updates/restricted Sources
  403 Forbidden
Failed to fetch h??p://ph.archive.ubuntu.com/ubuntu/dists/breezy/main/binary-i386/Packages.gz  403 Forbidden
Failed to fetch h??p://ph.archive.ubuntu.com/ubuntu/dists/breezy/restricted/binary-i386/Packages.gz  403 Forbidden
Failed to fetch h??p://ph.archive.ubuntu.com/ubuntu/dists/breezy/main/source/Sources.gz  403 Forbidden
Failed to fetch h??p://ph.archive.ubuntu.com/ubuntu/dists/breezy/restricted/source/Sources.gz  403 Forbidden
Failed to fetch h??p://ph.archive.ubuntu.com/ubuntu/dists/breezy-updates/main/binary-i386/Packages.gz  403 Forbidden
Failed to fetch h??p://ph.archive.ubuntu.com/ubuntu/dists/breezy-updates/restricted/binary-i386/Packages.gz  403 Forbidden
Failed to fetch h??p://ph.archive.ubuntu.com/ubuntu/dists/breezy-updates/main/source/Sources.gz  403 Forbidden
Failed to fetch h??p://ph.archive.ubuntu.com/ubuntu/dists/breezy-updates/restricted/source/Sources.gz  403 Forbidden
Reading package lists... Done
W: Couldn't stat source package list h??p://ph.archive.ubuntu.com breezy/main Packages (/var/lib/apt/lists/ph.archive.ubuntu.com_ubuntu_dists_breezy_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list h??p://ph.archive.ubuntu.com breezy/restricted Packages (/var/lib/apt/lists/ph.archive.ubuntu.com_ubuntu_dists_breezy_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list h??p://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 h??p://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
Code:
h??p://ph.archive.ubuntu.com/ubuntu/...86/Packages.gz
, which went fine.

i tried wget -vc
Code:
h??p://ph.archive.ubuntu.com/ubuntu/...86/Packages.gz
,
i get "ERROR 403: Forbidden."

enlighten me pls?

thank you!
 
Old 03-09-2006, 04:42 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Did you try using FTP instead of HTTP? sudo base-config then select "Configure APT" and select FTP as the type and pick a mirror. Then exit and do sudo apt-get update and see if that gets you around it.

Also saw somewhere that the proxy might be the issue and that you can add a line to /etc/apt/apt.conf
Code:
Acquire::http:Proxy "http://proxyipaddress:8080";
where proxyipaddress is of course the address of your proxy...
 
Old 03-15-2006, 02:35 PM   #3
bootdoc
LQ Newbie
 
Registered: Jan 2006
Posts: 14

Rep: Reputation: 0
do you have an actiontec dsl modem?
if so there is a problem with dns server in this modem.
I have had lots of problems with this issue. You need to make sure that the name
servers in your network settings are the same as the name servers in the modem. If the
first name server is 192.168.0.1 then you have to change it to dns#2 from the your modems
status page. If yo don't then apt-get, synaptic, adept will not work. You can check the
/etc/resolv.conf file also.
$cat /etc/resolv.conf
should show you what name servers are being used.
Hope this helps.
Charlie
 
Old 03-15-2006, 05:40 PM   #4
jeisma
LQ Newbie
 
Registered: Nov 2002
Location: Philippines
Posts: 5

Original Poster
Rep: Reputation: 0
hi!

im on a lan.

do i need to put anything in resolv.conf if im behind a proxy?

my apt-get cant still communicate with the internet, its kinda frustrating. :-(


thanks!
 
Old 03-16-2006, 11:56 AM   #5
bootdoc
LQ Newbie
 
Registered: Jan 2006
Posts: 14

Rep: Reputation: 0
Can you post your resolv.conf file?
 
Old 03-16-2006, 06:27 PM   #6
jeisma
LQ Newbie
 
Registered: Nov 2002
Location: Philippines
Posts: 5

Original Poster
Rep: Reputation: 0
hello!

my resolv.conf files is empty.


thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apt-get dist-upgrade woes hkl8324 Debian 10 10-04-2005 11:35 AM
HELP: yum, apt-get, synaptic developers woes :S kevingpo Fedora 1 09-12-2005 03:38 AM
apt-get dist-upgrade woes (testing - etch) vharishankar Debian 6 06-13-2005 09:43 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration