Hash and size mismatch with http://ddebs.ubuntu.com/dists/bionic-updates/main/binary-amd64/Packages.gz

Bug #1975865 reported by Gabriel M. Beddingfield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When adding the debug repos, I am getting:

E: Failed to fetch http://ddebs.ubuntu.com/dists/bionic-updates/main/binary-amd64/Packages.gz File has unexpected size (795886 != 795487). Mirror sync in progress? [IP: 91.189.91.49 80]
   Hashes of expected file:
    - Filesize:795487 [weak]
    - SHA512:982169cbaaa6b0fe84e2cac755c140f52c578619beea451baa90234af2cfdaef90ac936eb7a7de24364ee860a6b021f852f11a87b7cd6dcb98923a248bc45a81
    - SHA256:4a69b95e20ac09bb3de2d5e3c652b2c027bcfa4d6df9dea0a4aed16c805869e6
    - SHA1:11dded397ab87e4fff81acf4aed6af18f8eee0b2 [weak]
    - MD5Sum:9045f9c8424cf15e897f682708f158b8 [weak]
   Release file created at: Thu, 26 May 2022 08:04:16 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

When I manually go to the repositories... many (all?) of the hashes listed in http://ddebs.ubuntu.com/dists/bionic-updates/Release do not match the files (e.g. http://ddebs.ubuntu.com/dists/bionic-updates/main/binary-amd64/Packages.gz )

Note: I filed this against `apt` because `ubuntu-bug` forced me to specify a package and I didn't know any other way to file the bug.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: apt 1.6.14
Uname: Linux 5.16.18-1rodete2-amd64 x86_64
ApportVersion: 2.20.9-0ubuntu7.28
Architecture: amd64
Date: Thu May 26 18:36:21 2022
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Gabriel M. Beddingfield (gabrbedd) wrote :
Revision history for this message
Juan Navarro (j1elo) wrote :

I just filed a similar bug affecting Ubuntu 20.04 Focal:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1976233

There seems to be a problem with a recent update of the ddebs repositories.

Revision history for this message
Gabriel M. Beddingfield (gabrbedd) wrote : Re: [Bug 1975865] Re: Hash and size mismatch with http://ddebs.ubuntu.com/dists/bionic-updates/main/binary-amd64/Packages.gz

Yep, this affects all versions. FWIW, the ddebs repository seems to break
like this every 1-2 years and after reporting it, it's usually cleaned up
in a week or two.

On Mon, May 30, 2022 at 2:31 AM Juan Navarro <email address hidden>
wrote:

> I just filed a similar bug affecting Ubuntu 20.04 Focal:
> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1976233
>
> There seems to be a problem with a recent update of the ddebs
> repositories.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1975865
>
> Title:
> Hash and size mismatch with http://ddebs.ubuntu.com/dists/bionic-
> updates/main/binary-amd64/Packages.gz
>
> Status in apt package in Ubuntu:
> New
>
> Bug description:
> When adding the debug repos, I am getting:
>
> E: Failed to fetch
> http://ddebs.ubuntu.com/dists/bionic-updates/main/binary-amd64/Packages.gz
> File has unexpected size (795886 != 795487). Mirror sync in progress? [IP:
> 91.189.91.49 80]
> Hashes of expected file:
> - Filesize:795487 [weak]
> -
> SHA512:982169cbaaa6b0fe84e2cac755c140f52c578619beea451baa90234af2cfdaef90ac936eb7a7de24364ee860a6b021f852f11a87b7cd6dcb98923a248bc45a81
> -
> SHA256:4a69b95e20ac09bb3de2d5e3c652b2c027bcfa4d6df9dea0a4aed16c805869e6
> - SHA1:11dded397ab87e4fff81acf4aed6af18f8eee0b2 [weak]
> - MD5Sum:9045f9c8424cf15e897f682708f158b8 [weak]
> Release file created at: Thu, 26 May 2022 08:04:16 +0000
> E: Some index files failed to download. They have been ignored, or old
> ones used instead.
>
> When I manually go to the repositories... many (all?) of the hashes
> listed in http://ddebs.ubuntu.com/dists/bionic-updates/Release do not
> match the files (e.g. http://ddebs.ubuntu.com/dists/bionic-
> updates/main/binary-amd64/Packages.gz )
>
> Note: I filed this against `apt` because `ubuntu-bug` forced me to
> specify a package and I didn't know any other way to file the bug.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: apt 1.6.14
> Uname: Linux 5.16.18-1rodete2-amd64 x86_64
> ApportVersion: 2.20.9-0ubuntu7.28
> Architecture: amd64
> Date: Thu May 26 18:36:21 2022
> ProcEnviron:
> TERM=xterm
> PATH=(custom, no user)
> SourcePackage: apt
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1975865/+subscriptions
>
>

Revision history for this message
Gabriel M. Beddingfield (gabrbedd) wrote :

This seems to be fixed, now.

Changed in apt (Ubuntu):
status: New → Confirmed
Ken Sharp (kennybobs)
Changed in apt (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Bram Stolk (b-stolk) wrote :

This now happens for noble:

```
Err:12 http://ddebs.ubuntu.com noble/universe amd64 Packages
  File has unexpected size (5097972 != 5076444). Mirror sync in progress? [IP: 185.125.190.18 80]
  Hashes of expected file:
   - Filesize:5076444 [weak]
   - SHA512:4a12f4b6c12396bf02c70a1a1bd8933d2cf0b7a151c6f1efcd3feb0644392e8539a542499637d7981fd47e5f3dc922d878bb77630aaa47f9be169194e65fbe0c
   - SHA256:4b2177c1b5f6aa3772056116eb80630a6032445253b9248f06db30cd707bc910
   - SHA1:3ba083c6ee31195a7d6851bb14a2c741083fe580 [weak]
   - MD5Sum:6845e2ee862b5570f928bbd4d2d7525e [weak]
  Release file created at: Sat, 13 Apr 2024 15:46:30 +0000
Fetched 31.9 MB in 3s (10.4 MB/s)
Reading package lists... Done
E: Failed to fetch http://ddebs.ubuntu.com/dists/noble/universe/binary-amd64/Packages.xz File has unexpected size (5097972 != 5076444). Mirror sync in progress? [IP: 185.125.190.18 80]
   Hashes of expected file:
    - Filesize:5076444 [weak]
    - SHA512:4a12f4b6c12396bf02c70a1a1bd8933d2cf0b7a151c6f1efcd3feb0644392e8539a542499637d7981fd47e5f3dc922d878bb77630aaa47f9be169194e65fbe0c
    - SHA256:4b2177c1b5f6aa3772056116eb80630a6032445253b9248f06db30cd707bc910
    - SHA1:3ba083c6ee31195a7d6851bb14a2c741083fe580 [weak]
    - MD5Sum:6845e2ee862b5570f928bbd4d2d7525e [weak]
   Release file created at: Sat, 13 Apr 2024 15:46:30 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
```

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.