Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo apt-get install libgtk2.0-dev [SOLVED] #3

Closed
iklobato opened this issue Jul 13, 2017 · 2 comments
Closed

sudo apt-get install libgtk2.0-dev [SOLVED] #3

iklobato opened this issue Jul 13, 2017 · 2 comments
Assignees

Comments

@iklobato
Copy link

iklobato commented Jul 13, 2017

The following error

The following packages have unmet dependencies:
libglib2.0-dev: Depends: libglib2.0-0 (= 2.24.0-0ubuntu4) but 2.24.1-0ubuntu1 is to be installed
E: Broken packages

Can be solved by
sudo aptitude install libglib2.0-dev

Then, it will be asked for downgrade some version

The following actions will resolve these dependencies:
Install the following packages:
libelfg0 [0.8.13-5 (now, oldstable)]
Downgrade the following packages:
libglib2.0-0 [2.48.0-1 bpo8+1 (now) -> 2.42.1-1 (oldstable)]
libglib2.0-bin [2.48.0-1 bpo8+1 (now) -> 2.42.1-1 (oldstable)]
Accept this solution? [Y/n/q/?]

And finally
sudo apt-get install libglib2.0-dev

@iklobato
Copy link
Author

iklobato commented Jul 13, 2017

I just realize the problem was in the repository, here its how to fix it,
sudo nano /etc/apt/sources.list

As the official website says here, change it to:

deb http://archive.raspbian.org/raspbian wheezy main contrib non-free
deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free

And then:
sudo reboot

@Tes3awy Tes3awy closed this as completed Jul 23, 2017
@smug-dev
Copy link

ily

@Tes3awy Tes3awy pinned this issue Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants