It looks like there is an issue with ppg-12 apt repository
Err:1 http://repo.percona.com/ppg-12/apt jammy/main amd64 python3-ydiff all 1:1.2-1.jammy
File has unexpected size (22074 != 22090). Mirror sync in progress? [IP: 10.1.1.20 3128]
Hashes of expected file:
- SHA256:ccfefe11ba081b43969d6cdda7276a251b623febb40e6b600b7dafa6d894484e
- SHA1:e7d7f9c6ac3ccc5b2611aed40197d86d3ab71309 [weak]
- MD5Sum:c03316576bdc399d804c01152ace1ce3 [weak]
- Filesize:22090 [weak]
E: Failed to fetch http://repo.percona.com/ppg-12/apt/pool/main/y/ydiff/python3-ydiff_1.2-1.jammy_all.deb File has unexpected size (22074 != 22090). Mirror sync in progress? [IP: 10.1.1.20 3128]
Hashes of expected file:
- SHA256:ccfefe11ba081b43969d6cdda7276a251b623febb40e6b600b7dafa6d894484e
- SHA1:e7d7f9c6ac3ccc5b2611aed40197d86d3ab71309 [weak]
- MD5Sum:c03316576bdc399d804c01152ace1ce3 [weak]
- Filesize:22090 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
there is indeed a mismatch between the file
curl -LO http://repo.percona.com/ppg-12/apt/pool/main/y/ydiff/python3-ydiff_1.2-1.jammy_all.deb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22074 100 22074 0 0 8199k 0 --:--:-- --:--:-- --:--:-- 10.5M
Hi @b.ogier
Could you please retry installing python3-ydiff once again after running apt update command there is a possibility that you were trying to install the package at a time when the repo was in the process of update.
Fro our end we don’t see such an issue now:
root@772733b59fbb:/# percona-release enable ppg-12 release
* Enabling the Percona Distribution for PostgreSQL 12 repository
...
Reading package lists... Done
root@772733b59fbb:/#
root@772733b59fbb:/# apt install python3-ydiff
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
python3-ydiff
0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
Need to get 22.1 kB of archives.
After this operation, 68.6 kB of additional disk space will be used.
Get:1 http://repo.percona.com/ppg-12/apt jammy/main amd64 python3-ydiff all 1:1.2-1.jammy [22.1 kB]
Fetched 22.1 kB in 0s (825 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package python3-ydiff.
(Reading database ... 8021 files and directories currently installed.)
Preparing to unpack .../python3-ydiff_1%3a1.2-1.jammy_all.deb ...
Unpacking python3-ydiff (1:1.2-1.jammy) ...
Setting up python3-ydiff (1:1.2-1.jammy) ...
If the issue still remains, please let us know the ip the repo.percona.com is resolved to from your end by running host repo.percona.com command.