0

I am on Ubuntu 14.04. I want to install two packages: pantheon-shell and elementary-tweaks but getting following error:

$ 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.

I tried this, didnt help:

$ 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.
Zanna
  • 70,465
Alex Jones
  • 7,982
  • 9
  • 55
  • 94
  • Might want to mention what ppa you're using. – doug Mar 20 '15 at 22:55
  • @doug I am using sudo apt-add-repository -y ppa:elementary-os/testing, sudo apt-add-repository -y ppa:versable/elementary-tweaks-isis and sudo apt-add-repository -y ppa:elementary-os/daily. btw i just installed pantheon DE – Alex Jones Mar 20 '15 at 23:02

2 Answers2

0

Try the following, in the shown order

sudo apt-get autoclean && apt-get clean
sudo aptitude update && sudo aptitude -y upgrade
sudo aptitude install <package>
s1mmel
  • 2,024
0

I guess the repos have the same packages but with different versions?

I think you need APT Pinning for that, to tell apt which repo you prefer to install from.

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

This might be your problem. You need to give these repos prio's.

s1mmel
  • 2,024