erro de instalação do snappy-tools ubuntu 14.04

1

Quando tento instalar ferramentas instantâneas, obtenho os seguintes erros:

sudo add-apt-repository ppa:snappy-dev/beta; sudo apt-get update; sudo apt-get upgrade; sudo apt-get install snappy-tools bzr


The following packages have unmet dependencies:
snappy-tools : Depends: ubuntu-device-flash but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ric@ric-ubuntu:~$ sudo apt-get install ubuntu-device-flash snappy-tools bzr
[sudo] password for ric: 
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:
ubuntu-device-flash : Depends: click-ubuntu-policy but it is not installable
E: Unable to correct problems, you have held broken packages.
ric@ric-ubuntu:~$ sudo apt-get install ubuntu-device-flash snappy-tools bzr click-ubuntu-policy
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package click-ubuntu-policy is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'click-ubuntu-policy' has no installation candidate
ric@ric-ubuntu:~$

@Jan

    
por ric96 23.04.2015 / 03:51

1 resposta

1

Com sudo add-apt-repository ppa:snappy-dev/beta você adicionou um novo repositório ao seu apt-sources.

sudo apt-get update atualizou as listas de pacotes, incluindo a do PPA que você acabou de adicionar.

sudo apt-get upgrade atualiza seus pacotes para os mais novos disponíveis.

Por fim, com sudo apt-get install snappy-tools bzr , você tenta instalar os pacotes snappy-tools e bzr . A instalação de snappy-tools falha porque esse pacote depende de outro pacote chamado ubuntu-device-flash , mas não é necessário instalá-lo.

Teste sudo apt-get install ubuntu-device-flash snappy-tools bzr e denuncie.

Editar

click-ubuntu-policy não está disponível em 14.04, apenas em versões mais recentes: link

Isso significa que você tem um sistema misto 14.04 / 14.10 ...

    
por Jan 23.04.2015 / 13:02