LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-06-2006, 03:41 PM   #1
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Kubuntu 6.06 and the Gimp development packages ?


I got a book about learning the Gimp and I'm trying to install some plugins - which somewhat inconveniently come in "different flavours".

Now the .scm, .py and .pl ones are easy, just a case of copying them to the respective directory in my gimp profile.

The others are a bit more tricky - they have to be compiled. Which shouldn't be a problem (in theory).

Having tried to follow the instructions in the book, it appears that I need to get the gimp development packages. now while there doesn't seem to be a set of development packages per se, there are development libraries. If I try to install them I end up with some strange dependency problems.

Quote:
me@mypc:~$ sudo apt-get install libgimp2.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.
libgimp2.0-dev: Depends: libgtk2.0-dev (>= 2.4.4-1) but it is not going to be installed
E: Broken packages
me@mypc:~$
This appears to be a circular dependency problem, because if I then try to get the libgtk2.0-dev I end up with
Quote:
libgtk2.0-dev:
Depends: libpango1.0-dev but it is not going to be installed
Depends: libcairo2-dev but it is not going to be installed
Depends: libxcursor-dev but it is not going to be installed
Depends: libxfixes-dev but it is not going to be installed
So how do I get round this snag please?

As ever, any ideas/advice/solutions etc are very much appreciated.

regards

John
 
Old 08-07-2006, 03:51 AM   #2
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
hmm, when I do "sudo apt-get install libgimp2.0-dev" it works fine, all the dependences get resolved.
Try installing it in a package manager and see if that helps at all. If all else fails you could do it the red hat way. try and install, fail, add dependences to install list, repeat.
 
Old 08-07-2006, 02:06 PM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692

Original Poster
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by binary_y2k2
hmm, when I do "sudo apt-get install libgimp2.0-dev" it works fine, all the dependences get resolved.
Try installing it in a package manager and see if that helps at all. If all else fails you could do it the red hat way. try and install, fail, add dependences to install list, repeat.
No, already tried that.

It's got to be either my sources.list or that theres something in my system that's blocking the package so that synaptic tells me that the package is broken.
My current sources.list looks like this

Quote:
# Automatically generated sources.list
# http://www.ubuntulinux.nl/source-o-matic
#
# If you get errors about missing keys, lookup the key in this file
# and run these commands (replace KEY with the key number)
#
# gpg --keyserver subkeys.pgp.net --recv KEY
# gpg --export --armor KEY | sudo apt-key add -

# Ubuntu supported packages (packages, GPG key: 437D05B5)
deb http://gb.archive.ubuntu.com/ubuntu dapper main restricted
deb http://gb.archive.ubuntu.com/ubuntu dapper-updates main restricted
deb http://security.ubuntu.com/ubuntu dapper-security main restricted

# Ubuntu supported packages (sources, GPG key: 437D05B5)
deb-src http://gb.archive.ubuntu.com/ubuntu dapper main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu dapper-updates main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted

# Ubuntu community supported packages (packages, GPG key: 437D05B5)
deb http://gb.archive.ubuntu.com/ubuntu dapper universe multiverse
deb http://gb.archive.ubuntu.com/ubuntu dapper-updates universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse

# Ubuntu community supported packages (sources, GPG key: 437D05B5)
deb-src http://gb.archive.ubuntu.com/ubuntu dapper universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu dapper-updates universe multiverse
deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse

# Seveas' packages (packages, GPG key: 1135D466)
deb http://mirror.ubuntulinux.nl dapper-seveas all

# Seveas' packages (sources, GPG key: 1135D466)
deb-src http://users.lichtsnel.nl/~seveas dapper-seveas all

# Cipherfunk multimedia packages (packages, GPG key: 33BAC1B3)
deb ftp://cipherfunk.org/pub/packages/ubuntu/ dapper main

# Cipherfunk multimedia packages (sources, GPG key: 33BAC1B3)
deb-src ftp://cipherfunk.org/pub/packages/ubuntu dapper main

# kubuntu.org packages for the latest KDE version (packages, GPG key: DD4D5088)
deb http://kubuntu.org/packages/kde-latest dapper main

