package phpmyadmin 4:4.6.6-5 failed to install/upgrade: installed phpmyadmin package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phpmyadmin (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
$ sudo apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dbconfig-common dbconfig-mysql default-
libapache2-
mysql-client-5.7 mysql-client-
php-gd php-mbstring php-mysql php-pear php-php-gettext php-phpseclib
php-tcpdf php-xml php-zip php7.2 php7.2-bz2 php7.2-curl php7.2-gd
php7.2-mbstring php7.2-mysql php7.2-xml php7.2-zip
Suggested packages:
default-
php-imagick
The following NEW packages will be installed:
dbconfig-common dbconfig-mysql default-
libapache2-
mysql-client-5.7 mysql-client-
php-gd php-mbstring php-mysql php-pear php-php-gettext php-phpseclib
php-tcpdf php-xml php-zip php7.2 php7.2-bz2 php7.2-curl php7.2-gd
php7.2-mbstring php7.2-mysql php7.2-xml php7.2-zip phpmyadmin
0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.4 MB of archives.
After this operation, 124 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Fetched 24.4 MB in 10s (2,500 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package dbconfig-common.
(Reading database ... 201229 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking dbconfig-common (2.0.9) ...
Selecting previously unselected package libaio1:amd64.
Preparing to unpack .../01-
Unpacking libaio1:amd64 (0.3.110-5) ...
Selecting previously unselected package mysql-client-
Preparing to unpack .../02-
Unpacking mysql-client-
Selecting previously unselected package mysql-common.
Preparing to unpack .../03-
Unpacking mysql-common (5.8+1.0.4) ...
Selecting previously unselected package mysql-client-5.7.
Preparing to unpack .../04-
Unpacking mysql-client-5.7 (5.7.24-
Selecting previously unselected package default-
Preparing to unpack .../05-
Unpacking default-
Selecting previously unselected package dbconfig-mysql.
Preparing to unpack .../06-
Unpacking dbconfig-mysql (2.0.9) ...
Selecting previously unselected package libapache2-
Preparing to unpack .../07-
Unpacking libapache2-
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../08-
Unpacking libjs-underscore (1.8.3~dfsg-1) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../09-
Unpacking libjs-sphinxdoc (1.6.7-1ubuntu1) ...
Selecting previously unselected package libzip4:amd64.
Preparing to unpack .../10-
Unpacking libzip4:amd64 (1.1.2-1.1) ...
Selecting previously unselected package php7.2.
Preparing to unpack .../11-
Unpacking php7.2 (7.2.10-
Selecting previously unselected package php.
Preparing to unpack .../12-
Unpacking php (1:7.2+60ubuntu1) ...
Selecting previously unselected package php7.2-bz2.
Preparing to unpack .../13-
Unpacking php7.2-bz2 (7.2.10-
Selecting previously unselected package php-bz2.
Preparing to unpack .../14-
Unpacking php-bz2 (1:7.2+60ubuntu1) ...
Selecting previously unselected package php7.2-curl.
Preparing to unpack .../15-
Unpacking php7.2-curl (7.2.10-
Selecting previously unselected package php-curl.
Preparing to unpack .../16-
Unpacking php-curl (1:7.2+60ubuntu1) ...
Selecting previously unselected package php7.2-gd.
Preparing to unpack .../17-
Unpacking php7.2-gd (7.2.10-
Selecting previously unselected package php-gd.
Preparing to unpack .../18-
Unpacking php-gd (1:7.2+60ubuntu1) ...
Selecting previously unselected package php7.2-mbstring.
Preparing to unpack .../19-
Unpacking php7.2-mbstring (7.2.10-
Selecting previously unselected package php-mbstring.
Preparing to unpack .../20-
Unpacking php-mbstring (1:7.2+60ubuntu1) ...
Selecting previously unselected package php7.2-mysql.
Preparing to unpack .../21-
Unpacking php7.2-mysql (7.2.10-
Selecting previously unselected package php-mysql.
Preparing to unpack .../22-
Unpacking php-mysql (1:7.2+60ubuntu1) ...
Selecting previously unselected package php7.2-xml.
Preparing to unpack .../23-
Unpacking php7.2-xml (7.2.10-
Selecting previously unselected package php-xml.
Preparing to unpack .../24-
Unpacking php-xml (1:7.2+60ubuntu1) ...
Selecting previously unselected package php-pear.
Preparing to unpack .../25-
Unpacking php-pear (1:1.10.
Selecting previously unselected package php-php-gettext.
Preparing to unpack .../26-
Unpacking php-php-gettext (1.0.12-0.1) ...
Selecting previously unselected package php-phpseclib.
Preparing to unpack .../27-
Unpacking php-phpseclib (2.0.9-1) ...
Selecting previously unselected package php-tcpdf.
Preparing to unpack .../28-
Unpacking php-tcpdf (6.2.13+
Selecting previously unselected package php7.2-zip.
Preparing to unpack .../29-
Unpacking php7.2-zip (7.2.10-
Selecting previously unselected package php-zip.
Preparing to unpack .../30-
Unpacking php-zip (1:7.2+60ubuntu1) ...
Selecting previously unselected package phpmyadmin.
Preparing to unpack .../31-
Unpacking phpmyadmin (4:4.6.6-5) ...
Setting up php-tcpdf (6.2.13+
Setting up php7.2-mysql (7.2.10-
Creating config file /etc/php/
Creating config file /etc/php/
Creating config file /etc/php/
Setting up php7.2-gd (7.2.10-
Creating config file /etc/php/
Setting up php7.2-xml (7.2.10-
Creating config file /etc/php/
Creating config file /etc/php/
Creating config file /etc/php/
Creating config file /etc/php/
Creating config file /etc/php/
Creating config file /etc/php/
Creating config file /etc/php/
Setting up php-phpseclib (2.0.9-1) ...
Setting up libjs-underscore (1.8.3~dfsg-1) ...
Setting up php7.2-curl (7.2.10-
Creating config file /etc/php/
Setting up mysql-common (5.8+1.0.4) ...
update-
Setting up libjs-sphinxdoc (1.6.7-1ubuntu1) ...
Setting up php-curl (1:7.2+60ubuntu1) ...
Setting up php7.2-mbstring (7.2.10-
Creating config file /etc/php/
Setting up php-xml (1:7.2+60ubuntu1) ...
Setting up libzip4:amd64 (1.1.2-1.1) ...
Setting up php7.2-bz2 (7.2.10-
Creating config file /etc/php/
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up php-mbstring (1:7.2+60ubuntu1) ...
Setting up libaio1:amd64 (0.3.110-5) ...
Setting up php-pear (1:1.10.
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up php-gd (1:7.2+60ubuntu1) ...
Setting up libapache2-
Creating config file /etc/php/
php_invoke: Enabled module pdo for apache2 sapi
php_invoke: Enabled module tokenizer for apache2 sapi
php_invoke: Enabled module ftp for apache2 sapi
php_invoke: Enabled module sysvmsg for apache2 sapi
php_invoke: Enabled module calendar for apache2 sapi
php_invoke: Enabled module php-remctl for apache2 sapi
php_invoke: Enabled module ctype for apache2 sapi
php_invoke: Enabled module posix for apache2 sapi
php_invoke: Enabled module gettext for apache2 sapi
php_invoke: Enabled module iconv for apache2 sapi
php_invoke: Enabled module phar for apache2 sapi
php_invoke: Enabled module readline for apache2 sapi
php_invoke: Enabled module fileinfo for apache2 sapi
php_invoke: Enabled module opcache for apache2 sapi
php_invoke: Enabled module sysvsem for apache2 sapi
php_invoke: Enabled module shmop for apache2 sapi
php_invoke: Enabled module exif for apache2 sapi
php_invoke: Enabled module json for apache2 sapi
php_invoke: Enabled module sockets for apache2 sapi
php_invoke: Enabled module sysvshm for apache2 sapi
Module mpm_event disabled.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork
apache2_invoke: Enable module php7.2
Setting up mysql-client-
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up dbconfig-common (2.0.9) ...
Creating config file /etc/dbconfig-
Setting up php-mysql (1:7.2+60ubuntu1) ...
Setting up php7.2-zip (7.2.10-
Creating config file /etc/php/
Setting up php-php-gettext (1.0.12-0.1) ...
Setting up php-bz2 (1:7.2+60ubuntu1) ...
Setting up php-zip (1:7.2+60ubuntu1) ...
Setting up php7.2 (7.2.10-
Setting up mysql-client-5.7 (5.7.24-
Setting up default-
Setting up dbconfig-mysql (2.0.9) ...
Setting up phpmyadmin (4:4.6.6-5) ...
dbconfig-common: writing config to /etc/dbconfig-
Creating config file /etc/dbconfig-
Creating config file /etc/phpmyadmin
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
dbconfig-common: phpmyadmin configure: trying again.
dbconfig-common: writing config to /etc/dbconfig-
Replacing config file /etc/dbconfig-
Replacing config file /etc/phpmyadmin
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
unable to connect to mysql server.
error encountered creating user:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/
dbconfig-common: phpmyadmin configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing package phpmyadmin (--configure):
installed phpmyadmin package post-installation script subprocess returned error exit status 1
Setting up php (1:7.2+60ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for libapache2-
Errors were encountered while processing:
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)
host4com@
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: phpmyadmin 4:4.6.6-5
ProcVersionSign
Uname: Linux 4.15.0-43-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Thu Jan 10 04:05:57 2019
ErrorMessage: installed phpmyadmin package post-installation script subprocess returned error exit status 1
PackageArchitec
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2.1
apt 1.6.6
SourcePackage: phpmyadmin
Title: package phpmyadmin 4:4.6.6-5 failed to install/upgrade: installed phpmyadmin package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Status changed to 'Confirmed' because the bug affects multiple users.