Solved Linux - v16 to v18 upgrade failing - "repository does no longer have a Release file

Status
Not open for further replies.

GlobalC

Titanium Partner
Joined
Sep 28, 2021
Messages
4
Reaction score
1
Hello.
I'm not sure whether this is related to previous OVH outage or not.

Struggling with upgrading Debian 9 / v16 over to Debian 10 / v18 at the moment. Seems that there are some issues with repository "http://downloads.3cx.com/downloads/debian stretch Release".


UPDATE_FAILED file content:
....
^[[33m====== [11:04:54] Pre-Upgrade: Executing apt-get clean before upgrading^[[39m
> Execute apt command simulation on "clean"
Del /var/cache/apt/archives/* /var/cache/apt/archives/partial/*
Del /var/lib/apt/lists/partial/*
Del /var/cache/apt/pkgcache.bin /var/cache/apt/srcpkgcache.bin
> Execute apt command on "clean"
^[[33m====== [11:04:54] Pre-Upgrade: Downloading the latest pinning file for Debian 9^[[39m
--2021-10-13 11:04:54-- https://downloads-global.3cx.com/downloads/v180/debianupdate/stretch.txt
Resolving downloads-global.3cx.com (downloads-global.3cx.com)... 104.22.14.119, 172.67.39.236, 104.22.15.119, ...
Connecting to downloads-global.3cx.com (downloads-global.3cx.com)|104.22.14.119|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24377 (24K) [text/plain]
Saving to: ‘STDOUT’

0K .......... .......... ... 100% 5.16M=0.005s

2021-10-13 11:04:54 (5.16 MB/s) - written to stdout [24377/24377]

^[[33m====== [11:04:54] Pre-Upgrade: Executing apt-get upgrade to upgrade to the latest Debian 9^[[39m
> Execute apt command simulation on "update"
> Execute apt command on "update"
Get:1 http://downloads-global.3cx.com/downloads/debian stretch-testing InRelease [8,917 B]
Ign:2 http://ftp.no.debian.org/debian stretch InRelease
Hit:3 http://ftp.no.debian.org/debian stretch-updates InRelease
Get:4 http://security.debian.org stretch/updates InRelease [53.0 kB]
Hit:5 http://ftp.no.debian.org/debian stretch Release
Ign:6 http://deb.debian.org/debian stretch InRelease
Ign:7 http://downloads.3cx.com/downloads/debian stretch InRelease
Get:8 http://deb.debian.org/debian stretch Release [118 kB]
Get:9 http://deb.debian.org/debian stretch Release.gpg [3,177 B]
Err:10 http://downloads.3cx.com/downloads/debian stretch Release
406 Not Acceptable [IP: 104.22.14.119 80]
Get:11 http://downloads-global.3cx.com/downloads/debian stretch-testing/main amd64 Packages [1,834 B]
Err:11 http://downloads-global.3cx.com/downloads/debian stretch-testing/main amd64 Packages
Writing more data than expected (2344 > 1834) [IP: 172.67.39.236 80]
Hashes of expected file:
- Filesize:1834 [weak]
- SHA512:c66849e636d4fb5f668fba9e57d16da3bce177ac098a8dfaf35249ec01d49f9a1afbd818a8b480c7c2bc65da0cb997b2697a060b75d16fe82ddc04ec751e60dc
- SHA256:9789ee9a04a49b1c1d297f3c5fb6ce836c946f1d20b4be313792b6a1c3a3d095
- SHA1:37c75c32332983de677f9810794202ade3c47332 [weak]
- MD5Sum:6d16e5e04d9f38d69af22e0c4b82cf1e [weak]
Release file created at: Wed, 13 Oct 2021 08:53:37 +0000
Get:12 http://security.debian.org stretch/updates/main Sources [374 kB]
Get:13 http://security.debian.org stretch/updates/main amd64 Packages [721 kB]
Get:14 http://security.debian.org stretch/updates/main Translation-en [333 kB]
Get:16 http://deb.debian.org/debian stretch/main amd64 Packages [7,080 kB]
Get:17 http://deb.debian.org/debian stretch/main Translation-en [5,377 kB]
Reading package lists...
E: The repository 'http://downloads.3cx.com/downloads/debian stretch Release' does no longer have a Release file.
> Upgrade failed (update)

When running apt update command:
Get:11 http://downloads-global.3cx.com/downloads/debian stretch-testing/main amd64 Packages [1,834 B]
Err:11 http://downloads-global.3cx.com/downloads/debian stretch-testing/main amd64 Packages
Writing more data than expected (2344 > 1834) [IP: 104.22.15.119 80]
Hashes of expected file:
- Filesize:1834 [weak]
- SHA512:c66849e636d4fb5f668fba9e57d16da3bce177ac098a8dfaf35249ec01d49f9a1afbd818a8b480c7c2bc65da0cb997b2697a060b75d16fe82ddc04ec751e60dc
- SHA256:9789ee9a04a49b1c1d297f3c5fb6ce836c946f1d20b4be313792b6a1c3a3d095
- SHA1:37c75c32332983de677f9810794202ade3c47332 [weak]
- MD5Sum:6d16e5e04d9f38d69af22e0c4b82cf1e [weak]
Release file created at: Wed, 13 Oct 2021 08:53:37 +0000
Fetched 17.8 kB in 0s (33.4 kB/s)
Reading package lists... Done
E: Failed to fetch http://downloads-global.3cx.com/dow...tretch-testing/main/binary-amd64/Packages.bz2 Writing more data than expected (2344 > 1834) [IP: 104.22.15.119 80]
Hashes of expected file:
- Filesize:1834 [weak]
- SHA512:c66849e636d4fb5f668fba9e57d16da3bce177ac098a8dfaf35249ec01d49f9a1afbd818a8b480c7c2bc65da0cb997b2697a060b75d16fe82ddc04ec751e60dc
- SHA256:9789ee9a04a49b1c1d297f3c5fb6ce836c946f1d20b4be313792b6a1c3a3d095
- SHA1:37c75c32332983de677f9810794202ade3c47332 [weak]
- MD5Sum:6d16e5e04d9f38d69af22e0c4b82cf1e [weak]
Release file created at: Wed, 13 Oct 2021 08:53:37 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

Is this an aftermath of the OVH outage? Or is this new issue which needs to be looked at?
 
Hi @GlobalC,

Is this able to be replicated? Can you try it again and let me know if you have the same issue?
 
thanks for response...
I rebooted the server to begin with..
when I run "apt update", I get this:

root@no121:/tmp# apt update
Ign:1 http://downloads.3cx.com/downloads/debian stretch InRelease
Get:2 http://downloads-global.3cx.com/downloads/debian stretch-testing InRelease [8,917 B]
Ign:3 http://ftp.no.debian.org/debian stretch InRelease
Hit:4 http://ftp.no.debian.org/debian stretch-updates InRelease
Hit:5 http://security.debian.org stretch/updates InRelease
Ign:6 http://deb.debian.org/debian stretch InRelease
Hit:7 http://ftp.no.debian.org/debian stretch Release
Hit:8 http://deb.debian.org/debian stretch Release
Err:9 http://downloads.3cx.com/downloads/debian stretch Release
521 [IP: 172.67.39.236 80]
Get:10 http://downloads-global.3cx.com/downloads/debian stretch-testing/main amd64 Packages [1,834 B]
Err:10 http://downloads-global.3cx.com/downloads/debian stretch-testing/main amd64 Packages
Writing more data than expected (2344 > 1834) [IP: 104.22.15.119 80]
Hashes of expected file:
- Filesize:1834 [weak]
- SHA512:c66849e636d4fb5f668fba9e57d16da3bce177ac098a8dfaf35249ec01d49f9a1afbd818a8b480c7c2bc65da0cb997b2697a060b75d16fe82ddc04ec751e60dc
- SHA256:9789ee9a04a49b1c1d297f3c5fb6ce836c946f1d20b4be313792b6a1c3a3d095
- SHA1:37c75c32332983de677f9810794202ade3c47332 [weak]
- MD5Sum:6d16e5e04d9f38d69af22e0c4b82cf1e [weak]
Release file created at: Wed, 13 Oct 2021 08:53:37 +0000
Reading package lists... Done
E: The repository 'http://downloads.3cx.com/downloads/debian stretch Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

I haven't tried running the v16 to v18 upgrade because it will end up failing on the same issue as "apt update" is having.

/etc/apt/source.list.d has only these two files:
3cxpbx.list -
deb http://downloads.3cx.com/downloads/debian stretch main

3cxpbx-testing.list -
deb [arch=amd64] http://downloads-global.3cx.com/downloads/debian stretch-testing main
 
Just tried to run the v16 to v18 update again now. It failed... this is the last part of UPDATE_FAILED file:
............

====== [11:57:56] Pre-Upgrade: Executing apt-get upgrade to upgrade to the latest Debian 9
> Execute apt command simulation on "update"
> Execute apt command on "update"
Ign:1 http://ftp.no.debian.org/debian stretch InRelease
Hit:2 http://ftp.no.debian.org/debian stretch-updates InRelease
Hit:3 http://ftp.no.debian.org/debian stretch Release
Get:4 http://downloads-global.3cx.com/downloads/debian stretch-testing InRelease [8,917 B]
Ign:5 http://deb.debian.org/debian stretch InRelease
Get:6 http://security.debian.org stretch/updates InRelease [53.0 kB]
Ign:7 http://downloads.3cx.com/downloads/debian stretch InRelease
Get:8 http://deb.debian.org/debian stretch Release [118 kB]
Err:9 http://downloads.3cx.com/downloads/debian stretch Release
406 Not Acceptable [IP: 172.67.39.236 80]
Get:10 http://deb.debian.org/debian stretch Release.gpg [3,177 B]
Get:12 http://downloads-global.3cx.com/downloads/debian stretch-testing/main amd64 Packages [1,834 B]
Err:12 http://downloads-global.3cx.com/downloads/debian stretch-testing/main amd64 Packages
Writing more data than expected (2344 > 1834) [IP: 104.22.15.119 80]
Hashes of expected file:
- Filesize:1834 [weak]
- SHA512:c66849e636d4fb5f668fba9e57d16da3bce177ac098a8dfaf35249ec01d49f9a1afbd818a8b480c7c2bc65da0cb997b2697a060b75d16fe82ddc04ec751e60dc
- SHA256:9789ee9a04a49b1c1d297f3c5fb6ce836c946f1d20b4be313792b6a1c3a3d095
- SHA1:37c75c32332983de677f9810794202ade3c47332 [weak]
- MD5Sum:6d16e5e04d9f38d69af22e0c4b82cf1e [weak]
Release file created at: Wed, 13 Oct 2021 08:53:37 +0000
Get:13 http://security.debian.org stretch/updates/main Sources [374 kB]
Get:14 http://security.debian.org stretch/updates/main amd64 Packages [721 kB]
Get:15 http://security.debian.org stretch/updates/main Translation-en [333 kB]
Get:16 http://deb.debian.org/debian stretch/main amd64 Packages [7,080 kB]
Get:17 http://deb.debian.org/debian stretch/main Translation-en [5,377 kB]
Reading package lists...
E: The repository 'http://downloads.3cx.com/downloads/debian stretch Release' does no longer have a Release file.
> Upgrade failed (update)
 
I've got a similar error :

Err:11 http://downloads-global.3cx.com/downloads/debian buster-testing/main amd64 Packages
File has unexpected size (3721 != 2107). Mirror sync in progress? [IP: 2606:4700:10::ac43:27ec 80]
Hashes of expected file:
- Filesize:2107 [weak]
- SHA512:4509f79144a9ea2db14c9b3407d9fb3fd0478271e5df48cdb63a6395e5c9c9a85465758da04431caf2322c87c539d43fbda561c5c19dd85ae0e6a062f24fff1c
- SHA256:0a44a2a172ace89472deeeb7e862eafffd92dc8bdd9b4077fdf3888ccf73b5f0
- SHA1:f0a5193f3f54c968efb086fa60d89290a27ae64f [weak]
- MD5Sum:b44af77e6c61af624f49d16e0a4bd78a [weak]
Release file created at: Wed, 13 Oct 2021 09:19:05 +0000
Fetched 11.5 kB in 1s (8,469 B/s)
Reading package lists... Done
E: Failed to fetch http://downloads-global.3cx.com/downloads/debian/dists/buster-testing/main/binary-amd64/Packages.bz2 File has unexpected size (3721 != 2107). Mirror sync in progress? [IP: 2606:4700:10::ac43:27ec 80]
Hashes of expected file:
- Filesize:2107 [weak]
- SHA512:4509f79144a9ea2db14c9b3407d9fb3fd0478271e5df48cdb63a6395e5c9c9a85465758da04431caf2322c87c539d43fbda561c5c19dd85ae0e6a062f24fff1c
- SHA256:0a44a2a172ace89472deeeb7e862eafffd92dc8bdd9b4077fdf3888ccf73b5f0
- SHA1:f0a5193f3f54c968efb086fa60d89290a27ae64f [weak]
- MD5Sum:b44af77e6c61af624f49d16e0a4bd78a [weak]
Release file created at: Wed, 13 Oct 2021 09:19:05 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
 
Hi @GlobalC and @rsh,

@GlobalC, Can you navigate to /etc/apt/sources.list.d/ and edit both the 3cxpbx.list and 3cxpbx-testing.list files, changing downloads.3cx.com to downloads-global.3cx.com.

@rsh what you're seeing is the repository being updated... wonder what that could be ;)
 
It's fixed now..
 
Actually, the issue for me got resolved ca 15 minutes prior you posted your comment.
I needed to run apt update due to some additional test package and both 3cx repos worked just fine.
I didn't need to modify the URL in source lists.

And the v16 to v18 upgrade worked just fine as well
 
  • Like
Reactions: N_G
Glad to hear it's working for both of you now. I'll mark the thread as solved.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet