Dependências não satisfeitas ao tentar instalar o Unity Tweak Tool [duplicado]

1

Eu uso o Ubuntu 16.04. Eu tentei a maioria dos métodos e nenhum está funcionando. Por favor, note que eu usei o método que remove Unity Tweak Tool, mas não funcionou.

Eu sempre recebo esta mensagem e excluí muitos pacotes.

samerlol@SamerLOL:~$ sudo apt-get remove --auto-remove unity-tweak-tool 
[sudo] password for samerlol:  
Sorry, try again.  
[sudo] password for samerlol:  
Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
Package 'unity-tweak-tool' is not installed, so not removed 
The following packages will be REMOVED:   
avahi-utils ethtool gir1.2-notify-0.7  
ippusbxd libandroid-properties1   
libappstream3 libhardware2 libhud2  
libhybris libhybris-common1 libmedia1   
libqt5feedback5 libqt5multimedia5 libqt5positioning5 libqt5quicktest5   
libqt5test5 libunity-action-qt1 libx86-1 plainbox-provider-checkbox    
plainbox-provider-resource-generic plainbox-secure-policy pm-utils    
pyotherside python3-checkbox-support python3-cups python3-cupshelpers   
python3-guacamole python3-jinja2 python3-padme python3-plainbox    
python3-pyparsing python3-requests python3-urllib3 python3-xlsxwriter   
qml-module-io-thp-pyotherside qml-module-qt-labs-folderlistmodel    
qml-module-qt-labs-settings qml-module-qtfeedback    
qml-module-qtgraphicaleffects qml-module-qtquick-layouts    
qml-module-qtquick-window2 qml-module-qtquick2 qml-module-qttest    
qml-module-qtwebkit qml-module-ubuntu-onlineaccounts    
qml-module-ubuntu-performancemetrics qmlscene  
qtdeclarative5-accounts-plugin   
qtdeclarative5-dev-tools  
qtdeclarative5-qtquick2-plugin   
qtdeclarative5-test-plugin  
qtdeclarative5-unity-action-plugin   
suru-icon-theme  
system-config-printer-common system-config-printer-udev    
ubuntu-core-launcher ubuntu-mobile-icons ubuntu-ui-toolkit-theme vbetool
0 upgraded, 0 newly installed, 59 to remove and 0 not upgraded. 
After this operation, 48.6 MB disk space will be freed. 
Do you want to continue? [Y/n] y 
(Reading database ... 264976 files and directories currently installed.) 
Removing avahi-utils (0.6.32~rc+dfsg-1ubuntu2) ... 
Removing ethtool (1:4.5-1) ... 
Removing  gir1.2-notify-0.7 (0.7.6-2svn1) ... 
Removing ippusbxd (1.23-1) ...  
Removing libhybris (0.1.0+git20151016+6d424c9-0ubuntu7) ... 
Removing libmedia1 (0.1.0+git20151016+6d424c9-0ubuntu7) ... 
Removing libhardware2 (0.1.0+git20151016+6d424c9-0ubuntu7) ... 
Removing libhybris-common1 (0.1.0+git20151016+6d424c9-0ubuntu7) ... 
Removing libandroid-properties1 (0.1.0+git20151016+6d424c9-0ubuntu7) ...  
Removing libappstream3:amd64 (0.9.4-1ubuntu2) ... 
Removing qtdeclarative5-unity-action-plugin:amd64 (1.1.0+14.04.20140304-0ubuntu2~gcc5.1) ... 
Removing libunity-action-qt1:amd64 (1.1.0+14.04.20140304-0ubuntu2~gcc5.1) ...  
Removing libhud2:amd64 (14.10+16.04.20160415-0ubuntu1) ... 
Removing qml-module-qtfeedback:amd64 (5.0~git20130529-0ubuntu13) ... 
Removing libqt5feedback5:amd64 (5.0~git20130529-0ubuntu13) ... 
Removing libqt5multimedia5:amd64 (5.6.1-2ubuntu1~xenialoverlay1~1) ... 
Removing libqt5positioning5:amd64 (5.6.1-2ubuntu1~xenialoverlay1~1) ...  
Removing qtdeclarative5-test-plugin:amd64 (5.6.1-4ubuntu1~xenialoverlay1~4) ... 
Removing qml-module-qttest:amd64 (5.6.1-4ubuntu1~xenialoverlay1~4) ... 
Removing qtdeclarative5-dev-tools (5.6.1-4ubuntu1~xenialoverlay1~4) ...  
Removing libqt5quicktest5:amd64 (5.6.1-4ubuntu1~xenialoverlay1~4) ...  
Removing libqt5test5:amd64 (5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1) ... 
Removing vbetool (1.1-3) ... 
Removing libx86-1:amd64 (1.1+ds1-10) ... 
Removing plainbox-provider-checkbox (0.25-1) ... 
Removing plainbox-provider-resource-generic (0.23-1) ... 
Removing python3-plainbox (0.25-1) ... 
Removing plainbox-secure-policy (0.25-1) ... 
Removing pm-utils (1.4.1-16) ... 
Removing pyotherside (1.4.0-2) ... 
Removing python3-checkbox-support (0.22-1) ... 
Removing system-config-printer-udev (1.5.7+20160212-0ubuntu2) ... 
Removing system-config-printer-common (1.5.7+20160212-0ubuntu2) ... 
Removing python3-cups (1.9.73-0ubuntu2) ... 
Removing python3-cupshelpers (1.5.7+20160212-0ubuntu2) ... 
Removing python3-guacamole (0.9.2-1) ...  
Removing python3-jinja2 (2.8-1) ... 
Removing python3-padme (1.1.1-2) ... 
Removing python3-pyparsing (2.0.3+dfsg1-1ubuntu0.1) ... 
Removing python3-requests (2.9.1-3) ... 
Removing python3-urllib3 (1.13.1-2ubuntu0.16.04.1) ... 
Removing python3-xlsxwriter (0.7.3-1) ... 
Removing qml-module-io-thp-pyotherside:amd64 (1.4.0-2) ...  
Removing qml-module-qt-labs-folderlistmodel:amd64 (5.6.1-4ubuntu1~xenialoverlay1~4) ... 
Removing qml-module-qt-labs-settings:amd64 (5.6.1-4ubuntu1~xenialoverlay1~4) ...
Removing qml-module-qtgraphicaleffects:amd64 (5.6.1-3ubuntu1~xenialoverlay1~2) ... 
Removing qml-module-qtquick-layouts:amd64 (5.6.1-2build1~~xenialoverlay1~1) ...  
Removing qml-module-qtquick-window2:amd64 (5.6.1-4ubuntu1~xenialoverlay1~4) ... 
Removing qtdeclarative5-accounts-plugin:amd64 (0.6+16.04.20151106-0ubuntu1) ...  
Removing qml-module-ubuntu-onlineaccounts:amd64 (0.6+16.04.20151106-0ubuntu1) ... 
Removing qtdeclarative5-qtquick2-plugin:amd645.6.1-4ubuntu1~xenialoverlay1~4) ... 
Removing qml-module-qtquick2:amd64 (5.6.1-4ubuntu1~xenialoverlay1~4) .. 
Removing qml-module-qtwebkit:amd64 (5.6.1+dfsg-4ubuntu1~xenialoverlay1~2) ...  
Removing qml-module-ubuntu-performancemetrics:amd64 (1.3.1918+16.04.20160404-0ubuntu1) ... 
Removing qmlscene (5.6.1-4ubuntu1~xenialoverlay1~4) ... 
Removing suru-icon-theme (14.04+16.04.20161024-0ubuntu1) ... 
Removing ubuntu-core-launcher (2.22.6) ... 
Removing ubuntu-mobile-icons (14.04+16.04.20161024-0ubuntu1) ... 
Removing ubuntu-ui-toolkit-theme (1.3.1918+16.04.20160404-0ubuntu1) ... 
Processing triggers for man-db (2.7.5-1) ... 
Processing triggers for libc-bin (2.23-0ubuntu5) ...  
Processing triggers for doc-base (0.10.7) ... 
Processing 1 removed doc-base file... 

samerlol@SamerLOL:~$ sudo apt-get install unity-tweak-tool gnome-tweak-tool 
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.

samerlol@SamerLOL:~$ sudo apt-get purge unity-tweak-tool 
Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
Package 'unity-tweak-tool' is not installed, so not removed 
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 

samerlol@SamerLOL:~$ sudo apt-get purge --auto-remove unity-tweak-tool 
Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
Package 'unity-tweak-tool' is not installed, so not removed 
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 

samerlol@SamerLOL:~$ sudo apt-get clean 
samerlol@SamerLOL:~$ sudo apt-get install unity-tweak-tool 
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 
W: Target Packages (main/binary-amd64/Packages) is configured multiple times 
in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 
W: Target Packages  (main/binary-all/Packages) is configured multiple times in  
/etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in  
/etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 
W: Target Translations (main/i18n/Translation-en) is configured multiple times in  
/etc/apt/sourscreenshotces.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in  
/etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 
W: Target DEPscreenshot-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in  
/etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 
E: Unable to correct problems, you have held broken packages. 

samerlol@SamerLOL:~$ sudo apt-get clean  
samerlol@SamerLOL:~$ sudo apt-get autoclean 
Reading package lists...  
Done Building dependency tree        
Reading state information... Done  
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in 
/etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 
W: Target Packages (main/binary-all/Packages) is configured multiple times in  
/etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in  
/etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 
W: Target Translations (main/i18n/Translation-en) is configured multiple times in  
/etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in  
/etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in  
/etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1 

