cannot install elementary-tweaks

Bug #1265647 reported by puko3 on 2014-01-02
304
This bug affects 67 people
Affects Status Importance Assigned to Milestone
Elementary Community
Undecided
Unassigned

Bug Description

The ppa and system update installs fine, but when I try to install tweaks I receive the following error.

user@user:~$ 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: libgranite2 (>= 0.2.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

martin (mp19uy) wrote :

I have the same error. And it's a fresh instalation of elementary.
If I try to install it via Software Center the list of dependencies is more extended:

The following packages have unmet dependencies:

elementary-tweaks: PreDepends: dpkg (>= 1.15.6) but 1.16.1.2ubuntu7.2 is to be installed
                   Depends: libc6 (>= 2.2.5) but 2.15-0ubuntu10.5 is to be installed
                   Depends: libgconf-2-4 (>= 2.31.1) but 3.2.5-0ubuntu2 is to be installed
                   Depends: libgee2 (>= 0.5.0) but 0.6.8-1~precise1 is to be installed
                   Depends: libglib2.0-0 (>= 2.26.0) but 2.32.4-0ubuntu1 is to be installed
                   Depends: libgranite2 (>= 0.2.0) but it is not going to be installed
                   Depends: libgtk-3-0 (>= 3.2.1) but 3.4.2-0ubuntu0.5 is to be installed
                   Depends: libpango1.0-0 (>= 1.14.0) but 1.30.0-0ubuntu3.1 is to be installed

Also reproducable in Software Center using this browser link:
apt://elementary-tweaks

Pasha. P. Komar (cellachain) wrote :

Same happens when you're trying to upgrade elementary-tweaks and agenda-tasks, both depends on libgranite2, which doesn't exist in repositories.

Mauro (mauro-limarg) wrote :

same thing here

Amir Hassan (s-amirhassan) wrote :

I have the exact same error as 'martin'. And it's a fresh instalation of elementary (Fri Jan 3 2014). I had a previous install of elementary about a week ago and everything worked fine. I found Elementary-Tweaks quite indespensable to using elementary.

SoulSmasher (soulsmasher) wrote :

Same situation here, can't install. A fresh install of elementaryos.

Clinton (sprc) on 2014-01-04
Changed in elementary-community:
status: New → Confirmed
Kencse Szabolcs (kszabesz22) wrote :

Please help me because, I have same problem if I try to install elementary tweaks .
 ''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: libgranite2 (>= 0.2.0) but it is not installable
E: Unable to correct problems, you have held broken packages.''
I'm beginner Linux user please help me :)
Thank you :)

Oleh (olegpril12) wrote :

The same problemm. Depends: libgranite2 (>= 0.2.0) but it is not installable.

sueder (kadaj-sue) wrote :

Guys, please stop polluting the page with the same information that we already know. If this bug affects you and you have nothing new to say about it, just use the option "Does this bug affects you?".

#This script (should) effectively make a back up of the original apt folder, install tweaks, and then restore the original PPA in order to maintain stability
#From your home directory(drag and drop the script into your home directory first) in a terminal do:
 sudo chmod +x install_tweaks.sh && ./install_tweaks
#enjoy!
cd /etc/
sudo cp -r apt 1apt
sudo add-apt-repository ppa:elementary-os/daily
sudo apt-get update
sudo apt-get install libgranite2
sudo apt-get install elementary-tweaks
sudo rm -r apt
sudo mv 1apt apt
echo "Task Complete. Tweaks can be found under System Settings"

by using @Daniel Van Riper's script I installed Tweaks. And works good :) Thanks...

Sorry, were can I find the script ?
Thanks..

SoulSmasher (soulsmasher) wrote :

@Thomas - the script is at #10. Either save it as described or run the lines one by one on terminal. Both will work.

Mauro (mauro-limarg) wrote :

thanks @Daniel Van Riper!

Jaka (jaka-luthar) wrote :

The problem is discussed here: http://elementaryforum.org/forum/support-assistance/q-amp-a/5473-elementry-tweaks-unable-to-install

he solves it with adding another ppa... can somebody explain this?

Kanehekili (jentiger-moratai) wrote :

@Jaka
Your link shows that the script in comment #10 works:
This guy did about the same
first he added a new repository (a place where software is stored) and added the missing library (libgranite 2)
then he installed the tweak tool and recomnendet to remove it afterwards.

The script does exactly the same: it adds a additional (experimental) repository in order to install the library and removes it by replacing the formerly stored "apt" file.

So both comments do the same thing in a different manner.

Gregory (grb-ben) wrote :

Thanks for the work around Daniel, I wonder what changes have been made to the stable ppa that elementary uses?

Timo Reimerdes (timorei) wrote :

elementary-tweaks is not on the elementary os stable ppa, afaik. It's on versable's. (ppa:versable/elementary-update)

I'm glad it's working for people, but I'm not 100% sure if this could have other affects on the system.

Ideally it would be simple to remove the potential problem being that it would be libgranite2.

Two things

1.@Jaka & Kanehekili
I feel a little bad for not mentioning it before. I used that forum post to get it working on my machine. It's not that i did the same, but more that I copied him. So, forum poster calin-ionut deserves some thanks as well.

2. The ElementaryOS answers page that links to this bug report(http://elementaryos.org/answers/cant-install-elementary-tweaks-1) says specifically, in bold, to not add the daily PPA, which, this solution does. If it's because of getting more updates later, and causing issues later, then this solution works. However, if the person from the developer team said to not add the daily PPA, and he meant specifically because there are issues with libgranite2, then that's a whole different beast, and people might have to remove it.

For those not willing to risk the daily ppa, here's a solution which uses an old build of Tweaks from Nov. 2013.
https://plus.google.com/+MarcoBluethgen/posts/eVBoV7rFCn5

SoulSmasher (soulsmasher) wrote :

@Weltenfeind - Thanks, got the requirement package and installed deb via dpkg , works flawlessly without adding daily PPA!

Cody Garver (codygarver) wrote :

I think what's happening here is that the affected PPAs depend on the elementary Daily PPA, which uses a version of Granite that is version bumped beyond what is available to people not using the Daily PPA. So then builds end up expecting the version they were built with and can't get it. I suggest you modify the PPA dependencies on this page from the Daily PPA to the Stable PPA: https://code.launchpad.net/~versable/+archive/elementary-update

Cody Garver (codygarver) on 2014-02-18
no longer affects: audience

I have installed the elementary-tweaks package although it is installed and i can open it but i can not find any of the categories of tweaks.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments