Unity Tweak Tool broken

Asked by Luis M.Jacinto

Ubuntu 16.04 LTS
Unity Tweak Tool disappear from Dash tried to reinstall from Synaptic but indicates it is broken looking in Custom Filters Broken its empty no mention of Unity TT, searching on the web found a Terminal installation but dint work.

    • sudo apt-get purge unity-tweak-tool
    • sudo apt-get autoremove && sudo apt-get autoclean
    • sudo apt-get install unity-webapps-common unity-tweak-tool
    • sudo apt-get install unity-tweak-tool
luis@luis-Ubuntu-16:~$ sudo apt-get purge unity-tweak-tool
[sudo] password for luis:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'unity-tweak-tool' is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 unity-webapps-common : Depends: unity-webapps-service (>= 2.3.8-0ubuntu3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
luis@luis-Ubuntu-16:~$ sudo apt-get autoremove && sudo apt-get autocle
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 unity-webapps-common : Depends: unity-webapps-service (>= 2.3.8-0ubuntu3) but it is not installed
E: Unmet dependencies. Try using -f.
luis@luis-Ubuntu-16:~$ sudo apt-get install unity-webapps-common unity-tweak-tool
Reading package lists... Done
Building dependency tree
Reading state information... Done
unity-webapps-common is already the newest version (2.4.17+15.10.20150616-0ubuntu2).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 unity-webapps-common : Depends: unity-webapps-service (>= 2.3.8-0ubuntu3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
luis@luis-Ubuntu-16:~$ sudo apt-get install unity-tweak-tool
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 unity-webapps-common : Depends: unity-webapps-service (>= 2.3.8-0ubuntu3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
luis@luis-Ubuntu-16:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  unity-webapps-common
0 upgraded, 0 newly installed, 1 to remove and 304 not upgraded.
1 not fully installed or removed.
After this operation, 70.7 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 468294 files and directories currently installed.)
Removing unity-webapps-common (2.4.17+15.10.20150616-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
luis@luis-Ubuntu-16:~$
luis@luis-Ubuntu-16:~$ sudo apt-get install unity-tweak-tool
[sudo] password for luis:
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:
 unity-tweak-tool : Depends: unity-webapps-common but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
luis@luis-Ubuntu-16:~$

Can anyone please help to fix this problem.
Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

What output do you receive for the commands

uname -a
lsb_release -crid
sudo apt-get update
sudo dpkg --audit
sudo apt-get install unity-tweak-tool unity-webapps-common

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#3

The commands output:

luis@luis-Ubuntu-16:~$ uname -a
Linux luis-Ubuntu-16 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:51:45 UTC 2018 i686 i686 i686 GNU/Linux
luis@luis-Ubuntu-16:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
luis@luis-Ubuntu-16:~$ sudo apt-get update
[sudo] password for luis:
Get:1 http://archive.canonical.com/ubuntu xenial InRelease [11.5 kB]
Hit:2 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease
Hit:3 https://repo.skype.com/deb stable InRelease
Hit:4 http://ppa.launchpad.net/bhdouglass/indicator-remindor/ubuntu wily InRelease
Hit:5 http://ubuntu-mirror.jbstuff.net/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/bit-team/testing/ubuntu xenial InRelease
Hit:7 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu xenial InRelease
Hit:8 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu xenial InRelease
Hit:9 http://ppa.launchpad.net/jonathonf/backports/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial InRelease
Hit:11 http://ppa.launchpad.net/librecad-dev/librecad-daily/ubuntu xenial InRelease
Hit:12 http://ppa.launchpad.net/librecad-dev/librecad-stable/ubuntu xenial InRelease
Hit:13 http://ppa.launchpad.net/libreoffice/libreoffice-5-4/ubuntu xenial InRelease
Hit:14 http://ppa.launchpad.net/mapopa/ppa/ubuntu xenial InRelease
Hit:15 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Hit:16 http://ppa.launchpad.net/noobslab/themes/ubuntu xenial InRelease
Hit:17 http://ppa.launchpad.net/qbittorrent-team/qbittorrent-stable/ubuntu xenial InRelease
Hit:18 http://ppa.launchpad.net/ravefinity-project/ppa/ubuntu xenial InRelease
Hit:19 http://ppa.launchpad.net/snwh/pulp/ubuntu xenial InRelease
Hit:20 http://ppa.launchpad.net/umang/indicator-stickynotes/ubuntu xenial InRelease
Hit:21 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu xenial InRelease
Fetched 11.5 kB in 10s (1,142 B/s)
Reading package lists... Done
W: http://ppa.launchpad.net/bhdouglass/indicator-remindor/ubuntu/dists/wily/InRelease: Signature by key 26B6105E1107D11E244625C4CD2E95CE2F98D3F7 uses weak digest algorithm (SHA1)
luis@luis-Ubuntu-16:~$ sudo dpkg --audit
luis@luis-Ubuntu-16:~$ sudo apt-get install unity-tweak-tool unity-webapps-common
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:
 unity-webapps-common : Depends: unity-webapps-service (>= 2.3.8-0ubuntu3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
luis@luis-Ubuntu-16:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Ok, now as next step, what is the output of

apt-cache policy unity-tweak-tool unity-webapps-common unity-webapps-service
sudo apt-get install unity-tweak-tool unity-webapps-common unity-webapps-service

Remark: You have an outdated repository defined in your package management configuration.
https://launchpad.net/~bhdouglass/+archive/ubuntu/indicator-remindor does not provide any software for xenial, but only up to wily. You should check whether you really need it.

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#5

luis@luis-Ubuntu-16:~$ apt-cache policy unity-tweak-tool unity-webapps-
unity-tweak-tool:
  Installed: (none)
  Candidate: 0.0.7ubuntu2
  Version table:
     0.0.7ubuntu2 500
        500 http://ubuntu-mirror.jbstuff.net/ubuntu xenial/universe i386 Packages
N: Unable to locate package unity-webapps-
luis@luis-Ubuntu-16:~$ sudo apt-get install unity-tweak-tool unity-webapps-
[sudo] password for luis:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'unity-webapps' is not installed, so not removed
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:
 unity-tweak-tool : Depends: unity-webapps-common but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
luis@luis-Ubuntu-16:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

This are nit the commands which I requested.

I asked for

apt-cache policy unity-tweak-tool unity-webapps-common unity-webapps-service

and you executed

apt-cache policy unity-tweak-tool unity-webapps-

Why?

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#7

I apologise for the mistake but the problem came from me copying your request to LibrOffice Writer for same reason the pasting just pasted part of it.
 The correct output:

luis@luis-Ubuntu-16:~$ apt-cache policy unity-tweak-tool unity-webapps-common unity-webapps-service
unity-tweak-tool:
  Installed: (none)
  Candidate: 0.0.7ubuntu2
  Version table:
     0.0.7ubuntu2 500
        500 http://ubuntu-mirror.jbstuff.net/ubuntu xenial/universe i386 Packages
unity-webapps-common:
  Installed: (none)
  Candidate: 2.4.17+15.10.20150616-0ubuntu2
  Version table:
     2.4.17+15.10.20150616-0ubuntu2 500
        500 http://ubuntu-mirror.jbstuff.net/ubuntu xenial/main i386 Packages
        100 /var/lib/dpkg/status
unity-webapps-service:
  Installed: (none)
  Candidate: 2.5.0~+16.04.20160201-0ubuntu1
  Version table:
     2.5.0~+16.04.20160201-0ubuntu1 500
        500 http://ubuntu-mirror.jbstuff.net/ubuntu xenial/main i386 Packages
        100 /var/lib/dpkg/status
luis@luis-Ubuntu-16:~$ sudo apt-get install unity-tweak-tool unity-webapps-common unity-webapps-service
[sudo] password for luis:
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:
 unity-webapps-service : Depends: webapp-container but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
luis@luis-Ubuntu-16:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

ok, next attempt, what is the output of

 sudo apt-get install unity-tweak-tool unity-webapps-common unity-webapps-service webapp-container

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#9

luis@luis-Ubuntu-16:~$ sudo apt-get install unity-tweak-tool unity-webapps-common unity-webapps-service webapp-container
[sudo] password for luis:
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:
 webapp-container : Depends: qtbase-abi-5-5-1
                    Depends: qtdeclarative-abi-5-5-0
                    Depends: liboxideqt-qmlplugin (>= 1.8) but it is not going to be installed
                    Depends: qml-module-ubuntu-web (= 0.23+16.04.20160413-0ubuntu1) but it is not going to be installed
                    Depends: qtdeclarative5-ubuntu-ui-toolkit-plugin (>= 1.3) or
                             qtdeclarative5-ubuntu-ui-toolkit-plugin-gles (>= 1.3) but it is not going to be installed
                    Depends: unity-webapps-qml but it is not going to be installed
                    Depends: webbrowser-app (= 0.23+16.04.20160413-0ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
luis@luis-Ubuntu-16:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

ok, next attempt, what output do you receive for the command

sudo apt-get install unity-tweak-tool unity-webapps-common unity-webapps-service webapp-container liboxideqt-qmlplugin qml-module-ubuntu-web qtdeclarative5-ubuntu-ui-toolkit-plugin-gles unity-webapps-qml webbrowser-app

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#11

luis@luis-Ubuntu-16:~$ sudo apt-get install unity-tweak-tool unity-webapps-common unity-webapps-service webapp-container liboxideqt-qmlplugin qml-module-ubuntu-web qtdeclarative5-ubuntu-ui-toolkit-plugin-gles unity-webapps-qml webbrowser-app
[sudo] password for luis:
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:
 qtdeclarative5-ubuntu-ui-toolkit-plugin-gles : Depends: qml-module-ubuntu-components-gles but it is not going to be installed
 webapp-container : Depends: qtbase-abi-5-5-1
                    Depends: qtdeclarative-abi-5-5-0
 webbrowser-app : Depends: qtbase-abi-5-5-1
                  Depends: qtdeclarative-abi-5-5-0
E: Unable to correct problems, you have held broken packages.
luis@luis-Ubuntu-16:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

ok, next one:

sudo apt-get install qtdeclarative5-ubuntu-ui-toolkit-plugin-gles qml-module-ubuntu-components-gles webapp-container webbrowser-app libqt5core5a libqt5qml5

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#13

luis@luis-Ubuntu-16:~$ sudo apt-get install qtdeclarative5-ubuntu-ui-toolkit-plugin-gles qml-module-ubuntu-components-gles webapp-container webbrowser-app libqt5core5a libqt5qml5
[sudo] password for luis:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqt5qml5 is already the newest version (5.6.1-4ubuntu1~xenialoverlay1~4).
libqt5qml5 set to manually installed.
libqt5core5a is already the newest version (5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1).
libqt5core5a set to manually installed.
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:
 qml-module-ubuntu-components-gles : Depends: libubuntugestures5-gles (= 1.3.1918+16.04.20160404-0ubuntu3) but it is not going to be installed
                                     Depends: libubuntutoolkit5-gles (= 1.3.1918+16.04.20160404-0ubuntu3) but it is not going to be installed
                                     Depends: libqt5organizer5 but it is not going to be installed
                                     Depends: qtbase-abi-5-5-1
                                     Depends: qtdeclarative-abi-5-5-0
 webapp-container : Depends: qtbase-abi-5-5-1
                    Depends: qtdeclarative-abi-5-5-0
                    Depends: liboxideqt-qmlplugin (>= 1.8) but it is not going to be installed
                    Depends: qml-module-ubuntu-web (= 0.23+16.04.20160413-0ubuntu1) but it is not going to be installed
                    Depends: unity-webapps-qml but it is not going to be installed
 webbrowser-app : Depends: qtbase-abi-5-5-1
                  Depends: qtdeclarative-abi-5-5-0
                  Depends: liboxideqt-qmlplugin (>= 1.9) but it is not going to be installed
                  Depends: qml-module-ubuntu-web (= 0.23+16.04.20160413-0ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
luis@luis-Ubuntu-16:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#14

This seems to be a long chain of dependencies, taking quite a while until we find the end with the root cause.

What is the output of

sudp apt-get install qml-module-ubuntu-components-gles libubuntutoolkit5-gles libqt5organizer5 webapp-container webbrowser-app liboxideqt-qmlplugin qml-module-ubuntu-web

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#15

I appreciate your help, this problem come after a Software Update.
The output:
luis@luis-Ubuntu-16:~$ sudo apt-get install qml-module-ubuntu-components-gles libubuntutoolkit5-gles libqt5organizer5 webapp-container webbrowser-app liboxideqt-qmlplugin qml-module-ubuntu-web
[sudo] password for luis:
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:
 libqt5organizer5 : Depends: qtbase-abi-5-5-1
 libubuntutoolkit5-gles : Depends: qtbase-abi-5-5-1
 qml-module-ubuntu-components-gles : Depends: libubuntugestures5-gles (= 1.3.1918+16.04.20160404-0ubuntu3) but it is not going to be installed
                                     Depends: qtbase-abi-5-5-1
                                     Depends: qtdeclarative-abi-5-5-0
 webapp-container : Depends: qtbase-abi-5-5-1
                    Depends: qtdeclarative-abi-5-5-0
 webbrowser-app : Depends: qtbase-abi-5-5-1
                  Depends: qtdeclarative-abi-5-5-0
E: Unable to correct problems, you have held broken packages.
luis@luis-Ubuntu-16:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#16

ok, and now:

sudo apt-get install qml-module-ubuntu-components-gles libubuntutoolkit5-gles libqt5organizer5 webapp-container webbrowser-app liboxideqt-qmlplugin qml-module-ubuntu-web libubuntugestures5-gles

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#17

luis@luis-Ubuntu-16:~$ sudo apt-get install qml-module-ubuntu-components-gles libubuntutoolkit5-gles libqt5organizer5 webapp-container webbrowser-app liboxideqt-qmlplugin qml-module-ubuntu-web libubuntugestures5-gles
[sudo] password for luis:
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:
 libqt5organizer5 : Depends: qtbase-abi-5-5-1
 libubuntugestures5-gles : Depends: qtdeclarative-abi-5-5-0
 libubuntutoolkit5-gles : Depends: qtbase-abi-5-5-1
 qml-module-ubuntu-components-gles : Depends: qtbase-abi-5-5-1
                                     Depends: qtdeclarative-abi-5-5-0
 webapp-container : Depends: qtbase-abi-5-5-1
                    Depends: qtdeclarative-abi-5-5-0
 webbrowser-app : Depends: qtbase-abi-5-5-1
                  Depends: qtdeclarative-abi-5-5-0
E: Unable to correct problems, you have held broken packages.
luis@luis-Ubuntu-16:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#18

Now I see the root cause:

Some of the dependent packages of the Unity Tweak Tool need qtbase-abi-5-5-1 and qtdeclarative-abi-5-5-0
These are provided by libqt5qml5 and libqt5core5a version 5.5

But you have enabled a PPA which delivers libqt5qml5 and libqt5core5a version 5.6

This is incompatible.

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#19

Thank you for finding the problem.
Synaptic has version 5.6.1 installed.
I still need help how to get and install the version 5.5
Than you

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#20

"I still need help how to get and install the version 5.5":

You have to revert to the standard Ubuntu version instead of the version from a PPA (or eventually find a version of Unity Tweak Tool and its dependencies that can work with qt 5.6).
For what reason are you adding so many PPAs? Are you sure that you need them? You can see from the current case, that PPAs can lead to incompatibilities.

The command
apt-cache policy libqt5qml5 libqt5core5a
will show the PPA which provides that incompatible version.

Revision history for this message
Luis M.Jacinto (ljacinto) said :
#21

Thanks Manfred Hampl, that solved my question.