Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading PHP7.4 on Debian 10.7 wants to install packges from other PHP versions #1503

Closed
ztheory opened this issue Dec 10, 2020 · 2 comments

Comments

@ztheory
Copy link

ztheory commented Dec 10, 2020

I have two separate Debian 10 boxes where I'm trying to perform an apt upgrade with Sury's PHP 7.4 installed, but the system wants to install PHP 5X, 7.2, 8.0 packages, etc.

# dpkg -l | grep -i php
ii  datadog-php-tracer            0.46.0                                           amd64        no description given
ii  php-common                    2:76+0~20200511.26+debian10~1.gbpc9beb6          all          Common files for PHP packages
ii  php-igbinary                  3.1.2+2.0.8-1+0~20200518.16+debian10~1.gbp1a098b amd64        igbinary PHP serializer
ii  php-memcached                 3.1.5+2.2.0-1+0~20200520.20+debian10~1.gbpb3c6fc amd64        memcached extension module for PHP, uses libmemcached
ii  php-msgpack                   2.1.0+0.5.7-1+0~20200518.15+debian10~1.gbp2567f1 amd64        PHP extension for interfacing with MessagePack
ii  php-redis                     5.3.1+4.3.0-1+0~20200708.25+debian10~1.gbp800f71 amd64        PHP extension for interfacing with Redis
ii  php7.4-cli                    7.4.10-1+0~20200909.25+debian10~1.gbpe666e1      amd64        command-line interpreter for the PHP scripting language
ii  php7.4-common                 7.4.10-1+0~20200909.25+debian10~1.gbpe666e1      amd64        documentation, examples and common module for PHP
ii  php7.4-curl                   7.4.10-1+0~20200909.25+debian10~1.gbpe666e1      amd64        CURL module for PHP
ii  php7.4-fpm                    7.4.10-1+0~20200909.25+debian10~1.gbpe666e1      amd64        server-side, HTML-embedded scripting language (FPM-CGI binary)
ii  php7.4-gd                     7.4.10-1+0~20200909.25+debian10~1.gbpe666e1      amd64        GD module for PHP
ii  php7.4-json                   7.4.10-1+0~20200909.25+debian10~1.gbpe666e1      amd64        JSON module for PHP
ii  php7.4-mbstring               7.4.10-1+0~20200909.25+debian10~1.gbpe666e1      amd64        MBSTRING module for PHP
ii  php7.4-mysql                  7.4.10-1+0~20200909.25+debian10~1.gbpe666e1      amd64        MySQL module for PHP
ii  php7.4-opcache                7.4.10-1+0~20200909.25+debian10~1.gbpe666e1      amd64        Zend OpCache module for PHP
ii  php7.4-readline               7.4.10-1+0~20200909.25+debian10~1.gbpe666e1      amd64        readline module for PHP
ii  php7.4-xml                    7.4.10-1+0~20200909.25+debian10~1.gbpe666e1      amd64        DOM, SimpleXML, XML, and XSL module for PHP
# apt -V upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
   linux-image-4.19.0-11-amd64 (4.19.146-1)
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
   php5.6-igbinary (3.1.6+2.0.8-2+0~20201208.20+debian10~1.gbpbabaec)
   php5.6-memcached (3.1.5+2.2.0-4+0~20201208.25+debian10~1.gbp9ca7c6)
   php5.6-msgpack (2.1.2+0.5.7-1+0~20201208.22+debian10~1.gbp9e82ab)
   php5.6-redis (5.3.2+4.3.0-1+0~20201208.29+debian10~1.gbp404a40)
   php7.0-igbinary (3.1.6+2.0.8-2+0~20201208.20+debian10~1.gbpbabaec)
   php7.0-memcached (3.1.5+2.2.0-4+0~20201208.25+debian10~1.gbp9ca7c6)
   php7.0-msgpack (2.1.2+0.5.7-1+0~20201208.22+debian10~1.gbp9e82ab)
   php7.0-redis (5.3.2+4.3.0-1+0~20201208.29+debian10~1.gbp404a40)
   php7.1-igbinary (3.1.6+2.0.8-2+0~20201208.20+debian10~1.gbpbabaec)
   php7.1-memcached (3.1.5+2.2.0-4+0~20201208.25+debian10~1.gbp9ca7c6)
   php7.1-msgpack (2.1.2+0.5.7-1+0~20201208.22+debian10~1.gbp9e82ab)
   php7.1-redis (5.3.2+4.3.0-1+0~20201208.29+debian10~1.gbp404a40)
   php7.2-igbinary (3.1.6+2.0.8-2+0~20201208.20+debian10~1.gbpbabaec)
   php7.2-memcached (3.1.5+2.2.0-4+0~20201208.25+debian10~1.gbp9ca7c6)
   php7.2-msgpack (2.1.2+0.5.7-1+0~20201208.22+debian10~1.gbp9e82ab)
   php7.2-redis (5.3.2+4.3.0-1+0~20201208.29+debian10~1.gbp404a40)
   php7.3-igbinary (3.1.6+2.0.8-2+0~20201208.20+debian10~1.gbpbabaec)
   php7.3-memcached (3.1.5+2.2.0-4+0~20201208.25+debian10~1.gbp9ca7c6)
   php7.3-msgpack (2.1.2+0.5.7-1+0~20201208.22+debian10~1.gbp9e82ab)
   php7.3-redis (5.3.2+4.3.0-1+0~20201208.29+debian10~1.gbp404a40)
   php7.4-igbinary (3.1.6+2.0.8-2+0~20201208.20+debian10~1.gbpbabaec)
   php7.4-memcached (3.1.5+2.2.0-4+0~20201208.25+debian10~1.gbp9ca7c6)
   php7.4-msgpack (2.1.2+0.5.7-1+0~20201208.22+debian10~1.gbp9e82ab)
   php7.4-redis (5.3.2+4.3.0-1+0~20201208.29+debian10~1.gbp404a40)
   php8.0-igbinary (3.1.6+2.0.8-2+0~20201208.20+debian10~1.gbpbabaec)
   php8.0-memcached (3.1.5+2.2.0-4+0~20201208.25+debian10~1.gbp9ca7c6)
   php8.0-msgpack (2.1.2+0.5.7-1+0~20201208.22+debian10~1.gbp9e82ab)
   php8.0-redis (5.3.2+4.3.0-1+0~20201208.29+debian10~1.gbp404a40)
