[debian-mysql] Bug#918988: Bug#918988: Maybe I can help with this issue

debian-mailinglist at codiflow.de debian-mailinglist at codiflow.de
Wed May 15 06:51:42 BST 2019


Hey Otto,

ok thats an interesting question.

Querying the installed packages tells me the following:

root at system: #  apt list --installed
[...]
php-auth-sasl/stable,stable,now 1.0.6-3 all [installed,automatic]
php-cli/stable,stable,now 1:7.0+49 all [installed,automatic]
php-common/stable,stable,now 1:49 all [installed,automatic]
php-mail/stable,stable,now 1.3.0-1 all [installed]
php-mail-mime/stable,stable,now 1.10.0-2 all [installed]
php-mbstring/stable,stable,now 1:7.0+49 all [installed]
php-mysql/stable,stable,now 1:7.0+49 all [installed]
php-net-dime/stable,stable,now 1.0.2-3 all [installed]
php-net-smtp/stable,stable,now 1.7.1-2 all [installed]
php-net-socket/stable,stable,now 1.0.14-2 all [installed]
php-net-url/stable,stable,now 1.0.15-4 all [installed]
php-net-url2/stable,stable,now 2.2.1-0.1 all [installed]
php-pclzip/stable,stable,now 2.8.2-4 all [installed]
php-pear/stable,stable,stable,now 1:1.10.1+submodules+notgz-9+deb9u1
all [installed] php-soap/stable,stable,now 1:7.0+49 all [installed]
php-xml/stable,stable,now 1:7.0+49 all [installed]
php5/now 5.6.39+dfsg-0+deb8u1 all [installed,local]
php5-apcu/now 4.0.7-1 amd64 [installed,local]
php5-cgi/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-cli/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-common/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-curl/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-dev/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-fpm/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-gd/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-imap/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-json/now 1.3.6-1 amd64 [installed,local]
php5-ldap/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-mcrypt/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-mysql/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-pgsql/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-readline/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php5-sqlite/now 5.6.39+dfsg-0+deb8u1 amd64 [installed,local]
php7.0/stable,stable,stable,now 7.0.33-0+deb9u3 all [installed]
php7.0-cli/stable,stable,stable,now 7.0.33-0+deb9u3 amd64
[installed,automatic] php7.0-common/stable,stable,stable,now
7.0.33-0+deb9u3 amd64 [installed,automatic]
php7.0-curl/stable,stable,stable,now 7.0.33-0+deb9u3 amd64 [installed]
php7.0-gd/stable,stable,stable,now 7.0.33-0+deb9u3 amd64 [installed]
php7.0-json/stable,stable,stable,now 7.0.33-0+deb9u3 amd64
[installed,automatic] php7.0-mbstring/stable,stable,stable,now
7.0.33-0+deb9u3 amd64 [installed] php7.0-mysql/stable,stable,stable,now
7.0.33-0+deb9u3 amd64 [installed]
php7.0-opcache/stable,stable,stable,now 7.0.33-0+deb9u3 amd64
[installed,automatic] php7.0-readline/stable,stable,stable,now
7.0.33-0+deb9u3 amd64 [installed,automatic]
php7.0-soap/stable,stable,stable,now 7.0.33-0+deb9u3 amd64 [installed]
php7.0-xml/stable,stable,stable,now 7.0.33-0+deb9u3 amd64 [installed]
php7.0-zip/stable,stable,stable,now 7.0.33-0+deb9u3 amd64 [installed]
[...]

It seems like these php5-* packages are from the old Debian 8
installation as this system was migrated from 8 to 9.

I will try to switch to php7.0 for my web applications and after that
I'll try to remove all php5 packages.

I will get back to you.

Regards
codiflow

Otto Kekäläinen <otto at debian.org> schrieb am Wed, 15 May 2019 08:35:04
+0300:

> Hello!
> 
> > Downgrading the package is not working anymore - it was a dirty
> > workaround for about two months:
> > apt-get install libmariadbclient18=10.1.26-0+deb9u1
> > apt-mark hold libmariadbclient18  
> 
> Maybe because the problem is not in that package, but some other
> binary in the chain of what Apache/Nginx/PHP uses or has been built
> with?
> 
> > Removing of libmysqlclient18 would also remove php5-mysql* which is
> > not what I want.  
> 
> Do you have some custom PHP installation?
> 
> I don't see any such package in Stretch:
> 
> root at d6b6aa0e9494:/build# cat /etc/os-release
> PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
> 
> root at d6b6aa0e9494:/build# apt-get install php5-mysql
> Package php5-mysql is not available, but is referred to by another
> package. This may mean that the package is missing, has been
> obsoleted, or is only available from another source
> E: Package 'php5-mysql' has no installation candidate
> 
> 
> 
> Please provide me with some steps on how to reproduce the bug.
> The steps can for example start with:
>   docker run -it debian:stretch bash
>   apt-get update
>   apt-get instal ....



More information about the pkg-mysql-maint mailing list