Hello,
Friday I installed centreon 24.10 on a dev server and all worked.
Today when I follow the same instruction on :
https://docs.centreon.com/fr/docs/installation/installation-of-a-central-server/using-packages/
I have an hash error, I tried with 2 differents proxy :
E: Unable to retrieve https://packages.centreon.com/apt-plugins-stable/pool/perl-cpan-libraries/libjmx4perl-perl_1.13%2bdeb12u1-1_all.deb The file has an inconsistent size (302324 != 302248). Maybe the mirror is being updated? [IP: X.X.X.X YYY]
Hashes of expected file:
- SHA256:11af1d62c697aac573fdd216b69eed235e7292986d0e4bdef3725bb41d3bba06
- SHA1:47eeb88e854ce6400671fab45f661e91eb4db2bb [weak]
I’ve got the same error with mysql packet but I installed from my laptop the package and uploaded with filezilla on my server. But for the https://packages.centreon.com/apt-plugins-stable/pool/perl-cpan-libraries/libjmx4perl-perl_1.13%2bdeb12u1-1_all.deb it doesn’t work.
Err :2 http://repo.mysql.com/apt/debian bookworm/mysql-8.0 amd64 mysql-common amd64 8.0.40-1debian12
Err :23 http://repo.mysql.com/apt/debian bookworm/mysql-8.0 amd64 mysql-community-server amd64 8.0.40-1debian12
Can anyone help me ?
Thanks.
Hello.
Nearly the same issue for me when I try to update from 24.10.1 to 24.10.2 :
Failed to fetch https://packages.centreon.com/apt-plugins-stable/pool/perl-cpan-libraries/libcrypt-openssl-aes-perl_0.21%2bdeb12u1-1_amd64.deb File has unexpected size (16124 != 16128). Mirror sync in progress? [IP: 52.49.160.245 443]
Hashes of expected file:
- SHA256:b2b284ed660884619473e10981a952add6f3be37b9a0919e458ed2f369ddb392
- SHA1:3e34f72f11f7c3026a5dfc30c8134189865847e4 [weak]
- Filesize:16128 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Hello,
I tried few hours after and I typed with --fix-missing and it worked.
If you still get the error, import the package from your laptop and use Filezilla or something else to upload it to your server.
Hello.
I tried again and the upgrade worked without any error.
I recreate my server because we got an error connection with poller and I still have the error :
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You can run "apt --fix-broken install" to fix these problems.
The following packages have unmet dependencies:
centreon : Depends: centreon-central (= 24.10.2-1+deb12u1) but will not be installed
centreon-mysql : Depends: mysql-server but will not be installed
mariadb-common : Depends: mysql-common (>= 5.6.25)
mysql-community-client : Depends: mysql-common (>= 8.0.40-1debian12)
E: Unmet dependencies. Try "apt --fix-broken install" without a package
(or provide a workaround).
root@CentreonCentral:/home/exploitation# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Fixing dependencies... Done
The following additional packages will be installed:
mysql-common mysql-community-server mysql-server
The following NEW packages will be installed:
mysql-common mysql-community-server mysql-server
0 updated, 3 newly installed, 0 to remove, and 0 not updated.
11 partially installed or removed.
It is necessary to take 187 KB from the archives.
After this operation, 285 KB of additional disk space will be used.
Do you wish to continue? [Y/n] y
Received from: 1 http://repo.mysql.com/apt/debian bookworm/mysql-8.0 amd64 mysql-common amd64 8.0.40-1debian12 [59.6 kB]
Err:1 http://repo.mysql.com/apt/debian bookworm/mysql-8.0 amd64 mysql-common amd64 8.0.40-1debian12
Inconsistent hash checksum
Hashes of expected file:
- SHA256:648c0d5b2f034e9af1e81fd38d62aa8565cb306b52c532f135f87a346601821c
- SHA1:598313ad2b43cff60b527ea431f0bf5d5dc11650 [weak]
- MD5Sum:e0fbf32f6fe2e5d5306aabcefc4b16c5 [weak]
- Filesize:59612 [weak]
Hashes of received file:
- SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709 [weak]
- MD5Sum:d41d8cd98f00b204e9800998ecf8427e [weak]
- Filesize:0 [weak]
Last modification reported: Fri, 11 Oct 2024 15:29:05 +0000
Ign:2 http://repo.mysql.com/apt/debian bookworm/mysql-8.0 amd64 mysql-community-server amd64 8.0.40-1debian12
Received from:3 http://repo.mysql.com/apt/debian bookworm/mysql-8.0 amd64 mysql-server amd64 8.0.40-1debian12 [58.4 kB]
Err:3 http://repo.mysql.com/apt/debian bookworm/mysql-8.0 amd64 mysql-server amd64 8.0.40-1debian12
Inconsistent hash checksum
Hashes of expected file:
- SHA256:cb673f44842405880b283906732b9c4e5f4096e3c6060c665587fe15a8bd43b9
- SHA1:e00aa77fda8404f4387311e5544028118a436631 [weak]
- MD5Sum:dfad93281ecb72799a3d355b091425b5 [weak]
- Filesize:58356 [weak]
Hashes of received file:
- SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709 [weak]
- MD5Sum:d41d8cd98f00b204e9800998ecf8427e [weak]
- Filesize:0 [weak]
Last modification reported: Fri, 11 Oct 2024 15:29:26 +0000
Ign:2 http://repo.mysql.com/apt/debian bookworm/mysql-8.0 amd64 mysql-community-server amd64 8.0.40-1debian12
Received from:2 http://repo.mysql.com/apt/debian bookworm/mysql-8.0 amd64 mysql-community-server amd64 8.0.40-1debian12 [68.7 kB]
Err:2 http://repo.mysql.com/apt/debian bookworm/mysql-8.0 amd64 mysql-community-server amd64 8.0.40-1debian12
Inconsistent hash checksum
Hashes of expected file:
- SHA256:2a4906962089ec1c3263a0675da4017e23b4c48ff2d59e599fed0bd22537a296
- SHA1:a0703e881d390183ac0aab6bbb5a42edc265f6f1 [weak]
- MD5Sum:7db9e9830d253b1f3144dd43e0ba7adf [weak]
- Filesize:68700 [weak]
Hashes of received file:
- SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709 [weak]
- MD5Sum:d41d8cd98f00b204e9800998ecf8427e [weak]
- Filesize:0 [weak]
Last modification reported: Fri, 11 Oct 2024 15:29:19 +0000
E: Unable to fetch http://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-common_8.0.40-1debian12_amd64.deb Inconsistent hash checksum
Hashes of expected file:
- SHA256:648c0d5b2f034e9af1e81fd38d62aa8565cb306b52c532f135f87a346601821c
- SHA1:598313ad2b43cff60b527ea431f0bf5d5dc11650 [weak]
- MD5Sum:e0fbf32f6fe2e5d5306aabcefc4b16c5 [weak]
- Filesize:59612 [weak]
Hashes of received file:
- SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709 [weak]
- MD5Sum:d41d8cd98f00b204e9800998ecf8427e [weak]
- Filesize:0 [weak]
Last modification reported: Fri, 11 Oct 2024 15:29:05 +0000
E: Unable to fetch http://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-community-server_8.0.40-1debian12_amd64.deb Inconsistent hash checksum
Hashes of expected file:
- SHA256:2a4906962089ec1c3263a0675da4017e23b4c48ff2d59e599fed0bd22537a296
- SHA1:a0703e881d390183ac0aab6bbb5a42edc265f6f1 [weak]
- MD5Sum:7db9e9830d253b1f3144dd43e0ba7adf [weak]
- Filesize:68700 [weak]
Hashes of received file:
- SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709 [weak]
- MD5Sum:d41d8cd98f00b204e9800998ecf8427e [weak]
- Filesize:0 [weak]
Last modification reported: Fri, 11 Oct 2024 15:29:19 +0000
E: Unable to fetch http://repo.mysql.com/apt/debian/pool/mysql-8.0/m/mysql-community/mysql-server_8.0.40-1debian12_amd64.deb Inconsistent hash checksum
Hashes of expected file:
- SHA256:cb673f44842405880b283906732b9c4e5f4096e3c6060c665587fe15a8bd43b9
- SHA1:e00aa77fda8404f4387311e5544028118a436631 [weak]
- MD5Sum:dfad93281ecb72799a3d355b091425b5 [weak]
- Filesize:58356 [weak]
Hashes of received file:
- SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709 [weak]
- MD5Sum:d41d8cd98f00b204e9800998ecf8427e [weak]
- Filesize:0 [weak]
Last modification reported: Fri, 11 Oct 2024 15:29:26 +0000
E: Unable to retrieve some archives, maybe you need to run apt-get update or try with --fix-missing ?
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.