Unable to install the PHP initl extension
Solved
Hello,
For the development of an application under Symfony 3.2.2, I need to install the PHP intl extension.
(I'm on Ubuntu 16.04)
When I execute this command: sudo apt-get install php-intl
I get the following error message:
It seems that dbconfig-common is used for the configuration of my MySQL database.
Should I reinstall the package itself or phpMyAdmin entirely?
If you have the right command lines it would be great :)
Thank you.
For the development of an application under Symfony 3.2.2, I need to install the PHP intl extension.
(I'm on Ubuntu 16.04)
When I execute this command: sudo apt-get install php-intl
I get the following error message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-intl is already the newest version (1:7.0+35ubuntu6).
0 upgraded, 0 newly installed, 0 to remove and 317 not upgraded.
1 partially installed or removed.
Need to get 0 o/582 kB from archives.
After this operation, 0 o of additional disk space will be used.
Do you wish to continue? [Y/n] y
dpkg: error processing package dbconfig-common (--configure) :
the package is in a really inconsistent state; you should
reinstall it before attempting to configure it.
Errors were encountered while processing:
dbconfig-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
It seems that dbconfig-common is used for the configuration of my MySQL database.
Should I reinstall the package itself or phpMyAdmin entirely?
If you have the right command lines it would be great :)
Thank you.
2 answers
-
Hello,
The fact that the package is in an inconsistent state suggests that your current installation is shaky. Start by updating and installingaptitude
:sudo apt-get update
sudo apt-get upgrade
sudo apt-get install aptitude
sudo aptitude update
sudo aptitude safe-upgrade
Make sure all packages are up to date, not frozen, and not blocked. Furthermore, when you run theaptitude
command, you should not see a "red banner" at the bottom of the screen, and if you douUg
, there should be no frozen/held packages and everything should be up to date (q
to quit).
Good luck! -
After several different attempts, I found a solution:
sudo apt-get install --reinstall dbconfig-common
sudo apt-get install php-intl
sudo apt-get install phpmyadmin
I had to uninstall phpmyadmin and then reinstall dbconfig-common afterwards.