Eu recentemente atualizei de 14.04 a 15.04 para que eu pudesse começar a trabalhar em uma ideia de escopo que eu tinha. Antes da atualização, eu tinha instalado o Ubuntu SDK e tinha instalado e parcialmente funcionando - mas eu estava tendo problemas com emuladores e compilação.
Foi-me sugerido que eu deveria atualizar para o 15.04, e eu já estava planejando fazer isso, então eu atualizei entre 14.10 e 15.04.
No entanto, ao longo do caminho, o SDK foi removido. Eu percebi que isso era apenas uma parte normal do processo de atualização, posso apenas reinstalá-lo quando chegar em 15.04.
Errado.
Quando executo o comando sudo apt-get install ubuntu-sdk
, recebo esta saída:
$ sudo apt-get install ubuntu-sdk
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-sdk : Depends: ubuntu-sdk-libs-dev but it is not going to be installed
Depends: phablet-tools but it is not going to be installed
Depends: qtcreator but it is not going to be installed
Depends: qtcreator-plugin-ubuntu but it is not going to be installed
Depends: ubuntu-device-flash but it is not going to be installed
Depends: ubuntu-ui-toolkit-autopilot but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Eu tentei adicionar o ubuntu-sdk-team
PPA via sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
, mas isso me dá o mesmo erro.
Saída de apt-cache policy ubuntu-sdk
:
$ apt-cache policy ubuntu-sdk
ubuntu-sdk:
Installed: (none)
Candidate: 1.221
Version table:
1.221 0
500 http://mirrors.gigenet.com/ubuntuarchive/ vivid/universe amd64 Packages
e apt-cache policy qtcreator
:
$ apt-cache policy qtcreator
qtcreator:
Installed: 3.1.1-0ubuntu9
Candidate: 3.1.1-0ubuntu9
Version table:
*** 3.1.1-0ubuntu9 0
500 http://mirrors.gigenet.com/ubuntuarchive/ vivid/universe amd64 Packages
100 /var/lib/dpkg/status
O que posso fazer para corrigir isso?
EDITAR :
Saída de apt-cache policy ubuntu-sdk-libs-dev
:
ubuntu-sdk-libs-dev:
Installed: 1.221
Candidate: 1.221
Version table:
*** 1.221 0
500 http://mirrors.gigenet.com/ubuntuarchive/ vivid/universe amd64 Packages
100 /var/lib/dpkg/status
EDIT 2 :
Saída de sudo aptitude install ubuntu-sdk
:
$ sudo aptitude install ubuntu-sdk
The following NEW packages will be installed:
account-plugin-tools{a} accountsservice-ubuntu-schemas{a} click-dev{ab}
click-doc{a} gdb-multiarch{a} libandroid-properties1{a}
libcontent-hub-doc{a} libhardware2{a} libhybris-common1{a} libpay2{a}
libqmenumodel0{a} libqt5bluetooth5{a} libqt5bluetooth5-bin{a}
libqt5declarative5{a} libqt5nfc5{a} libtrust-store1{a}
libu1db-qt5-examples{a} libubuntu-location-service2{a}
libubuntu-platform-hardware-api2{a} libubuntuoneauth-2.0-0{a}
libusermetricsoutput1{a} pay-service{a} phablet-tools{a} python-mock{a}
qml-module-qtqml-models2{a} qml-module-qttest{a} qt3d5-examples{a}
qtbase5-doc{a} qtbase5-examples{a} qtconnectivity5-examples{a}
qtcreator{a} qtcreator-plugin-cmake{a} qtcreator-plugin-go{a}
qtcreator-plugin-qnx{a} qtcreator-plugin-remotelinux{a}
qtcreator-plugin-ubuntu{a} qtcreator-plugin-ubuntu-common{a}
qtcreator-plugin-valgrind{a} qtdeclarative5-examples{a}
qtdeclarative5-ubuntu-settings-components{a}
qtdeclarative5-ubuntu-thumbnailer0.1{a}
qtdeclarative5-unity-notifications-plugin{a} qtgraphicaleffects5-doc{a}
qtlocation5-examples{a} qtmultimedia5-doc{a} qtmultimedia5-examples{a}
qtquick1-5-examples{a} qtscript5-doc{a} qtscript5-examples{a}
qtsensors5-examples{a} qtsvg5-doc{a} qtsvg5-examples{a}
qtsystems5-examples{a} qttools5-doc{a} qttools5-examples{a}
qtxmlpatterns5-examples{a} thumbnailer-common{a} thumbnailer-service{a}
ubuntu-emulator{a} ubuntu-emulator-runtime:i386{a} ubuntu-sdk
ubuntu-sdk-libs-dev ubuntu-ui-toolkit-autopilot{a}
ubuntu-ui-toolkit-examples{a} ubuntuone-credentials-common{a}
unity-plugin-scopes{a} unity-scope-tool{a} unity8-common{a}
unity8-fake-env{a} unity8-private{a}
The following packages will be REMOVED:
libprocess-cpp-doc{u} libproperties-cpp-doc{u}
0 packages upgraded, 70 newly installed, 2 to remove and 0 not upgraded.
Need to get 105 MB/119 MB of archives. After unpacking 287 MB will be used.
The following packages have unmet dependencies:
click-dev : Depends: python3-click (= 0.4.38.5) but 0.4.39.1+15.10.20150702-0~461~ubuntu14.04.1 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) click-dev [Not Installed]
2) qtcreator-plugin-ubuntu [Not Installed]
3) ubuntu-sdk [Not Installed]
Leave the following dependencies unresolved:
4) libproperties-cpp-dev recommends libproperties-cpp-doc
5) libprocess-cpp-dev recommends libprocess-cpp-doc
6) qtcreator-plugin-ubuntu-common recommends qtcreator-plugin-ubuntu
Accept this solution? [Y/n/q/?]
EDIT 3 :
Saída de apt-cache policy python3-click
:
$ apt-cache policy python3-click
python3-click:
Installed: 0.4.39.1+15.10.20150702-0~461~ubuntu14.04.1
Candidate: 0.4.39.1+15.10.20150702-0~461~ubuntu14.04.1
Version table:
*** 0.4.39.1+15.10.20150702-0~461~ubuntu14.04.1 0
100 /var/lib/dpkg/status
0.4.38.5 0
500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages