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.
2
  • Might want to mention what ppa you're using.
    – doug
    Mar 20, 2015 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, 2015 at 23:02

2 Answers 2

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>
6
  • it did not help
    – Alex Jones
    Mar 20, 2015 at 22:54
  • it says there is nothing like clear
    – Alex Jones
    Mar 20, 2015 at 23:04
  • can you post your sources.list please, this might help
    – s1mmel
    Mar 20, 2015 at 23:05
  • I corrected it, autoclean removes old unused packages and clean removes the "main" cache.
    – s1mmel
    Mar 20, 2015 at 23:09
  • copy of sources.list here
    – Alex Jones
    Mar 20, 2015 at 23:11
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.

2

Not the answer you're looking for? Browse other questions tagged .