• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Updating packages is giving a apt error (File has unexpected size)

MatthijsDJ

New Pleskian
I'm trying to install and update some packages but getting this error:

Code:
Err:11 https://autoinstall.plesk.com/grafana/deb stable/main amd64 Packages
  File has unexpected size (696 != 896). Mirror sync in progress? [IP: 89.187.165.8 443]
  Hashes of expected file:
   - Filesize:896 [weak]
   - SHA512:39fc59c12672f3c16a0d1c88d86f4e38d6d4ffaf49e408b15dcce4cd619713cc17021854d2205dc66869ef63ec758e337e8b5c41726e8226f3fbd82ddc24df88
   - SHA256:d07c0411aeae968a9f90330cc4f9c1df73271181a5cecaa565430b08077f12e8
   - SHA1:efa809b218a18a24c198e60a5653df5fe5925600 [weak]
   - MD5Sum:60edd6fe7c09ac6cecfab64955df6221 [weak]
  Release file created at: Fri, 21 Jan 2022 09:46:04 +0000
Reading package lists... Done
W: Target Packages (all/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/plesk-ext-panel-migrator.list:1 and /etc/apt/sources.list.d/plesk-ext-site-import.list:1
W: Target Packages (all/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/plesk-ext-panel-migrator.list:1 and /etc/apt/sources.list.d/plesk-ext-site-import.list:1
W: Target Translations (all/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/plesk-ext-panel-migrator.list:1 and /etc/apt/sources.list.d/plesk-ext-site-import.list:1
W: Target CNF (all/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/plesk-ext-panel-migrator.list:1 and /etc/apt/sources.list.d/plesk-ext-site-import.list:1
W: Target CNF (all/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/plesk-ext-panel-migrator.list:1 and /etc/apt/sources.list.d/plesk-ext-site-import.list:1
E: Failed to fetch https://autoinstall.plesk.com/grafana/deb/dists/stable/main/binary-amd64/Packages.bz2  File has unexpected size (696 != 896). Mirror sync in progress? [IP: 89.187.165.8 443]
   Hashes of expected file:
    - Filesize:896 [weak]
    - SHA512:39fc59c12672f3c16a0d1c88d86f4e38d6d4ffaf49e408b15dcce4cd619713cc17021854d2205dc66869ef63ec758e337e8b5c41726e8226f3fbd82ddc24df88
    - SHA256:d07c0411aeae968a9f90330cc4f9c1df73271181a5cecaa565430b08077f12e8
    - SHA1:efa809b218a18a24c198e60a5653df5fe5925600 [weak]
    - MD5Sum:60edd6fe7c09ac6cecfab64955df6221 [weak]
   Release file created at: Fri, 21 Jan 2022 09:46:04 +0000
 
It is caused by the fact that mirror hosting Grafana packages is currently being synchronized.
Try to update the package later again with the following steps:

1. Clean apt-cache:
Code:
# apt-get clean
2. Install updates again via Plesk > System updates
 
same error today, 21. Feb. 2022 - PLESK OBSIDIAN

# aptitude update
.........
Feh Index of /grafana/deb stable/main amd64 Packages
Datei hat eine unerwartete Größe (896 != 1072). Eventuell läuft gerade eine Spiegel-Synchronisierung? [IP: 2a02:6ea0:c900::3 443]
Hashes of expected file:
- Filesize:1072 [weak]
- SHA512:3568cab836d71028df108412f95af8edd0de851767b6e8cd02f1a51a80cfcf155e9ce389d9065cb49aba567276471e2cd63ce0dfb122a76d3310c531fcb1ffc3
- SHA256:21be568b375326ae57c6e2a0c3a2e0fbe316d238b0c6f2931d5af860b3ae1724
- SHA1:dfa3c999c758f2dd2b1ef33fc2f742f053385179 [weak]
- MD5Sum:cfdc6ce5c9e8317470906834b45d6c7a [weak]
Release file created at: Mon, 21 Feb 2022 07:55:37 +0000
 
It is caused by the fact that mirror hosting Grafana packages is currently being synchronized.
Try to update the package later again with the following steps:

1. Clean apt-cache:
Code:
# apt-get clean
2. Install updates again via Plesk > System updates

Does not work here... Is there any update on the sync process?
 
It is caused by the fact that mirror hosting Grafana packages is currently being synchronized.
Try to update the package later again with the following steps:

1. Clean apt-cache:
Code:
# apt-get clean
2. Install updates again via Plesk > System updates
That doesn't work. I get the following error:
1645482793938.png
 
Back
Top