Я получаю эту ошибку при установке ubuntu-sdk при чистой установке Ubuntu 16.04 64bit:
The following packages have unmet dependencies:
ubuntu-sdk : Depends: ubuntu-sdk-libs-dev but it is not going to be installed
Depends: autopilot-desktop but it is not installable
Depends: intltool but it is not installable
Depends: libcontent-hub-doc but it is not installable
Depends: phablet-tools but it is not going to be installed
Depends: ubuntu-device-flash but it is not going to be installed
Depends: ubuntu-sdk-ide but it is not going to be installed
E: Unable to correct problems, you have held broken packages.`
Как решить эту проблему.
Необходимо установить некоторые зависимости отдельно один за другим. В моем случае это бросало:
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-sdk : Depends: phablet-tools but it is not going to be installed
Depends: ubuntu-sdk-ide but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Таким образом, я сначала пытался установить инструменты фаблета:
sudo apt install phablet-tools
Это бросает:
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:
phablet-tools : Depends: android-tools-adb (>= 4.2.2)
Depends: android-tools-fastboot (>= 4.2.2)
E: Unable to correct problems, you have held broken packages.
Таким образом, у меня есть затем установка android-tools-adb и android-tools-fastboot один за другим с помощью:
sudo apt install android-tools-adb
sudo apt install android-tools-fastboot
Затем я снова пытался установить использование человечности-sdk:
sudo apt install ubuntu-sdk
И это работало.
Таким образом, самое главное - то, что, необходимо установить все зависимости один за другим. Это запрашивает любой пакет, который Вы хотите установить, не только для человечности-sdk.
Если Вы получаете ошибки как невстреченные зависимости при установке sdk, необходимо установить все зависимости то упоминание по ошибке. затем наконец человечность-sdk установки. Это хорошо работает.