Dependências não satisfeitas para xícaras ao executar o upgrade do apt-get

1

Quando corri sudo apt-get update , mostra o seguinte:

$ sudo apt-get update
Get:1 http ://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http ://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http ://in.archive.ubuntu.com/ubuntu xenial-updates InRelease                 
Hit:4 http ://in.archive.ubuntu.com/ubuntu xenial-backports InRelease               
Fetched 102 kB in 2s (51.1 kB/s)                             
Reading package lists... Done

Depois disso, quando corri sudo apt-get upgrade , mostra:

$ sudo apt-get upgrade
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:
 cups : Depends: cups-daemon (>= 2.1.3-4ubuntu0.2)
 cups-core-drivers : Depends: cups-daemon (>= 2.1.3-4ubuntu0.2)
 cups-daemon : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 is installed
E: Unmet dependencies. Try using -f.

Alguma solução?

    
por Pinaki Biswas 29.03.2017 / 13:35

1 resposta

1

Execute dpkg -l | egrep '^ii.*cups' para ver todos os seus pacotes CUPS instalados. Se alguns deles estiverem na versão 2.1.3-4ubuntu0.2 , reverta-os para a versão 2.1.3-4 com

sudo apt install package1=2.1.3-4 package2=2.1.3-4 ...
    
por fkraiem 29.03.2017 / 14:57