Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
During a regular mint18.2 (KDE) software update using update manager I was informed that the upgrade could not be completed due to broken package. I tried to fix broken package using synaptic (edit > fix broken packages) but it didn't work. I got:
Quote:
Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 96, <> line 1.
Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 96, <> line 1.
Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 114, <> line 1.
Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 114, <> line 1.
Preconfiguring packages ...
(Reading database ... 424400 files and directories currently installed.)
Preparing to unpack .../mysql-community-server_5.7.23-1ubuntu16.04_amd64.deb ...
................
dpkg: error processing archive /var/cache/apt/archives/mysql-community-server_5.7.23-1ubuntu16.04_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 96.
Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 96.
Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 114.
Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 114.
Errors were encountered while processing:
/var/cache/apt/archives/mysql-community-server_5.7.23-1ubuntu16.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
sudo apt-get install -f
also didn't work
got
Quote:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
mysql-community-server
The following packages will be upgraded:
mysql-community-server
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/25.3 MB of archives.
After this operation, 22.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 424400 files and directories currently installed.)
Preparing to unpack .../mysql-community-server_5.7.23-1ubuntu16.04_amd64.deb ...
................
dpkg: error processing archive /var/cache/apt/archives/mysql-community-server_5.7.23-1ubuntu16.04_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/mysql-community-server_5.7.23-1ubuntu16.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Not very experienced with broken packages. Please advise.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
The mysql package has a bug in the install scripts. You should report it. It also looks like the adwaita theme was removed. Try installing or reinstalling 'gnome-themes-standard'.
I tried everything I knew or could find out without any succes. I even tried to reinstall gnome-themes-standard but it brought me right back to the Mysql install error message. As a last resort I used synaptic to remove the broken package but it also removed my current working version of Mysql. Synaptic refused to reinstall mysgl therefore I used apt-get utility on the terminal:
and a decent (ok, even a shitty one) search engine.
I'd try to break that habit of "tried everything" IF you don't know what you're doing.
I know it is sometimes difficult to process massive amounts of information off the 'net.
But you should exercise your "google.fu" (search engine mastery)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.