Когда я пытаюсь установить snappy tools, я получаю следующие ошибки:
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
С sudo add-apt-repository ppa:snappy-dev/beta
Вы добавили новый репозиторий к своим способным источникам.
sudo apt-get update
обновил списки пакета, включая тот от PPA, который Вы просто добавили.
sudo apt-get upgrade
обновления Ваши пакеты к новейшим доступным.
Наконец, с sudo apt-get install snappy-tools bzr
Вы пытаетесь установить пакеты snappy-tools
и bzr
. Установка snappy-tools
сбои, потому что тот пакет зависит от другого пакета, названного ubuntu-device-flash
, но это не goint, который будет установлен.
Попытка sudo apt-get install ubuntu-device-flash snappy-tools bzr
и сообщают.
click-ubuntu-policy
не доступно в 14,04, только в более новых выпусках: http://packages.ubuntu.com/search?suite=all&searchon=names&keywords=click-ubuntu-policy
Это означает, что у Вас есть смешанные 14.04 / 14,10 систем...