** Andy Smith <andy(a)bitfolk.com> [2019-02-20 12:26]:
On Wed, Feb 20, 2019 at 09:41:03AM +0000, Paul Tansom
wrote:
<snip>
I've just
been looking to do a do-release-upgrade from Ubuntu 16.04 to
18.04 and come across a raft of error messages along the lines of:
Err
http://apt-cacher.lon.bitfolk.com/ubuntu/gb.archive.ubuntu.com/ubuntu bionic/main
Sources
403 Forbidden file type or location:
/ubuntu/gb.archive.ubuntu.com/ubuntu/dists/bionic/main/source/by-hash/SHA256/0e05b8e93cbdfe5d41306e9d34c893fa23f3087a58c637b882cb0f133375a133
[IP: 2001:ba8:1f1:f079::2 80]
This seems to be a new problem, not the same as above.
I'll try to have a look why the apt-cacher-ng is not accepting that URL.
It does work when pointed directly at the mirror:
$ curl -v
http://gb.archive.ubuntu.com/ubuntu/dists/bionic/main/source/by-hash/SHA256…
f3087a58c637b882cb0f133375a133 >/dev/null
* Hostname was NOT found in DNS cache
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Trying 2001:67c:1560:8001::11...
* Connected to
gb.archive.ubuntu.com (2001:67c:1560:8001::11) port 80 (#0)
GET
/ubuntu/dists/bionic/main/source/by-hash/SHA256/0e05b8e93cbdfe5d41306e9d34c893fa23f3087a58c637b882cb0f133375a133
HTTP/1.1
User-Agent: curl/7.38.0
Host:
gb.archive.ubuntu.com
Accept: */*
< HTTP/1.1 200 OK
< Date: Wed, 20 Feb 2019 12:21:32 GMT
* Server Apache/2.4.18 (Ubuntu) is not blacklisted
< Server: Apache/2.4.18 (Ubuntu)
< Last-Modified: Thu, 26 Apr 2018 17:43:25 GMT
< ETag: "ca77c-56ac3eca5a940"
< Accept-Ranges: bytes
< Content-Length: 829308
<
{ [data not shown]
100 809k 100 809k 0 0 16.1M 0 --:--:-- --:--:-- --:--:-- 19.2M
* Connection #0 to host
gb.archive.ubuntu.com left intact
In the mean time if it is causing you a problem with your
do-release-upgrade my best suggestion is to remove the first
"apt-cacher.lon.bitfolk.com/ubuntu/" out of every URL in your
/etc/apt/sources.list, "sudo apt update" and try again.
** end quote
[Andy Smith]
I'm not in a desparate rush, so let me know if you want anything checked
or the full list of errors - they are all the same format, just
different locations.
--
Paul Tansom | Aptanet Ltd. |
https://www.aptanet.com/ | 023 9238 0001
Vice Chair, FSB Portsmouth & SE Hampshire Branch |
http://www.fsb.org.uk/
=============================================================================
Registered in England | Company No: 4905028 | Registered Office: Ralls House,
Parklands Business Park, Forrest Road, Denmead, Waterlooville, Hants, PO7 6XP