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 réponses
Hello,
The fact that the package is in an inconsistent state suggests that your current installation is shaky. Start by updating and installing
Make sure all packages are up to date, not frozen, and not blocked. Furthermore, when you run the
Good luck!
The fact that the package is in an inconsistent state suggests that your current installation is shaky. Start by updating and installing
aptitude:
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 the
aptitudecommand, you should not see a "red banner" at the bottom of the screen, and if you do
uUg, there should be no frozen/held packages and everything should be up to date (
qto quit).
Good luck!
Before your reply, I had found a solution.
I had already read about the aptitude trick, but I still had an issue with dbconfig-common.
Thank you for taking the time to help me anyway :)
Best of luck!