samerlol@SamerLOL:~$ sudo apt-get -f install 
Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 

samerlol@SamerLOL:~$ sudo dpkg --configure -a 
samerlol@SamerLOL:~$ sudo apt-get -f install  
Reading package lists... Done 
Building dependency tree        
Reading  state information... Done 
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 

samerlol@SamerLOL:~$ sudo apt-get -u dist-upgrade  
Reading package lists... Done 
Building dependency tree        
Reading  state information... Done 
Calculating upgrade... Done 
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 

samerlol@SamerLOL:~$  
sudo apt-get install unity-tweak-tool 
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.

O que devo fazer?

    
por Samer Yousef 05.03.2017 / 22:46

1 resposta

0

Quando você excluiu muitos pacotes, provavelmente excluiu o que depende de unity-tweak-tool .

Tente instalar os pacotes manualmente.

  1. Abra o link no seu navegador da Web.
  2. Desça até a área de diretórios do pacote de pesquisa.
  3. Selecione sua versão do Ubuntu no menu suspenso Distribuição (neste caso, é xenial ).
  4. Digite o nome do pacote e clique em pesquisa (neste caso, é unity-webapps-common)
  5. Clique no hit exato (neste caso, é o pacote unity-webapps-common )
  6. Selecione a arquitetura de seus computadores ( amd64 para 64 bits e i386 para 32 bits) ou all na tabela na parte inferior
  7. Selecione um dos links na página. É provavelmente uma boa ideia selecionar aquele para o seu país, mas isso não importa.
  8. Abra um terminal e navegue até o diretório para o qual você baixou o pacote.
  9. Execute sudo dpkg -i file.deb , em que arquivo.deb é o arquivo que você acabou de fazer o download. Feito isso, tente instalar unity-tweak-tool novamente.

Se isso der a você o erro de um pacote diferente, basta seguir as etapas 1-9 para esse pacote e tentar instalar unity-tweak-tool novamente. Você pode ter que fazer isso várias vezes.

    
por user689314 15.06.2017 / 20:23