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

Bug #1875707 reported by VladC
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
phpmyadmin (Ubuntu)
Fix Released
Undecided
William Desportes

Bug Description

During Ubuntu upgrade from 18.04 to 20.04 phpmyadmin and mysql 8 failed after I failed to provide some password I guess. At the end of the upgrade it reported upgrade failure saying it will revert but did not.

After restart I had no login box, but after powering it off using the laptop button the login box was there. After login, mysql does not work and I got this error without accessing phpmyadmin.

More, ALT + TAB does not work anymore :)

$ lsb_release -rd
Description: Ubuntu 20.04 LTS
Release: 20.04

$ apt-cache policy phpmyadmin
phpmyadmin:
  Installed: 4:4.9.5+dfsg1-2
  Candidate: 4:4.9.5+dfsg1-2
  Version table:
 *** 4:4.9.5+dfsg1-2 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu focal/universe i386 Packages
        100 /var/lib/dpkg/status

$ apt-cache policy mysql
N: Unable to locate package mysql

$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I expected to have no issues after upgrade. I have upgraded Ubuntu (18 to 20) on another computer with a similar setup, but no phpmyadmin installed, and had no issues, everything went well.

Thank you!

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: phpmyadmin 4:4.9.5+dfsg1-2
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Apr 28 17:59:35 2020
ErrorMessage: installed phpmyadmin package post-installation script subprocess returned error exit status 10
InstallationDate: Installed on 2018-03-05 (785 days ago)
InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
PackageArchitecture: all
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2
SourcePackage: phpmyadmin
Title: package phpmyadmin 4:4.9.5+dfsg1-2 failed to install/upgrade: installed phpmyadmin package post-installation script subprocess returned error exit status 10
UpgradeStatus: Upgraded to focal on 2020-04-28 (0 days ago)

Revision history for this message
VladC (vladc) wrote :
tags: removed: need-duplicate-check
Revision history for this message
William Desportes (williamdes) wrote :

"More, ALT + TAB does not work anymore :)"

Could you open an issue at https://github.com/phpmyadmin/phpmyadmin/issues about this ?
I will be very glad to fix any new bug you found.

For the error I think that I can not do much more, unfortunately

I will ask someone to have a look

Changed in phpmyadmin (Ubuntu):
status: New → Invalid
Revision history for this message
William Desportes (williamdes) wrote :

Matthias Blümel could you please give me some feedback on this one ?

Revision history for this message
VladC (vladc) wrote :

Thank you for such a quick reply.

I did the following:
* removed phpmyadmin (haven't used it in a while)
* purged and reinstalled mysql (kept all the settings, users, databases)
* found that the ALT + TAB shortcut was somehow removed during the upgrade so I added it back and it is working now

So now I can say that none of these problems are there anymore.

Revision history for this message
William Desportes (williamdes) wrote :

> So now I can say that none of these problems are there anymore.

This is very good news, I will close this bug.

Enjoy your upgrade :)

Changed in phpmyadmin (Ubuntu):
status: Invalid → New
status: New → Fix Released
assignee: nobody → William Desportes (williamdes)
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.