PDA

View Full Version : [ubuntu] Got 403 Forbidden in Update Manager



pitpet
May 7th, 2012, 04:07 PM
Hi guys:

I got the following errors while press "check" button in update manager
They looks strange since they actually are in-accessible urls, for example:
http://archive.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources does not exists!
however
http://archive.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources.gz does exists!


==================================================
/etc/apt/source.list
==================================================
cat /etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu oneiric main universe restricted multiverse
deb-src http://archive.ubuntu.com/ubuntu oneiric main universe restricted multiverse #Added by software-properties


==================================================
Error Code:
==================================================

W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/source/Sources 403 Forbidden
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/source/Sources 403 Forbidden
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/source/Sources 403 Forbidden
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/source/Sources 403 Forbidden
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/main/binary-i386/Packages 403 Forbidden
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/universe/binary-i386/Packages 403 Forbidden
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/restricted/binary-i386/Packages 403 Forbidden
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/multiverse/binary-i386/Packages 403 Forbidden
, E:Some index files failed to download. They have been ignored, or old ones used instead.


I've been working on this issue for more than 3 hours and still got no progress. :-(
Any help will be appreciated!

pitpet
May 8th, 2012, 06:50 AM
Anybody could help? thanks !

dino99
May 8th, 2012, 09:32 AM
your sources.list is borked, replace with the lines below (copy & paste to avoid errors):

sudo gedit /etc/apt/sources.list

- erase everything and copy/paste:

deb http://archive.canonical.com/ubuntu oneiric partner
deb http://archive.ubuntu.com/ubuntu oneiric main universe restricted multiverse
deb http://archive.ubuntu.com/ubuntu oneiric-updates main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ oneiric-security main universe restricted multiverse
deb http://archive.ubuntu.com/ubuntu oneiric-proposed main universe restricted multiverse

deb http://packages.medibuntu.org/ oneiric free non-free

- save and close that sources.list file
- then update & enjoy ):P