Cannot install libgtk2.0-dev on Dapper.

Bug #54750 reported by Michael B. Trausch
4
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: libgtk2.0-dev

I have attempted to do this various ways, including downgrading packages to make things match, but ultimately, if this is downgraded, synaptic will attempt to uninstall the entire (useful) system.

I had this problem with glib and pango, as well, but I am including the pango portion in here, because it is the reason that this package will not install.

fd0man@pepper:~$ sudo apt-get install libgtk2.0-dev
Reading package lists... Done
Building dependency tree... 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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libgtk2.0-dev: Depends: libgtk2.0-0 (= 2.8.17-1ubuntu5) but 2.8.18-0ubuntu2 is to be installed
                 Depends: libpango1.0-dev (>= 1.10.0-2) but it is not going to be installed
E: Broken packages
fd0man@pepper:~$ sudo apt-get install libpango1.0-dev
Reading package lists... Done
Building dependency tree... 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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libpango1.0-dev: Depends: libpango1.0-0 (= 1.12.2-0ubuntu3) but 1.12.3-0ubuntu1 is to be installed
E: Broken packages
fd0man@pepper:~$

Revision history for this message
Daniel T Chen (crimsun) wrote :

You must have dapper-updates repositories enabled for main.

Changed in gtk+2.0:
importance: Untriaged → Low
status: Unconfirmed → Rejected
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. Could you run "apt-cache policy" and copy that to a comment? Looks like you have dapper-updates not activated for universe

Changed in gtk+2.0:
assignee: nobody → desktop-bugs
Revision history for this message
Michael B. Trausch (mtrausch) wrote : Re: [Bug 54750] Re: Cannot install libgtk2.0-dev on Dapper.

On Tue, 2006-08-01 at 04:16 +0000, Daniel T Chen wrote:
>
> You must have dapper-updates repositories enabled for main.
>

Thank you. I did not realize that it wound up being disabled, but
somehow or another it did.

I re-added it back to the sources.list file and everything seems to work
again, which is good. I apologize for the ignorant bug report—I was too
confused to know where to look, since it seemed to be getting some
software and not others.

 — Mike

--
The fd0man™—The Magical Floppy Man! (<email address hidden>)
"One world, one web, one program" —Microsoft promotional ad
"Ein Volk, ein Reich, ein Fuehrer" —Adolf Hitler

Revision history for this message
Montaro (montarotech) wrote :
Download full text (3.3 KiB)

I'm having identical issues, however my dapper-updates is enabled:

deb http://archive.ubuntu.com/ubuntu dapper-updates restricted
deb http://archive.ubuntu.com/ubuntu dapper-updates universe
deb http://archive.ubuntu.com/ubuntu dapper-updates multiverse

apt-cache policy returns:

Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://wine.budgetdedicated.com dapper/main Packages
     release o=winehq,a=dapper,l=winehq,c=main
     origin wine.budgetdedicated.com
 500 ftp://cipherfunk.org dapper/main Packages
     release o=cipherfunk.org,a=future,l=Unofficial Ubuntu Packages,c=main
     origin cipherfunk.org
 500 http://seveas.theplayboymansion.net dapper-seveas/all Packages
     release v=6.06,o=Seveas,a=dapper-seveas,l=Seveas,c=all
     origin seveas.theplayboymansion.net
 500 http://archive.ubuntu.com dapper-backports/multiverse Packages
     release v=6.06,o=Ubuntu,a=dapper-backports,l=Ubuntu,c=multiverse
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper-backports/universe Packages
     release v=6.06,o=Ubuntu,a=dapper-backports,l=Ubuntu,c=universe
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper-backports/restricted Packages
     release v=6.06,o=Ubuntu,a=dapper-backports,l=Ubuntu,c=restricted
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper-backports/main Packages
     release v=6.06,o=Ubuntu,a=dapper-backports,l=Ubuntu,c=main
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper-updates/multiverse Packages
     release v=6.06,o=Ubuntu,a=dapper-updates,l=Ubuntu,c=multiverse
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper-updates/universe Packages
     release v=6.06,o=Ubuntu,a=dapper-updates,l=Ubuntu,c=universe
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper-updates/restricted Packages
     release v=6.06,o=Ubuntu,a=dapper-updates,l=Ubuntu,c=restricted
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper-updates/main Packages
     release v=6.06,o=Ubuntu,a=dapper-updates,l=Ubuntu,c=main
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper-security/multiverse Packages
     release v=6.06,o=Ubuntu,a=dapper-security,l=Ubuntu,c=multiverse
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper-security/universe Packages
     release v=6.06,o=Ubuntu,a=dapper-security,l=Ubuntu,c=universe
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper-security/restricted Packages
     release v=6.06,o=Ubuntu,a=dapper-security,l=Ubuntu,c=restricted
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper-security/main Packages
     release v=6.06,o=Ubuntu,a=dapper-security,l=Ubuntu,c=main
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper/multiverse Packages
     release v=6.06,o=Ubuntu,a=dapper,l=Ubuntu,c=multiverse
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper/universe Packages
     release v=6.06,o=Ubuntu,a=dapper,l=Ubuntu,c=universe
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com dapper/restricted Packages
     release v=6.06,o=Ubuntu,a=dapper,l=Ubuntu,c=restricted
     origin archive.ubuntu.co...

Read more...

Revision history for this message
Montaro (montarotech) wrote :

my apologies, i forgot to include the main line:

deb http://archive.ubuntu.com/ubuntu dapper-updates main

which is also in my sources.list ...just forgot to copy it.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you run:
- apt-cache policy libpango1.0-0
- apt-cache policy libpango1.0-dev
- sudo apt-get install libpango1.0-0

Revision history for this message
Montaro (montarotech) wrote :

I've actually fixed the problem.

I googled for someone's sources.list for dapper, and used that. Now everything is working perfectly.

The only difference I could find was:

deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted
as apposed to:
deb http://archive.ubuntu.com/ubuntu dapper-updates main

the first one is what worked.
this is definately a sources.list problem, not a bug.

apologies for consuming your valuable bug fixing time when it could have been used on much more immediate issues.

kind regards,

Montaro.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.