What is wrong with current (pre-installed) version of libgtk-3-0 for 7.0 (belenos)?

6 réponses [Dernière contribution]
Pandya
Hors ligne
A rejoint: 11/11/2014

When I've tried to install libgtk-3-dev:

$ sudo apt-get install libgtk-3-dev
[sudo] password for pandya: 
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:
 libgtk-3-dev : Depends: libgtk-3-0 (= 3.10.8-0ubuntu1) but 3.10.8-0ubuntu1.2 is to be installed
                Depends: gir1.2-gtk-3.0 (= 3.10.8-0ubuntu1) but 3.10.8-0ubuntu1.2 is to be installed
                Depends: libglib2.0-dev (>= 2.37.5) but it is not going to be installed
                Depends: libgdk-pixbuf2.0-dev (>= 2.27.1) but it is not going to be installed
                Depends: libpango1.0-dev (>= 1.32.4) but it is not going to be installed
                Depends: libatk1.0-dev (>= 2.7.5) but it is not going to be installed
                Depends: libatk-bridge2.0-dev but it is not going to be installed
                Depends: libcairo2-dev (>= 1.13.0~20140204) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Then I've checked (and found) that ligtk-3-0 (3.10.8-0ubuntu1.2) is pre-installed with Trisquel 7.0 BUT we have libgtk-3-0 (3.10.8-0ubuntu1) on our belenos repository.

And here the problem is: libgtk-3-dev needs Package: libgtk-3-0 (3.10.8-0ubuntu1) but newer version 3.10.8-0ubuntu1.2 is pre-installed!

So, Why pre-installed version differs from version that available on repository for samething (belenos)?

Pandya
Hors ligne
A rejoint: 11/11/2014

Note that I am not talking about belenos-updates.

Sachin
Hors ligne
A rejoint: 06/02/2012

Use aptitude instead of apt-get you will find out what is causing this

jbar
Hors ligne
A rejoint: 01/22/2011

Have you dist-upgraded your system? I have installed a newer version of libgtk-3-0


$ sudo apt-cache policy libgtk-3-0
libgtk-3-0:
Instalados: 3.10.8-0ubuntu1.4
Candidato: 3.10.8-0ubuntu1.4
Tabla de versión:
*** 3.10.8-0ubuntu1.4 0
500 http://es.archive.trisquel.info/trisquel/ belenos-updates/main amd64 Packages
500 http://es.archive.trisquel.info/trisquel/ belenos-security/main amd64 Packages
100 /var/lib/dpkg/status
3.10.8-0ubuntu1 0
500 http://es.archive.trisquel.info/trisquel/ belenos/main amd64 Packages

Pandya
Hors ligne
A rejoint: 11/11/2014

Same problem exist for libgtk2.0-0:

~$ apt-cache policy libgtk2.0-0 libgtk-3-0
libgtk2.0-0:
  Installed: 2.24.23-0ubuntu1.1
  Candidate: 2.24.23-0ubuntu1.1
  Version table:
 *** 2.24.23-0ubuntu1.1 0
        100 /var/lib/dpkg/status
     2.24.23-0ubuntu1 0
        500 http://mirror.fsf.org/trisquel/ belenos/main i386 Packages
libgtk-3-0:
  Installed: 3.10.8-0ubuntu1.2
  Candidate: 3.10.8-0ubuntu1.2
  Version table:
 *** 3.10.8-0ubuntu1.2 0
        100 /var/lib/dpkg/status
     3.10.8-0ubuntu1 0
        500 http://mirror.fsf.org/trisquel/ belenos/main i386 Packages

Here you can see that pre-installed version differs from that of available on repository! (you can check difference between this link (pre-installed list with version) and from this link (packages for belenos on repository)

Note: I've not done any dist-upgrade, This is (clean) installed Trisquel 7.0

jbar
Hors ligne
A rejoint: 01/22/2011

The repository is constantly changing. That's why your system can keep upgraded. If you apt-get update you will see newer candidates for the packages.

Pandya
Hors ligne
A rejoint: 11/11/2014

Got it!

When I package search on https://packages.trisquel.info, I found that belenos (main) has version 3.10.8-0ubuntu1 BUT belenos-security has version 3.10.8-0ubuntu1.4 which is pre-installed.

So, Conclusion is release comes with not only belenos main but also belenos-security main packages

Earlier, I had set only belenos main in `/etc/apt/sources.list` so having issue with unmet dependency because installed version is newer than found on repository by `/etc/apt/sources.list` (as contains belenos main only).

Now I've added belenos-security main as well as belenos main in `/etc/apt/sources.list`:

$ cat /etc/apt/sources.list
# deb cdrom:[Trisquel 7.0 _belenos_ - Release i686 (20141102)]/ toutatis main

# Trisquel repositories for supported software and updates
deb http://mirror.fsf.org/trisquel/ belenos main
deb-src http://mirror.fsf.org/trisquel/ belenos main
deb http://mirror.fsf.org/trisquel belenos-security main
#deb-src http://mirror.fsf.org/trisquel belenos-security main

And apt installing working fine without unmet dependencies error (again note that this has nothing to do with belenos-update)

[SOLVED]