Skip to content

Can't install phpmyadmin on ubuntu 20.04.3 LTS #17383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ikoutone opened this issue Feb 14, 2022 · 6 comments
Closed

Can't install phpmyadmin on ubuntu 20.04.3 LTS #17383

ikoutone opened this issue Feb 14, 2022 · 6 comments
Assignees
Labels
Bug A problem or regression with an existing feature packaging An issue that affect Debian, Ubuntu or another form of packaging
Milestone

Comments

@ikoutone
Copy link

Describe the bug

user@server:~$ sudo apt-get install phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
phpmyadmin : Depends: php-symfony-config (>= 4.4.9) but 4.3.8+dfsg-1ubuntu1 is to be installed
Depends: php-symfony-dependency-injection (>= 4.4.9) but 4.3.8+dfsg-1ubuntu1 is to be installed
Depends: php-symfony-expression-language (>= 4.4.9) but 4.3.8+dfsg-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

To Reproduce

Happens every time I try to install phpmyadmin

Expected behavior

I expect phpmyadmin to install without any errors on dependencies.

Screenshots

If applicable, add screenshots to help explain the bug.

Server configuration

  • Operating system:
  • Web server: Apache/2.4.52 (Ubuntu)
  • Database version: 5.7.36-39 Percona Server
  • PHP version: Version 7.4.27
  • phpMyAdmin version: None

Additional context

Add any other context about the bug here.

@williamdes
Copy link
Member

Hi @ikoutone
From what source are you trying to install?

Maybe check out: Wiki for install methods on Ubuntu/Debian

The PPA method might work for you

@williamdes williamdes self-assigned this Feb 14, 2022
@williamdes williamdes added the packaging An issue that affect Debian, Ubuntu or another form of packaging label Feb 14, 2022
@ikoutone
Copy link
Author

I tried with the PPA mentioned in there
sudo add-apt-repository ppa:phpmyadmin/ppa

Now I only have phpmyadmin-ubuntu-ppa-focal.list in /etc/apt/sources.list.d/

Before I added the PPA, I removed all previous phpmyadmin sources I had in there. This server has been upgraded from ubuntu 16.04->18.04->20.04 and is old so it might just be that I need to create another ubuntu server on linode and migrate my stuff to there.

@williamdes
Copy link
Member

and is old so it might just be that I need to create another ubuntu server on linode and migrate my stuff to there.

That's probably one of the solutions

Since I upgraded in 9776ce4 and did document the reason I will send a new version into the PPA so you can use the older php-symfony-* packages
That should be okay in 1 hour

@williamdes
Copy link
Member

williamdes commented Feb 14, 2022

Just sent the upload, it should be available in ~15min after it builds

This was a "mistake" on my end, I had to bump down the restriction for focal distros to be able to install the package with the focal built in version: https://packages.ubuntu.com/fr/focal/i386/php-symfony-config

You can follow the build https://launchpad.net/~phpmyadmin/+archive/ubuntu/ppa/+build/23164534

@williamdes
Copy link
Member

Let me know how it goes when you can install the package (near to be available): https://launchpad.net/~phpmyadmin/+archive/ubuntu/ppa/+packages

@williamdes williamdes added the Bug A problem or regression with an existing feature label Feb 14, 2022
@ikoutone
Copy link
Author

Thank you! It works now.

@williamdes williamdes added this to the 5.1.3 milestone Feb 14, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature packaging An issue that affect Debian, Ubuntu or another form of packaging
Projects
None yet
Development

No branches or pull requests

2 participants