# kubuntu.org packages for the latest KDE version (sources, GPG key: DD4D5088)
deb-src http://kubuntu.org/packages/kde-latest dapper main

# Penguin Liberation Front (packages)
deb ftp://ftp.free.fr/pub/Distributions_...lf/ubuntu/plf/ dapper free non-free

# Penguin Liberation Front (sources)
deb-src ftp://ftp.free.fr/pub/Distributions_...lf/ubuntu/plf/ dapper free non-free

# The Opera browser (packages)
deb http://deb.opera.com/opera etch non-free
I can't see anything there that might cause a problem AFAIK. So I'm wondering what else might be causing the package to show as broken in Adept and the dependency thing (which applies to all of the dependant packages as well)?

regards

John

p.s. erm, I also noticed that synaptic is not showing any package called libgtk2.0-dev, it does show libgtkgl2.0-dev but that seems to be dependant on the libgtk2.0-dev so I'm presuming that they're different packages - maybe theres a specific repository that I need to add to my sources.list ?????

Last edited by bigjohn; 08-07-2006 at 02:28 PM.
 
Old 08-07-2006, 02:56 PM   #4
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
you can try inserting these lines ::

Code:
## MAJOR BUG FIX UPDATES produced after the final release
deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted 
deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted 

deb http://archive.ubuntu.com/ubuntu dapper main restricted 
deb-src http://archive.ubuntu.com/ubuntu dapper main restricted

note :: these are for ubuntu ... as a reference ...


.

Last edited by alred; 08-07-2006 at 02:58 PM.
 
Old 08-08-2006, 04:59 AM   #5
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by alred
you can try inserting these lines ::
Code:
## MAJOR BUG FIX UPDATES produced after the final release
deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted 
deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted 

deb http://archive.ubuntu.com/ubuntu dapper main restricted 
deb-src http://archive.ubuntu.com/ubuntu dapper main restricted
note :: these are for ubuntu ... as a reference ...
How would that help? He already has those lines.

Quote:
Originally Posted by bigjohn
I can't see anything there that might cause a problem AFAIK. So I'm wondering what else might be causing the package to show as broken in Adept and the dependency thing (which applies to all of the dependant packages as well)?
Your sources.list looks fine to me as well. Do you get any errors when you do
Code:
sudo apt-get update
 
Old 08-08-2006, 01:07 PM   #6
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692

Original Poster
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by alred
you can try inserting these lines ::

Code:
## MAJOR BUG FIX UPDATES produced after the final release
deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted 
deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted 

deb http://archive.ubuntu.com/ubuntu dapper main restricted 
deb-src http://archive.ubuntu.com/ubuntu dapper main restricted
note :: these are for ubuntu ... as a reference ...


.
I already have those lines. I did some further reading (about apt) and when I try the command
Code:
apt-cache show
for both the libgimp2.0-dev and the libgtk2.0-dev the output shows that they are both in the repository for Ubuntu.

I tried the
Code:
apt-get --purge remove
for both packages as well, but as expected, apt just said that it can't remove whats not installed.

Quote:
Originally Posted by binary_y2k2
How would that help? He already has those lines.


Your sources.list looks fine to me as well. Do you get any errors when you do
Code:
sudo apt-get update
the only errors that I see with
Code:
sudo apt-get update
are relating to seveas' packages and plf ones i.e. it seems to take a few go's to connect to the server then it gets the list fine (from what I can see/work out). Plus I get a few errors about gpg items.

I can't believe that "they" would have 2 major libraries (even development libraries) like libgimp2.0-dev and libgtk2.0-dev on the repository(s) as broken packages.

I'm convinced that it's something I'm either doing wrong or have wrongly configured (or even something thats conflicting with these packages).

So any advice as to where I need to look for what might be going wrong would be excellent, as right now, I have no idea where, or what to look [at]

regards

John
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Development packages satimis Fedora 2 06-06-2005 02:02 AM
X Development Packages AmdMhz Linux - Software 2 09-29-2004 02:02 PM
currupted development packages mjkramer Linux - Newbie 1 10-13-2003 09:29 PM
installing development packages seth_m Linux - General 1 10-03-2003 04:50 PM
gtk development packages contrasutra Slackware 4 06-11-2003 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration