Невозможно установить оболочку пантеона и элементарные настройки из-за отсутствия зависимостей

Я на Ubuntu 14.04. Я хочу установить два пакета: pantheon-shell а также elementary-tweaks но получаю следующую ошибку:

$ sudo apt-get install pantheon-shell
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:
 pantheon-shell : Depends: slingshot-launcher but it is not going to be installed
              Recommends: gala but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get install elementary-tweaks
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:
 elementary-tweaks : Depends: gala but it is not going to be installed
                 Depends: slingshot-launcher but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Я попробовал это, не помогло:

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

2 ответа

Я предполагаю, что репозитории имеют одинаковые пакеты, но с разными версиями?

Я думаю, вам нужен APT Pinning, чтобы сообщить apt, из какого репозитория вы предпочитаете устанавливать.

ppa:elementary-os/testing
ppa:elementary-os/daily

Это может быть вашей проблемой. Вы должны дать эти репозитории прио.

Попробуйте следующее, в указанном порядке

sudo apt-get autoclean && apt-get clean
sudo aptitude update && sudo aptitude -y upgrade
sudo aptitude install <package>
Другие вопросы по тегам