Giter Site home page Giter Site logo

Comments (8)

andrii-suse avatar andrii-suse commented on May 28, 2024

Hej Joanne,

I believe this happened because we updated the package but kept the same name (we usually don't do this).

Definitely, and the easiest way will be if you update the package again in build.opensuse.org or just submit some noop change, so the package gets next build number.

Will it be possible?

(Scanner in MirrorCache doesn't try to get additional stats from mirrors besides file name at the moment: partially because getting timestamps and sizes is sometimes tricky, partially because there was no time dedicated to it yet).

from mirrorcache.

Tomo59 avatar Tomo59 commented on May 28, 2024

Hello,

we relaunched the compilation of our package with a newer versio which fixed the problem for this particular mirror. But we found another mirror with problems (see the curl at the end to know the mirror used):

root@hsinchu-tiogapass-005:~# apt update
Hit:1 http://ftp.tw.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Get:3 http://download.opensuse.org/repositories/home:/VIFIBnexedi//Debian_10 ./ InRelease [1546 B]
Hit:4 http://ftp.tw.debian.org/debian buster-updates InRelease
Get:5 http://download.opensuse.org/repositories/home:/VIFIBnexedi//Debian_10 ./ Packages [57.2 kB]
Err:5 http://download.opensuse.org/repositories/home:/VIFIBnexedi//Debian_10 ./ Packages
  File has unexpected size (68526 != 57153). Mirror sync in progress? [IP: 124.219.111.34 3142]
  Hashes of expected file:
   - Filesize:57153 [weak]
   - SHA256:02ad3a0343c8d34edb5fabfee73bfe7ed65afc8fd5536d2580b6ebca3d003a58
   - SHA1:0f390daec4765f8db702895e787aa0d2fe88385b [weak]
   - MD5Sum:9945f3ed14dd8d87edf0e095129ca4bd [weak]
  Release file created at: Sun, 08 May 2022 09:40:00 +0000
Fetched 1546 B in 1s (1338 B/s)
Reading package lists... Done
E: Failed to fetch http://download.opensuse.org/repositories/home:/VIFIBnexedi//Debian_10/./Packages.gz  File has unexpected size (68526 != 57153). Mirror sync in progress? [IP: 124.219.111.34 3142]
   Hashes of expected file:
    - Filesize:57153 [weak]
    - SHA256:02ad3a0343c8d34edb5fabfee73bfe7ed65afc8fd5536d2580b6ebca3d003a58
    - SHA1:0f390daec4765f8db702895e787aa0d2fe88385b [weak]
    - MD5Sum:9945f3ed14dd8d87edf0e095129ca4bd [weak]
   Release file created at: Sun, 08 May 2022 09:40:00 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@hsinchu-tiogapass-005:~# curl -I http://download.opensuse.org/repositories/home:/VIFIBnexedi//Debian_10/./Packages.gz
HTTP/1.1 302 Found
Date: Mon, 03 Jul 2023 13:09:50 GMT
Server: Mojolicious (Perl)
Location: http://downloadcontent2.opensuse.org/repositories/home:/VIFIBnexedi/Debian_10/Packages.gz
Content-Type: application/x-gzip

Is this a problem with this specific mirror ?

from mirrorcache.

andrii-suse avatar andrii-suse commented on May 28, 2024

Sorry I missed the reply back then. Is it still the issue or it resolved by itself? downloadcontent2 is a caching mirror, so (unless file name changed) it can keep old version for some time. But it shouldn't be longer than few hours afair.

from mirrorcache.

Tomo59 avatar Tomo59 commented on May 28, 2024

Hello it still fails:

# apt update
Get:1 http://download.opensuse.org/repositories/home:/VIFIBnexedi//Debian_10 ./ InRelease [1546 B]
Get:2 http://download.opensuse.org/repositories/home:/VIFIBnexedi//Debian_10 ./ Packages [57.2 kB]
Err:2 http://download.opensuse.org/repositories/home:/VIFIBnexedi//Debian_10 ./ Packages
  File has unexpected size (68526 != 57153). Mirror sync in progress? [IP: 124.219.111.34 3142]
  Hashes of expected file:
   - Filesize:57153 [weak]
   - SHA256:02ad3a0343c8d34edb5fabfee73bfe7ed65afc8fd5536d2580b6ebca3d003a58
   - SHA1:0f390daec4765f8db702895e787aa0d2fe88385b [weak]
   - MD5Sum:9945f3ed14dd8d87edf0e095129ca4bd [weak]
  Release file created at: Sun, 08 May 2022 09:40:00 +0000
Hit:3 http://ftp.tw.debian.org/debian buster InRelease                    
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Hit:5 http://ftp.tw.debian.org/debian buster-updates InRelease
Fetched 1546 B in 0s (3140 B/s)
Reading package lists... Done
E: Failed to fetch http://download.opensuse.org/repositories/home:/VIFIBnexedi//Debian_10/./Packages.gz  File has unexpected size (68526 != 57153). Mirror sync in progress? [IP: 124.219.111.34 3142]
   Hashes of expected file:
    - Filesize:57153 [weak]
    - SHA256:02ad3a0343c8d34edb5fabfee73bfe7ed65afc8fd5536d2580b6ebca3d003a58
    - SHA1:0f390daec4765f8db702895e787aa0d2fe88385b [weak]
    - MD5Sum:9945f3ed14dd8d87edf0e095129ca4bd [weak]
   Release file created at: Sun, 08 May 2022 09:40:00 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
# curl -I http://download.opensuse.org/repositories/home:/VIFIBnexedi//Debian_10/./Packages.gz
HTTP/1.1 302 Found
Date: Thu, 20 Jul 2023 15:27:03 GMT
Server: Mojolicious (Perl)
Location: http://downloadcontentcdn.opensuse.org/repositories/home:/VIFIBnexedi/Debian_10/Packages.gz
Content-Type: application/x-gzip

from mirrorcache.

Tomo59 avatar Tomo59 commented on May 28, 2024

@andrii-suse

from mirrorcache.

andrii-suse avatar andrii-suse commented on May 28, 2024

It looks something is weird on your side - maybe you can try to clean apt cache, etc.
I don't know why it says

Hashes of expected file:
   - Filesize:57153 [weak]

When the InRelease file has size 68526, i.e.:

> curl -sL download.opensuse.org/mb/repositories/home:/VIFIBnexedi/Debian_10/InRelease | grep Packages.gz
 ec7dca7087663ea0beb6451e1f155641 68526 Packages.gz
 7150d7e9e75e6e3d64ca14f6f7e9f78463d5c25e 68526 Packages.gz
 f7340e405e6f9d017491ada4b9a62a339a1f2a91683d69c8cf585f7d5fb83f4e 68526 Packages.gz
> curl -sL downloadcontentcdn.opensuse.org/repositories/home:/VIFIBnexedi/Debian_10/Packages.gz | sha1sum
7150d7e9e75e6e3d64ca14f6f7e9f78463d5c25e  -

from mirrorcache.

andrii-suse avatar andrii-suse commented on May 28, 2024

Also "Release file created at: Sun, 08 May 2022" looks wrong / outdated.

from mirrorcache.

Tomo59 avatar Tomo59 commented on May 28, 2024

Also "Release file created at: Sun, 08 May 2022" looks wrong / outdated.

Ahhh yes, sorry. It was a problem with apt-cacher-ng. I disabled it totally and now it works. I'm sorry for the noise.

Thanks.

Thomas.

from mirrorcache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.