[Solved] Updating Debian mirror URL

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

[Solved] Updating Debian mirror URL

Postby CiaW on Sat Dec 04, 2010 2:21 pm

It appears that perhaps Debian changed their mirror structure, and I do have updates coming through mintupdate, but I get the following error when it attempts to update the file lists. I started getting the error last weekend and thought it would work itself out, but apparently it hasn't. First here's the error:

Code: Select all
W: Failed to fetch http://ftp.us.debian.org/debian/dists/debian/main/binary-i386/Packages.gz  404  Not Found [IP: 149.20.20.135 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dists/debian/upstream/binary-i386/Packages.gz  404  Not Found [IP: 149.20.20.135 80]

(3 similar lines not included)

E: Some index files failed to download, they have been ignored, or old ones used instead.


In my browser I went to http://ftp.us.debian.org/debian/dists/ and discover there is no 'main' or 'upstream' but there is this:
Code: Select all
Parent Directory                               -   
Debian5.0.7/              01-Dec-2010 12:50    -   
experimental/             04-Dec-2010 14:25    -   
lenny-proposed-updates/   04-Dec-2010 14:24    -   
lenny/                    01-Dec-2010 12:50    -   
proposed-updates/         04-Dec-2010 14:24    -   
rc-buggy/                 04-Dec-2010 14:25    -   
sid/                      04-Dec-2010 14:25    -   
squeeze-proposed-updates/ 04-Dec-2010 14:24    -   
squeeze-updates/          04-Dec-2010 14:24    -   
squeeze/                  04-Dec-2010 14:24    -   
stable-proposed-updates/  04-Dec-2010 14:24    -   
stable/                   01-Dec-2010 12:50    -   
testing-proposed-updates/ 04-Dec-2010 14:24    -   
testing/                  04-Dec-2010 14:24    -   
unstable/                 04-Dec-2010 14:25    -   
README                    27-Nov-2010 12:35  400


I added the url found on the Debian worldwide mirror list http://www.debian.org/mirror/list on the update manager software sources 3rd party tab. Here's output from /etc/apt/sources.list, the first and second one seem to be the ones that have the problem. (?)
Code: Select all
deb http://ftp.us.debian.org/debian/ debian main upstream import backport romeo
deb http://debian.osuosl.org/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free

deb http://mirror.csclub.uwaterloo.ca/linuxmint-packages/ debian main upstream import
deb http://deb.opera.com/opera/ stable non-free


if I change the url for the top entry (on the 3rd party software sources tab) to: http://debian.osuosl.org/debian/ then I get essentially the same error, 404 file not found. Shall I just wait for an update to fix that or is there something I'm missing that I need to fix? I'm more familiar with the Fedora / Red hat methods (i.e. rpm or yum), so please be specific if there's something I need to do. Also, I had temporarily enabled backport and romeo on the main 'software sources' via check box to fix a previous update issue and then unchecked them, but from the above it looks like maybe it still thinks it's enabled?
Last edited by CiaW on Sun Dec 05, 2010 2:06 pm, edited 1 time in total.
CiaW
Level 3
Level 3
 
Posts: 170
Joined: Fri Sep 10, 2010 11:39 am
Location: Spokane Wash, USA

Linux Mint is funded by ads and donations.
 

Re: Updating Debian mirror URL

Postby ShexNivis on Sat Dec 04, 2010 3:46 pm

The first line of your sources.list file is wrong, it tries to contact a debian mirror to get mint's romeo and backports updates. Comment it.
Also try changing the second from:
deb http://debian.osuosl.org/debian/ testing main contrib non-free
to
deb http://ftp.us.debian.org/debian testing main contrib non-free

do apt-get update and see if it works.
best torrent client ever: http://www.tixati.com
User avatar
ShexNivis
Level 3
Level 3
 
Posts: 109
Joined: Mon Sep 21, 2009 10:25 pm

Re: Updating Debian mirror URL

Postby CiaW on Sat Dec 04, 2010 4:14 pm

Well, that appears to have worked, yay! Result:
Fetched 6,853 kB in 44s (155 kB/s)
Reading package lists... Done

Thank you very much!
CiaW
Level 3
Level 3
 
Posts: 170
Joined: Fri Sep 10, 2010 11:39 am
Location: Spokane Wash, USA

Re: Updating Debian mirror URL

Postby ShexNivis on Sat Dec 04, 2010 4:20 pm

No problem,
add a [Solved] to the title of your post if you don't mind : )
best torrent client ever: http://www.tixati.com
User avatar
ShexNivis
Level 3
Level 3
 
Posts: 109
Joined: Mon Sep 21, 2009 10:25 pm


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 10 guests