Ubuntu SDK не устанавливается 12.04

Сначала я использовал составную команду, приведенную здесь , но она дала некоторые ошибки, поэтому я выполнил каждую команду отдельно, чтобы я мог выяснить, где находится ошибка. Добавление репозитория и обновление было хорошо, но:

asim@ubuntu:~$ 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: qtcreator-plugin-ubuntu-cordova but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
asim@ubuntu:~$ 

Я решил установить qtcreator-plugin-ubuntu-cordova отдельно, затем:

asim@ubuntu:~$ sudo apt-get install qtcreator-plugin-ubuntu-cordova
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:
 qtcreator-plugin-ubuntu-cordova : Depends: qtcreator-plugin-ubuntu (= 2.8.1bzr56precise0) but 2.8.1bzr57precise0 is to be installed
E: Unable to correct problems, you have held broken packages.
asim@ubuntu:~$ 

Здесь я подумал, что принудительное использование правильной версии пакета будет работать нормально, но еще раз:

asim@ubuntu:~$ sudo apt-get install qtcreator-plugin-ubuntu-cordova =2.8.1bzr57precise0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package 
asim@ubuntu:~$ 

Кто-нибудь может мне помочь? Я занимался веб-разработкой на php, но решил попробовать разработку программного обеспечения на Ubuntu.

Редактировать

apt-cache policy qtcreator-plugin-ubuntu-cordova qtcreator-plugin-ubuntu ubuntu-sdk дает:

root@ubuntu:/home/asim# apt-cache policy qtcreator-plugin-ubuntu-cordova qtcreator-plugin-ubuntu ubuntu-sdk
qtcreator-plugin-ubuntu-cordova:
  Installed: (none)
  Candidate: 2.8.1bzr56precise0
  Version table:
     2.8.1bzr56precise0 0
        500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main amd64 Packages
qtcreator-plugin-ubuntu:
  Installed: 2.8.1bzr57precise0
  Candidate: 2.8.1bzr57precise0
  Version table:
 *** 2.8.1bzr57precise0 0
        500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status
ubuntu-sdk:
  Installed: (none)
  Candidate: 1.009~sdkppa~precise1~test6
  Version table:
     1.009~sdkppa~precise1~test6 0
        500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main amd64 Packages
-1
задан 16 December 2013 в 00:12

1 ответ

Я нашел способ сделать это.

  1. удалить конфликтующий пакет: sudo apt-get remove qtcreator-plugin-ubuntu
  2. Скачать и установить необходимый пакет: 2.8.1bzr56precise0 скачать здесь ( после загрузки, при двойном щелчке вам нужно перейти в Ubuntu Software Center, выбрать установку)
  3. установить Ubuntu SDK: sudo apt-get установить ubuntu-sdk (он добавит нужный пакет)

Наслаждайтесь Ubuntu SDK;)

0
ответ дан 16 December 2013 в 00:12
  • 1
    Это вынуждает меня играть с различными шрифтами для различных разделов, которые на основе опыта - почти никогда не будут удовлетворительными. I' m поиск no-hassle-one-click-and-your-ubuntu-looks-like-windows-fontwise решения:) – Amir Rachum 8 June 2015 в 20:03

Другие вопросы по тегам:

Похожие вопросы: