Discussion:
Error on install: Repository "couldn't be accessed"
(too old to reply)
Robert Hardy (r.hardy)
2017-05-17 16:50:02 UTC
Permalink
Hi,

I received this message when installing from the Debian 8.8 netinstall ISO (debian-8.8.0-amd64-netinst.iso)

Initial error was for ftp.uk.debian.org<ftp://ftp.uk.debian.org>. I tried several others (including ftp.fr.debian.org<ftp://ftp.fr.debian.org> and mirror.bytemark.co.uk) with similar errors.

Continued with the install, which appeared to go OK otherwise. Found that two lines were commented out in sources.list, post install:

# jessie-updates, previously known as 'volatile'
# Line commented out by installer because it failed to verify:
#deb http://ftp.uk.debian.org/debian/ jessie-updates main
# Line commented out by installer because it failed to verify:
#deb-src http://ftp.uk.debian.org/debian/ jessie-updates main

Uncommented these, and received the following errors on running apt-get update:

Hit http://ftp.uk.debian.org jessie/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en

Err http://ftp.uk.debian.org jessie-updates/main Translation-en

Err http://ftp.uk.debian.org jessie-updates/main Translation-en
404 Not Found [IP: 78.129.164.123 80]
Fetched 168 kB in 6min 3s (463 B/s)
W: Failed to fetch http://ftp.uk.debian.org/debian/dists/jessie-updates/main/i18n/Translation-en 404 Not Found [IP: 78.129.164.123 80]

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


* Is this a known issue?
* Should I have any concerns about stability / missing files follow this?

Thanks,
Rob

[175 YEARS OF EXCELLENCE]<http://www.yorksj.ac.uk/175.aspx>



This email and any files transmitted with it were intended solely for the addressee. If you have received this email in error please let the sender know by return.

Please think before you print.
RavenLX
2017-05-17 17:00:02 UTC
Permalink
Post by Robert Hardy (r.hardy)
Hi,
I received this message when installing from the Debian 8.8 netinstall
ISO (debian-8.8.0-amd64-netinst.iso)
Initial error was for ftp.uk.debian.org <ftp://ftp.uk.debian.org>. I
tried several others (including ftp.fr.debian.org
<ftp://ftp.fr.debian.org> and mirror.bytemark.co.uk) with similar errors.
Continued with the install, which appeared to go OK otherwise. Found
# jessie-updates, previously known as 'volatile'
#deb http://ftp.uk.debian.org/debian/ jessie-updates main
#deb-src http://ftp.uk.debian.org/debian/ jessie-updates main
Hit http://ftp.uk.debian.org jessie/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en
404 Not Found [IP: 78.129.164.123 80]
Fetched 168 kB in 6min 3s (463 B/s)
W: Failed to fetch
http://ftp.uk.debian.org/debian/dists/jessie-updates/main/i18n/Translation-en
404 Not Found [IP: 78.129.164.123 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
* Is this a known issue?
* Should I have any concerns about stability / missing files follow this?
Thanks,
Rob
I had that happened. I then changed all the http://ftp.* to
http://httpredir.debian.org. I learned of this here:

https://wiki.debian.org/SourcesList#Example_sources.list

Then I apt-get update and it worked fine from there.
Liam O'Toole
2017-05-18 13:10:02 UTC
Permalink
Post by RavenLX
Post by Robert Hardy (r.hardy)
Hi,
I received this message when installing from the Debian 8.8 netinstall
ISO (debian-8.8.0-amd64-netinst.iso)
Initial error was for ftp.uk.debian.org <ftp://ftp.uk.debian.org>. I
tried several others (including ftp.fr.debian.org
<ftp://ftp.fr.debian.org> and mirror.bytemark.co.uk) with similar errors.
Continued with the install, which appeared to go OK otherwise. Found
# jessie-updates, previously known as 'volatile'
#deb http://ftp.uk.debian.org/debian/ jessie-updates main
#deb-src http://ftp.uk.debian.org/debian/ jessie-updates main
Hit http://ftp.uk.debian.org jessie/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en
404 Not Found [IP: 78.129.164.123 80]
Fetched 168 kB in 6min 3s (463 B/s)
W: Failed to fetch
http://ftp.uk.debian.org/debian/dists/jessie-updates/main/i18n/Translation-en
404 Not Found [IP: 78.129.164.123 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
* Is this a known issue?
* Should I have any concerns about stability / missing files follow this?
Thanks,
Rob
I had that happened. I then changed all the http://ftp.* to
https://wiki.debian.org/SourcesList#Example_sources.list
Then I apt-get update and it worked fine from there.
Just a FYI: the recommended redirector is now http://deb.debian.org/.
--
Liam
RavenLX
2017-05-21 12:40:01 UTC
Permalink
On 05/18/2017 09:06 AM, Liam O'Toole wrote:
[snipped...]
Post by Liam O'Toole
Post by RavenLX
I had that happened. I then changed all the http://ftp.* to
https://wiki.debian.org/SourcesList#Example_sources.list
Then I apt-get update and it worked fine from there.
Just a FYI: the recommended redirector is now http://deb.debian.org/.
Thank you! The wiki probably either needs updating or was updated since
I looked last.
Matthew McKinnon
2017-05-21 23:10:01 UTC
Permalink
Post by RavenLX
[snipped...]
Post by Liam O'Toole
Post by RavenLX
I had that happened. I then changed all the http://ftp.* to
https://wiki.debian.org/SourcesList#Example_sources.list
Then I apt-get update and it worked fine from there.
Just a FYI: the recommended redirector is now http://deb.debian.org/.
Thank you! The wiki probably either needs updating or was updated since I
looked last.
Wiki still needs updating. Still showing

deb http://httpredir.debian.org/debian jessie main
deb-src http://httpredir.debian.org/debian jessie main

Thanks for the tip on the new redirect :)

Matt
Brian
2017-05-21 23:20:01 UTC
Permalink
Post by Matthew McKinnon
Post by RavenLX
[snipped...]
Post by Liam O'Toole
Post by RavenLX
I had that happened. I then changed all the http://ftp.* to
https://wiki.debian.org/SourcesList#Example_sources.list
Then I apt-get update and it worked fine from there.
Just a FYI: the recommended redirector is now http://deb.debian.org/.
Thank you! The wiki probably either needs updating or was updated since I
looked last.
Wiki still needs updating. Still showing
Would you care to nominate someone to do the work of updating it. :)
Matthew McKinnon
2017-05-22 00:00:02 UTC
Permalink
Post by Brian
Post by Matthew McKinnon
Post by RavenLX
[snipped...]
Post by Liam O'Toole
Post by RavenLX
I had that happened. I then changed all the http://ftp.* to
https://wiki.debian.org/SourcesList#Example_sources.list
Then I apt-get update and it worked fine from there.
Just a FYI: the recommended redirector is now http://deb.debian.org/.
Thank you! The wiki probably either needs updating or was updated since I
looked last.
Wiki still needs updating. Still showing
Would you care to nominate someone to do the work of updating it. :)
As we are still in Jessie. It still shows Jessie so I would think that this is correct.

I think it should be changed when Stretch becomes stable? Just a thought.

Thanks
Matt
Brian
2017-05-22 00:20:01 UTC
Permalink
Post by Matthew McKinnon
Post by Brian
Post by Matthew McKinnon
Post by RavenLX
[snipped...]
Post by Liam O'Toole
Post by RavenLX
I had that happened. I then changed all the http://ftp.* to
https://wiki.debian.org/SourcesList#Example_sources.list
Then I apt-get update and it worked fine from there.
Just a FYI: the recommended redirector is now http://deb.debian.org/.
Thank you! The wiki probably either needs updating or was updated since I
looked last.
Wiki still needs updating. Still showing
Would you care to nominate someone to do the work of updating it. :)
As we are still in Jessie. It still shows Jessie so I would think that this is correct.
Support for httpredir.debian.org has been discontinued. Versions
of aptfrom 0.7.21 onwards support http redirections. Support for
httpredir.debian.org has been discontinued.
Post by Matthew McKinnon
I think it should be changed when Stretch becomes stable? Just a thought.
It could be done now. Hint, hint. :)
--
Brian.
Matthew McKinnon
2017-05-22 03:50:02 UTC
Permalink
Post by Brian
Post by Matthew McKinnon
I think it should be changed when Stretch becomes stable? Just a thought.
It could be done now. Hint, hint. :)
--
Brian.
Well I made my first contribution to the Debian Community. Made myself an account on the Wiki. It has now been updated with the new link - http://deb.debian.org

Thanks
Matt
Brian
2017-05-22 10:20:02 UTC
Permalink
Post by Matthew McKinnon
Post by Brian
Post by Matthew McKinnon
I think it should be changed when Stretch becomes stable? Just a thought.
It could be done now. Hint, hint. :)
--
Brian.
Well I made my first contribution to the Debian Community. Made myself
an account on the Wiki. It has now been updated with the new link -
http://deb.debian.org
Your second. You have contributed to this list.
--
Brian.
RavenLX
2017-05-25 11:50:03 UTC
Permalink
Post by Matthew McKinnon
Well I made my first contribution to the Debian Community. Made myself an account on the Wiki. It has now been updated with the new link - http://deb.debian.org
Thank you! :) Ever since the announcement that the ftp* was going down
later this year, I wanted to get the right URLs just to be sure I don't
forget and wonder what happened when the ftp* ones bite the dust.
Darac Marjal
2017-05-26 08:20:02 UTC
Permalink
Post by RavenLX
Post by Matthew McKinnon
Well I made my first contribution to the Debian Community. Made myself an account on the Wiki. It has now been updated with the new link - http://deb.debian.org
Thank you! :) Ever since the announcement that the ftp* was going down
later this year, I wanted to get the right URLs just to be sure I
don't forget and wonder what happened when the ftp* ones bite the
dust.
Just to clarify, the ftp.*.debian.org HOSTNAMES are not going away. Only
the ftp://*.debian.org service on those servers is being shut down.
There is no intention to stop http://ftp.*.debian.org from working.
--
For more information, please reread.
Pascal Hambourg
2017-05-27 08:20:02 UTC
Permalink
Post by Darac Marjal
the ftp://*.debian.org service on those servers is being shut down.
I wonder how Debian is going to order the operators of these mirrors to
shut down the FTP service on their servers. Some of these servers mirror
other archives than Debian.
Robert Hardy (r.hardy)
2017-05-23 14:10:02 UTC
Permalink
Thanks for the suggestions. However, this isn't an issue with the URL in sources.list. I've tried the following:

* installing using httpredir.debian.org (deb.debian.org isn't in the list of mirrors in the installer) - same error results.
* modifying the URL to deb.debian.org in sources.list and running apt-get update, same error results (see below).
* attempting to download the file Translation-en.bz2 from the repository (http://cdn-fastly.deb.debian.org/debian/dists/jessie-updates/main/i18n/) - download times out.

It looks like there is an issue with the mirror, which I'll report as a bug. However, I would appreciate advice on whether we should trust the installed system, given the missing file, or if it is likely that we will encounter ongoing issues arising from this.

Yours,
Rob

### ### ### ### ### ###

***@DebianTemplate8:/etc/apt$ sudo apt-get update
Hit http://security.debian.org jessie/updates InRelease
Ign http://deb.debian.org jessie InRelease
Get:1 http://deb.debian.org jessie-updates InRelease [145 kB]
Get:2 http://security.debian.org jessie/updates/main Sources [196 kB]
Get:3 http://deb.debian.org jessie Release.gpg [2,373 B]
Get:4 http://deb.debian.org jessie Release [148 kB]
Get:5 http://deb.debian.org jessie-updates/main Sources [15.5 kB]
Get:6 http://deb.debian.org jessie-updates/main Translation-en [12.6 kB]
Get:7 http://security.debian.org jessie/updates/main Sources [196 kB]
Get:8 http://deb.debian.org jessie-updates/main Translation-en [12.6 kB]
Get:9 http://deb.debian.org jessie-updates/main Translation-en [12.6 kB]
Get:10 http://security.debian.org jessie/updates/main Sources [196 kB]
Get:11 http://security.debian.org jessie/updates/main amd64 Packages [406 kB]
Get:12 http://deb.debian.org jessie-updates/main Translation-en [12.6 kB]
Get:13 http://deb.debian.org jessie-updates/main Translation-en [12.6 kB]
Get:14 http://deb.debian.org jessie-updates/main Translation-en [12.6 kB]
Get:15 http://security.debian.org jessie/updates/main amd64 Packages [406 kB]
Get:16 http://security.debian.org jessie/updates/main Translation-en [213 kB]
Get:17 http://deb.debian.org jessie-updates/main Translation-en [12.6 kB]
Get:18 http://deb.debian.org jessie-updates/main Translation-en [12.6 kB]
Get:19 http://security.debian.org jessie/updates/main Translation-en [213 kB]
Get:20 http://deb.debian.org jessie-updates/main Translation-en [12.6 kB]
...
Get:103 http://deb.debian.org jessie-updates/main Translation-en [12.6 kB]
Get:104 http://deb.debian.org jessie-updates/main Translation-en [12.6 kB]
Err http://deb.debian.org jessie-updates/main Translation-en

Get:105 http://deb.debian.org jessie/main Sources [7,055 kB]
Get:106 http://deb.debian.org jessie/main amd64 Packages [6,790 kB]
Get:107 http://deb.debian.org jessie/main Translation-en [4,583 kB]
Get:108 http://deb.debian.org jessie-updates/main amd64 Packages [15.5 kB]
Err http://deb.debian.org jessie-updates/main Translation-en

Err http://deb.debian.org jessie-updates/main Translation-en

Err http://deb.debian.org jessie-updates/main Translation-en

Err http://deb.debian.org jessie-updates/main Translation-en
404 Not Found [IP: 151.101.16.204 80]
Fetched 18.8 MB in 3h 8min 24s (1,659 B/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/i18n/Translation-en 404 Not Found [IP: 151.101.16.204 80]

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

Yours,
Rob Hardy
Applications and Systems Developer
York St. John University
01904 876953

-----Original Message-----
From: Liam O'Toole [mailto:***@gmail.com]
Sent: 18 May 2017 14:07
To: debian-***@lists.debian.org
Subject: Re: Error on install: Repository "couldn't be accessed"
Post by RavenLX
Post by Robert Hardy (r.hardy)
Hi,
I received this message when installing from the Debian 8.8
netinstall ISO (debian-8.8.0-amd64-netinst.iso)
Initial error was for ftp.uk.debian.org <ftp://ftp.uk.debian.org>. I
tried several others (including ftp.fr.debian.org
<ftp://ftp.fr.debian.org> and mirror.bytemark.co.uk) with similar errors.
Continued with the install, which appeared to go OK otherwise. Found
# jessie-updates, previously known as 'volatile'
#deb http://ftp.uk.debian.org/debian/ jessie-updates main
#deb-src http://ftp.uk.debian.org/debian/ jessie-updates main
Uncommented these, and received the following errors on running
apt-get
Hit http://ftp.uk.debian.org jessie/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en
404 Not Found [IP: 78.129.164.123 80]
Fetched 168 kB in 6min 3s (463 B/s)
W: Failed to fetch
http://ftp.uk.debian.org/debian/dists/jessie-updates/main/i18n/Transl
ation-en
404 Not Found [IP: 78.129.164.123 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
* Is this a known issue?
* Should I have any concerns about stability / missing files follow this?
Thanks,
Rob
I had that happened. I then changed all the http://ftp.* to
https://wiki.debian.org/SourcesList#Example_sources.list
Then I apt-get update and it worked fine from there.
Just a FYI: the recommended redirector is now http://deb.debian.org/.

--

Liam

[175 YEARS OF EXCELLENCE]<http://www.yorksj.ac.uk/175.aspx>


This email and any files transmitted with it were intended solely for the addressee. If you have received this email in error please let the sender know by return.

Please think before you print.
Liam O'Toole
2017-05-24 11:10:01 UTC
Permalink
Post by Robert Hardy (r.hardy)
Thanks for the suggestions. However, this isn't an issue with the URL
* installing using httpredir.debian.org (deb.debian.org isn't in the
list of mirrors in the installer) - same error results. * modifying
the URL to deb.debian.org in sources.list and running apt-get update,
same error results (see below). * attempting to download the file
Translation-en.bz2 from the repository
(http://cdn-fastly.deb.debian.org/debian/dists/jessie-updates/main/i18n/)
- download times out.
It looks like there is an issue with the mirror, which I'll report as
a bug. However, I would appreciate advice on whether we should trust
the installed system, given the missing file, or if it is likely that
we will encounter ongoing issues arising from this.
Yours, Rob
[...]

I'm afraid I can't help you with the issue you're facing, and I can't
reproduce it on a jessie box. My contribution was simply to point out
that httpredir.debian.org is deprecated.

Interestingly, I can download the file Translation-en.bz2 from
cdn-fastly.deb.debian.org without a hitch. The problem appears to be at
your end, not with the mirror.

By the way, please don't top-post. It irritates people here.
Post by Robert Hardy (r.hardy)
-----Original Message----- From: Liam O'Toole
"couldn't be accessed"
Post by RavenLX
Post by Robert Hardy (r.hardy)
Hi,
I received this message when installing from the Debian 8.8
netinstall ISO (debian-8.8.0-amd64-netinst.iso)
Initial error was for ftp.uk.debian.org <ftp://ftp.uk.debian.org>. I
tried several others (including ftp.fr.debian.org
<ftp://ftp.fr.debian.org> and mirror.bytemark.co.uk) with similar errors.
Continued with the install, which appeared to go OK otherwise. Found
# jessie-updates, previously known as 'volatile'
#deb http://ftp.uk.debian.org/debian/ jessie-updates main
#deb-src http://ftp.uk.debian.org/debian/ jessie-updates main
Hit http://ftp.uk.debian.org jessie/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en
Err http://ftp.uk.debian.org jessie-updates/main Translation-en
404 Not Found [IP: 78.129.164.123 80]
Fetched 168 kB in 6min 3s (463 B/s)
W: Failed to fetch
http://ftp.uk.debian.org/debian/dists/jessie-updates/main/i18n/Transl
ation-en 404 Not Found [IP: 78.129.164.123 80]
E: Some index files failed to download. They have been ignored, or
old ones used instead.
* Is this a known issue? * Should I have any concerns about
stability / missing files follow this?
Thanks,
Rob
I had that happened. I then changed all the http://ftp.* to
https://wiki.debian.org/SourcesList#Example_sources.list
Then I apt-get update and it worked fine from there.
Just a FYI: the recommended redirector is now http://deb.debian.org/.
--
Liam
[175 YEARS OF EXCELLENCE]<http://www.yorksj.ac.uk/175.aspx>
This email and any files transmitted with it were intended solely for
the addressee. If you have received this email in error please let the
sender know by return.
Please think before you print.
--
Liam
RavenLX
2017-05-25 11:50:03 UTC
Permalink
Post by Robert Hardy (r.hardy)
Err http://deb.debian.org jessie-updates/main Translation-en
In my setup it's:

http://deb.debian.org jessie/updates main contrib non-free

Note that it's jessie/updates not jessie-updates. Replace the hyphen
with a dash in your sources.list and update again. See if that works?
Mark Fletcher
2017-05-26 08:10:01 UTC
Permalink
Post by RavenLX
Post by Robert Hardy (r.hardy)
Err http://deb.debian.org jessie-updates/main Translation-en
http://deb.debian.org jessie/updates main contrib non-free
Note that it's jessie/updates not jessie-updates. Replace the hyphen with a
dash in your sources.list and update again. See if that works?
Why would it be jessie/updates? Looking at deb.debian.org/debian/dists
with a web browser, there is no updates/ folder under jessie/ but there
is a jessie-updates/ folder...

Mark
Liam O'Toole
2017-05-26 09:10:02 UTC
Permalink
Post by Mark Fletcher
Post by RavenLX
Post by Robert Hardy (r.hardy)
Err http://deb.debian.org jessie-updates/main Translation-en
http://deb.debian.org jessie/updates main contrib non-free
Note that it's jessie/updates not jessie-updates. Replace the hyphen with a
dash in your sources.list and update again. See if that works?
Why would it be jessie/updates? Looking at deb.debian.org/debian/dists
with a web browser, there is no updates/ folder under jessie/ but there
is a jessie-updates/ folder...
Mark
jessie-updates is correct in the case of http://deb.debian.org/debian/,
whereas jessie/updates is correct for http://security.debian.org/. I
think that's where the confusion lies.
--
Liam
Mark Fletcher
2017-05-27 05:20:02 UTC
Permalink
Post by Liam O'Toole
Post by Mark Fletcher
Post by RavenLX
Post by Robert Hardy (r.hardy)
Err http://deb.debian.org jessie-updates/main Translation-en
http://deb.debian.org jessie/updates main contrib non-free
Note that it's jessie/updates not jessie-updates. Replace the hyphen with a
dash in your sources.list and update again. See if that works?
Why would it be jessie/updates? Looking at deb.debian.org/debian/dists
with a web browser, there is no updates/ folder under jessie/ but there
is a jessie-updates/ folder...
Mark
jessie-updates is correct in the case of http://deb.debian.org/debian/,
whereas jessie/updates is correct for http://security.debian.org/. I
think that's where the confusion lies.
Ah-ha! I see, thanks.

Mark
RavenLX
2017-05-27 11:40:01 UTC
Permalink
Post by Mark Fletcher
Post by RavenLX
Post by Robert Hardy (r.hardy)
Err http://deb.debian.org jessie-updates/main Translation-en
http://deb.debian.org jessie/updates main contrib non-free
Note that it's jessie/updates not jessie-updates. Replace the hyphen with a
dash in your sources.list and update again. See if that works?
Why would it be jessie/updates? Looking at deb.debian.org/debian/dists
with a web browser, there is no updates/ folder under jessie/ but there
is a jessie-updates/ folder...
You're right. My bad. I was reading security.debian.org line and not
paying attention. Sorry about that. Mr. Hardy has the correct URL.

Another thing he can try is to move the affected lists from:

/var/lib/apt/lists
/var/lib/apt/lists/partial

Do another apt-get update and see if that helps. If not, you can always
put the lists back, if you need to. Generally doing apt-get update after
moving the lists out of those directories will refresh those lists.

That works for bad checksums when checking for updates, but not sure if
that will help in Mr. Hardy's situation. Worth a try, maybe?

Loading...