package phpmyadmin 4:4.9.5+dfsg1-2 failed to install/upgrade: installed phpmyadmin package post-removal script subprocess returned error exit status 127

Bug #1885895 reported by Ikhfan Kurniawan
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
phpmyadmin (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

sudo apt-get purge phpmyadmin*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'phpmyadmin' for glob 'phpmyadmin*'
The following packages were automatically installed and are no longer required:
  dbconfig-common dbconfig-no-thanks icc-profiles-free libjs-openlayers
  libjs-sphinxdoc libjs-underscore php-bz2 php-google-recaptcha
  php-phpmyadmin-motranslator php-phpmyadmin-shapefile
  php-phpmyadmin-sql-parser php-phpseclib php-psr-cache php-psr-container
  php-psr-log php-symfony-cache php-symfony-cache-contracts
  php-symfony-expression-language php-symfony-service-contracts
  php-symfony-var-exporter php-tcpdf php-twig php-twig-extensions
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  phpmyadmin*
0 upgraded, 0 newly installed, 1 to remove and 10 not upgraded.
After this operation, 27,2 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Sedang membaca basis data ... 355989 berkas atau direktori telah terpasang.)
Removing phpmyadmin (4:4.9.5+dfsg1-2) ...
/var/lib/dpkg/info/phpmyadmin.postrm: 144: .: Can't open /usr/share/dbconfig-common/internal/mysql
dpkg: error processing package phpmyadmin (--remove):
 installed phpmyadmin package post-removal script subprocess returned error exit status 127
dpkg: too many errors, stopping
Ada kesalahan saat memproses:
 phpmyadmin
Pemrosesan dihentikan karena terlalu banyak kesalahan.
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: phpmyadmin 4:4.9.5+dfsg1-2
ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44
Uname: Linux 5.4.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.3
AptOrdering:
 phpmyadmin:amd64: Purge
 NULL: ConfigurePending
 NULL: PurgePending
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Jul 1 17:34:07 2020
DuplicateSignature:
 package:phpmyadmin:4:4.9.5+dfsg1-2
 Removing phpmyadmin (4:4.9.5+dfsg1-2) ...
 /var/lib/dpkg/info/phpmyadmin.postrm: 144: .: Can't open /usr/share/dbconfig-common/internal/mysql
 dpkg: error processing package phpmyadmin (--remove):
  installed phpmyadmin package post-removal script subprocess returned error exit status 127
ErrorMessage: installed phpmyadmin package post-removal script subprocess returned error exit status 127
InstallationDate: Installed on 2020-06-14 (16 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitecture: all
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.3
SourcePackage: phpmyadmin
Title: package phpmyadmin 4:4.9.5+dfsg1-2 failed to install/upgrade: installed phpmyadmin package post-removal script subprocess returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ikhfan Kurniawan (vanz-tech) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Ricardo R. (ricarod) wrote :

I am having the exact same issue. Is this a bug?

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.