UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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 -
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 ?????
## 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 ...
## 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
## 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]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.