Error Upgrading Debian 12 Packages

20 views
Skip to first unread message

Mike Gallenstein

unread,
Jan 31, 2025, 4:47:58 AMJan 31
to Thruk
Hello,

When I go to upgrade Thruk, I'm getting the error below.  When I manually download the packages and verify the hash, they indeed, do not match what is expected. Is anyone else experiencing this issue or have an idea for a work-a-round?  TIA.

sudo apt -upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  thruk thruk-base thruk-plugin-reporting
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,240 kB/9,274 kB of archives.
After this operation, 35.8 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://slc-mirror.opensuse.org/repositories/home%3A/naemon/Debian_12 ./ thruk-plugin-reporting 3.20.2-1 [109 kB]
Err:1 https://slc-mirror.opensuse.org/repositories/home%3A/naemon/Debian_12 ./ thruk-plugin-reporting 3.20.2-1
  File has unexpected size (109196 != 109200). Mirror sync in progress? [IP: 195.135.220.50 443]
  Hashes of expected file:
   - SHA256:64b8b38d9c689635e79bec7ac6e6a159050d7598b8e4bdeec7229c1a778ce2a3
   - SHA1:4d15065d922d446e879d371294480168225c7af4 [weak]
   - MD5Sum:9b8382d71abd712a6edfa3d973985578 [weak]
   - Filesize:109200 [weak]
Get:2 https://slc-mirror.opensuse.org/repositories/home%3A/naemon/Debian_12 ./ thruk-base 3.20.2-1 [9,131 kB]
Err:2 https://slc-mirror.opensuse.org/repositories/home%3A/naemon/Debian_12 ./ thruk-base 3.20.2-1
  File has unexpected size (9127984 != 9130588). Mirror sync in progress? [IP: 195.135.220.50 443]
  Hashes of expected file:
   - SHA256:c7cf1abf6225b05a5fdf637ca5ea44e5c2d95ba755db09f1bb8c536c8dd957f0
   - SHA1:cf82857939a8aa7444e80684b5293ca2093f6b4d [weak]
   - MD5Sum:4d8bcd801728ad7b773c8574859f3d54 [weak]
   - Filesize:9130588 [weak]
E: Failed to fetch https://slc-mirror.opensuse.org/repositories/home%3A/naemon/Debian_12/amd64/thruk-plugin-reporting_3.20.2-1_amd64.deb  File has unexpected size (109196 != 109200). Mirror sync in progress? [IP: 195.135.220.50 443]
   Hashes of expected file:
    - SHA256:64b8b38d9c689635e79bec7ac6e6a159050d7598b8e4bdeec7229c1a778ce2a3
    - SHA1:4d15065d922d446e879d371294480168225c7af4 [weak]
    - MD5Sum:9b8382d71abd712a6edfa3d973985578 [weak]
    - Filesize:109200 [weak]
E: Failed to fetch https://slc-mirror.opensuse.org/repositories/home%3A/naemon/Debian_12/amd64/thruk-base_3.20.2-1_amd64.deb  File has unexpected size (9127984 != 9130588). Mirror sync in progress? [IP: 195.135.220.50 443]
   Hashes of expected file:
    - SHA256:c7cf1abf6225b05a5fdf637ca5ea44e5c2d95ba755db09f1bb8c536c8dd957f0
    - SHA1:cf82857939a8aa7444e80684b5293ca2093f6b4d [weak]
    - MD5Sum:4d8bcd801728ad7b773c8574859f3d54 [weak]
    - Filesize:9130588 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Sven Nierlein

unread,
Jan 31, 2025, 4:53:21 AMJan 31
to th...@googlegroups.com
Hi,

could you try a different mirror? Or directly download.opensuse.org

Regards,
Sven
> --
> You received this message because you are subscribed to the Google Groups "Thruk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to thruk+un...@googlegroups.com <mailto:thruk+un...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/thruk/76a740c6-5aa3-497a-a647-59c35d58d667n%40googlegroups.com <https://groups.google.com/d/msgid/thruk/76a740c6-5aa3-497a-a647-59c35d58d667n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Mike Gallenstein

unread,
Feb 4, 2025, 2:17:43 AMFeb 4
to Thruk
Sven,

I did get this resolved by changing to a different mirror.  I was using download.opensuse.org, but there must have been some CDN reflecting me to the slc-mirror.
deb [signed-by=/etc/apt/trusted.gpg.d/naemon.asc] http://download.opensuse.org/repositories/home:/naemon/Debian_12/ ./

I looked at the other opensuse mirrors though and found one that worked.
deb [signed-by=/etc/apt/trusted.gpg.d/naemon.asc] http://ftp.gwdg.de/pub/opensuse/repositories/home:/naemon/Debian_12/ ./

No idea why the slc-mirror is jacked up, but at least I found another mirror to work with.  Thanks for the input and pointing me in the right direction.

Best regards,
Mike
Reply all
Reply to author
Forward
0 new messages