oerdnj / deb.sury.org

Public bugreports for anything ppa:ondrej/*
800 stars 26 forks source link

W: Sources disagree on hashes for supposely identical version '2024.02.05+ubuntu20.04.1+deb.sury.org+1' of 'debsuryorg-archive-keyring:amd64'. #2110

Open kingyyyyyy opened 2 months ago

kingyyyyyy commented 2 months ago

Describe the bug Hello,

Hope you are well.

I see the following when using the "sudo apt upgrade" command, with todays~ update: "W: Sources disagree on hashes for supposely identical version '2024.02.05+ubuntu20.04.1+deb.sury.org+1' of 'debsuryorg-archive-keyring:amd64'."

Screenshot: https://i.gyazo.com/0fae7749e3300f915753d8a0a1937bf9.png

I am hesitant to type "Y" in case something goes wrong with our server. Is it a bug that needs fixing in your end?

Our server details:-

Server info: Apache/2.4.58 OS: Linux Ubuntu: 20.04.1 PHP version: 7.4.33 cURL version: 7.68.0, OpenSSL/1.1.1f MySQL version: 8.0.36

Looking forward to your update.

EPGDigital-MW commented 2 months ago

Can confirm also seeing:

The following additional packages will be installed:
  debsuryorg-archive-keyring ubuntu-pro-client
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser
The following NEW packages will be installed:
  debsuryorg-archive-keyring ubuntu-pro-client
The following packages will be upgraded:
  apache2 apache2-bin apache2-data apache2-utils ubuntu-advantage-tools ubuntu-pro-client-l10n
6 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 2031 kB of archives.
After this operation, 86.0 kB of additional disk space will be used.
W: Sources disagree on hashes for supposely identical version '2024.02.05+ubuntu20.04.1+deb.sury.org+1' of 'debsuryorg-archive-keyring:amd64'.
Do you want to continue? [Y/n] n
Abort.
kingyyyyyy commented 2 months ago

I only see:-

Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: clamav-base clamav-freshclam libclamav9 libtfm1 php8.2-mysql php8.2-redis Use 'sudo apt autoremove' to remove them. Get more security updates through Ubuntu Pro with 'esm-apps' enabled: libmagickcore-6.q16-6-extra imagemagick php-symfony-expression-language libmagickwand-6.q16-6 phpmyadmin imagemagick-6.q16 php-twig libopenexr24 libmagickcore-6.q16-6 php-symfony-cache php-symfony-var-exporter imagemagick-6-common Learn more about Ubuntu Pro on AWS at https://ubuntu.com/aws/pro The following NEW packages will be installed: debsuryorg-archive-keyring The following packages will be upgraded: apache2 apache2-bin apache2-data apache2-utils 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 1805 kB of archives. After this operation, 48.1 kB of additional disk space will be used. W: Sources disagree on hashes for supposely identical version '2024.02.05+ubuntu20.04.1+deb.sury.org+1' of 'debsuryorg-archive-keyring:amd64'. Do you want to continue? [Y/n]

oG14108149527Exl0Ftr7sY commented 2 months ago

Can confirm also seeing the same.

oerdnj commented 2 months ago

Do you have multiple PPA repositories enabled?

EPGDigital-MW commented 2 months ago

These 2 on my list:

Hit:5 http://ppa.launchpad.net/ondrej/apache2/ubuntu focal InRelease Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease

kingyyyyyy commented 2 months ago

Do you have multiple PPA repositories enabled?

I see the following:-

https://i.gyazo.com/0a650e8c9013c8f5bc936720558e5b90.png

https://i.gyazo.com/c9c3ac0182c4af55f465688631572515.png

kingyyyyyy commented 2 months ago
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main amd64 Packages
     release v=20.04,o=LP-PPA-ondrej-php,a=focal,n=focal,l=***** The main PPA fo     r supported PHP versions with many PECL extensions *****,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/ondrej/apache2/ubuntu focal/main amd64 Packages
     release v=20.04,o=LP-PPA-ondrej-apache2,a=focal,n=focal,l=PPA for Apache 2.     x,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages
     release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=multiverse,b=a     md64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages
     release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=universe,b=amd     64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages
     release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=restricted,b=a     md64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
     release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=main,b=amd64
     origin security.ubuntu.com
 100 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd     64 Packages
     release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=universe,b=am     d64
     origin eu-west-2.ec2.archive.ubuntu.com
 100 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 P     ackages
     release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=main,b=amd64
     origin eu-west-2.ec2.archive.ubuntu.com
 500 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd     64 Packages
     release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=multiverse,b=am     d64
     origin eu-west-2.ec2.archive.ubuntu.com
 500 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64      Packages
     release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=universe,b=amd6     4
     origin eu-west-2.ec2.archive.ubuntu.com
 500 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd     64 Packages
     release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=restricted,b=am     d64
     origin eu-west-2.ec2.archive.ubuntu.com
 500 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 Pac     kages
     release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=main,b=amd64
     origin eu-west-2.ec2.archive.ubuntu.com
 500 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packa     ges
     release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=multiverse,b=amd64
     origin eu-west-2.ec2.archive.ubuntu.com
 500 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 Package     s
     release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=universe,b=amd64
     origin eu-west-2.ec2.archive.ubuntu.com
 500 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu focal/restricted amd64 Packa     ges
     release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=restricted,b=amd64
     origin eu-west-2.ec2.archive.ubuntu.com
 500 http://eu-west-2.ec2.archive.ubuntu.com/ubuntu focal/main amd64 Packages
     release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=main,b=amd64
     origin eu-west-2.ec2.archive.ubuntu.com
Pinned packages:

^I also see the above, for more info.

Any fix for this yet, so I can update my server?

oerdnj commented 2 months ago

Just say Yes. The package needs to be present in multiple repositories, so the disagreement is kind of expected if you use multiple repos.

I’ll probably address this, but it’s more a convenience issue than technical issue.

kingyyyyyy commented 2 months ago

Thanks, I've updated without an issue.