package phpmyadmin 4:4.6.6-5 failed to install/upgrade: installed phpmyadmin package post-installation script subprocess returned error exit status 1

Bug #1768318 reported by Arbind
72
This bug affects 16 people
Affects Status Importance Assigned to Milestone
phpmyadmin (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have just entered the command sudo apt update and sudo apt install phpmyadmin. Everything gone on it's own way but at last stage i got error.

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: phpmyadmin 4:4.6.6-5
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Tue May 01 11:015:42 2018

Error Message : checking privileges on database phpmyadmin for phpmyadmin@localhost: user creation needed.
granting access to database phpmyadmin for phpmyadmin@localhost: failed.
error encountered creating user:
mysql said: ERROR 1819 (HY000) at line 1: Your password does not satisfy the current policy requirements
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
Processing triggers for libapache2-mod-php7.2 (7.2.3-1ubuntu1) ...
Errors were encountered while processing:
 phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)

Error exit status 1

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: phpmyadmin 4:4.6.6-5
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Tue May 1 23:23:09 2018
ErrorMessage: installed phpmyadmin package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-04-28 (2 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /root/Error: command ['which', 'python'] failed with exit code 1:, Error: [Errno 2] No such file or directory: "/root/Error: command ['which', 'python'] failed with exit code 1:": "/root/Error: command ['which', 'python'] failed with exit code 1:", unpackaged
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.1
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)

Revision history for this message
Arbind (arbindkumar) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in phpmyadmin (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.