Answer the question
In order to leave comments, you need to log in
How to reconfigure two SQL files from command line after upgrade?
Good evening! Please help me to replace \ reconfigure two files, replace them with a new version in WEBMIN. When updating the packages, it was not suggested to replace the package with a new one, so the replacement problem remained. How can I run this command from the command line? Thank you!
Setting up mysql-server-8.0 (8.0.22-0ubuntu0.20.04.3) ...
Configuration file '/etc/mysql/mysql.conf.d/mysqld.cnf'
==> Modified (by you or by a script ) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the
situation
*** mysqld.cnf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package mysql-server-8.0 (--configure):
end of file on stdin at conffile prompt
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-8.0; however:
Package mysql-server-8.0 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-8.0
mysql-server
Reading package lists...
Building dependency tree...
Reading state information...
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:
linux-image-virtual : Depends: linux-image-5.4.0-56-generic but it is not going to be installed
E: Unable to correct problems , you have held broken packages.
Answer the question
In order to leave comments, you need to log in
It seems to have helped))
apt-get update
apt-get --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force- "confold" upgrade
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question