[Solved] Updating Debian mirror URL

Archived topics about LMDE 1 and LMDE 2
Locked
CiaW

[Solved] Updating Debian mirror URL

Post by CiaW »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
ShexNivis

Re: Updating Debian mirror URL

Post by ShexNivis »

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.
CiaW

Re: Updating Debian mirror URL

Post by CiaW »

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!
ShexNivis

Re: Updating Debian mirror URL

Post by ShexNivis »

No problem,
add a [Solved] to the title of your post if you don't mind : )
Locked

Return to “LMDE Archive”