The following packages have been kept back:
   nginx (1.16.1-1~buster => 1.18.0-2~buster)
The following packages will be upgraded:
   datadog-agent (1:7.22.0-1 => 1:7.24.0-1)
   libssl-dev (1.1.1g-1+0~20200421.17+debian10~1.gbpf6902f => 1.1.1i-1+0~20201209.20+debian10~1.gbpc1ad96)
   libssl1.1 (1.1.1g-1+0~20200421.17+debian10~1.gbpf6902f => 1.1.1i-1+0~20201209.20+debian10~1.gbpc1ad96)
   openssl (1.1.1g-1+0~20200421.17+debian10~1.gbpf6902f => 1.1.1i-1+0~20201209.20+debian10~1.gbpc1ad96)
   php-common (2:76+0~20200511.26+debian10~1.gbpc9beb6 => 2:79+0~20201020.27+debian10~1.gbp95ec92)
   php-igbinary (3.1.2+2.0.8-1+0~20200518.16+debian10~1.gbp1a098b => 3.1.6+2.0.8-2+0~20201208.20+debian10~1.gbpbabaec)
   php-memcached (3.1.5+2.2.0-1+0~20200520.20+debian10~1.gbpb3c6fc => 3.1.5+2.2.0-4+0~20201208.25+debian10~1.gbp9ca7c6)
   php-msgpack (2.1.0+0.5.7-1+0~20200518.15+debian10~1.gbp2567f1 => 2.1.2+0.5.7-1+0~20201208.22+debian10~1.gbp9e82ab)
   php-redis (5.3.1+4.3.0-1+0~20200708.25+debian10~1.gbp800f71 => 5.3.2+4.3.0-1+0~20201208.29+debian10~1.gbp404a40)
   php7.4-cli (7.4.10-1+0~20200909.25+debian10~1.gbpe666e1 => 7.4.13-1+0~20201130.33+debian10~1.gbpd59941)
   php7.4-common (7.4.10-1+0~20200909.25+debian10~1.gbpe666e1 => 7.4.13-1+0~20201130.33+debian10~1.gbpd59941)
   php7.4-curl (7.4.10-1+0~20200909.25+debian10~1.gbpe666e1 => 7.4.13-1+0~20201130.33+debian10~1.gbpd59941)
   php7.4-fpm (7.4.10-1+0~20200909.25+debian10~1.gbpe666e1 => 7.4.13-1+0~20201130.33+debian10~1.gbpd59941)
   php7.4-gd (7.4.10-1+0~20200909.25+debian10~1.gbpe666e1 => 7.4.13-1+0~20201130.33+debian10~1.gbpd59941)
   php7.4-json (7.4.10-1+0~20200909.25+debian10~1.gbpe666e1 => 7.4.13-1+0~20201130.33+debian10~1.gbpd59941)
   php7.4-mbstring (7.4.10-1+0~20200909.25+debian10~1.gbpe666e1 => 7.4.13-1+0~20201130.33+debian10~1.gbpd59941)
   php7.4-mysql (7.4.10-1+0~20200909.25+debian10~1.gbpe666e1 => 7.4.13-1+0~20201130.33+debian10~1.gbpd59941)
   php7.4-opcache (7.4.10-1+0~20200909.25+debian10~1.gbpe666e1 => 7.4.13-1+0~20201130.33+debian10~1.gbpd59941)
   php7.4-readline (7.4.10-1+0~20200909.25+debian10~1.gbpe666e1 => 7.4.13-1+0~20201130.33+debian10~1.gbpd59941)
   php7.4-xml (7.4.10-1+0~20200909.25+debian10~1.gbpe666e1 => 7.4.13-1+0~20201130.33+debian10~1.gbpd59941)
20 upgraded, 28 newly installed, 0 to remove and 1 not upgraded.
Need to get 203 MB of archives.
After this operation, 1449 kB of additional disk space will be used.
Do you want to continue? [Y/n]

Anyone else experiencing this issue or have an idea what is causing all the other PHP packages from other versions to be pulled in?

Boxes have been running for a year without any changes to the APT repos.

@oerdnj
Copy link
Owner

oerdnj commented Dec 10, 2020

As described here https://www.patreon.com/posts/october-update-42636315 and beaten to death here: #1465

@oerdnj oerdnj closed this as completed Dec 10, 2020
@ztheory
Copy link
Author

ztheory commented Dec 10, 2020

Thanks immensely for your quick response and links. Already resolved. Sent 10eur to your PayPal for the assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants