LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   error while trying to install gimp in ubuntu 11.04 (https://www.linuxquestions.org/questions/linux-software-2/error-while-trying-to-install-gimp-in-ubuntu-11-04-a-878081/)

quazisaad 05-01-2011 10:15 AM

quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libbabl-0.0-0
[sudo] password for quazisaad:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libbabl-0.0-0
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 82.3 kB of archives.
After this operation, 307 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/matthaeus12...mp-svn/ubuntu/ natty/main libbabl-0.0-0 amd64 0.1.5-2011042101~nn [82.3 kB]
Fetched 82.3 kB in 4s (17.0 kB/s)
Selecting previously deselected package libbabl-0.0-0.
(Reading database ... 137501 files and directories currently installed.)
Unpacking libbabl-0.0-0 (from .../libbabl-0.0-0_0.1.5-2011042101~nn_amd64.deb) ...
Setting up libbabl-0.0-0 (0.1.5-2011042101~nn) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libc6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install livbairo2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package livbairo2
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libgcc1
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgcc1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libgdk-pixbuf2.0-0 (>-2.21.6)
bash: syntax error near unexpected token `('
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libgdk-pixbuf2.0-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgdk-pixbuf2.0-0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libglib2.0-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libglib2.0-0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libilmbase6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libilmbase6 is already the newest version.
libilmbase6 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libjpeg62
Reading package lists... Done
Building dependency tree
Reading state information... Done
libjpeg62 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libopenexr6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libopenexr6 is already the newest version.
libopenexr6 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libpango1.0-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpango1.0-0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libpng12-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpng12-0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libsvg2-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libsvg2-2
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install libstdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install zlib1g
Reading package lists... Done
Building dependency tree
Reading state information... Done
zlib1g is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install gimp
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:
gimp : Depends: libgegl-0.0-0 (>= 0.1.3-2) but it is not going to be installed
E: Broken packages

hmm...thanks again...but not working...now i have dependency problem to u guys/gals ;) still trying...do not want to re-install again...4th time have done that without any luck...any suggestions?!?

quazisaad 05-01-2011 10:27 AM

just curious...anyone faced the same kind of problem like me? or i am the only one in this ubuntu planet?

MTK358 05-01-2011 11:05 AM

Use [code] tags for posting command output.

quazisaad 05-01-2011 11:20 AM

oh sorry...ok. any solution pls...

corp769 05-01-2011 01:01 PM

Quote:

0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Have you tried upgrading your packages? Look at the man page for apt-get and run the appropriate command for the packages, that might be your problem. Now that I think about it, you just might need to do that, since the output is telling you that the package is there to be upgraded.

quazisaad 05-01-2011 01:54 PM

Quote:

quazisaad@qs-ubuntu-1104:~$ sudo apt-get -u upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
libvpx0
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 263 kB of archives.
After this operation, 24.6 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ppa.launchpad.net/chromium-daily/ppa/ubuntu/ natty/main libvpx0 amd64 0.9.6-1~ucd1 [263 kB]
Fetched 263 kB in 18s (14.1 kB/s)
(Reading database ... 159753 files and directories currently installed.)
Preparing to replace libvpx0 0.9.5-2 (using .../libvpx0_0.9.6-1~ucd1_amd64.deb) ...
Unpacking replacement libvpx0 ...
Setting up libvpx0 (0.9.6-1~ucd1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
quazisaad@qs-ubuntu-1104:~$ sudo apt-get install gimp
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:
gimp : Depends: libgegl-0.0-0 (>= 0.1.3-2) but it is not going to be installed
E: Broken packages
quazisaad@qs-ubuntu-1104:~$
now what...any other suggestions...

rahul.pache 05-01-2011 02:18 PM

I guess I have an alternate solution
 
I had 10.10 installed. I upgraded my box to 11.04
It automatically removed gimp during upgrade. When I tried to install it, it showed following error.

Code:

Package dependencies cannot be resolved
This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.

Detail
The following packages have unmet dependencies:

gimp: Depends: libc6 (>= 2.11) but 2.13-0ubuntu13 is to be installed
      Depends: libfontconfig1 (>= 2.8.0) but 2.8.0-2.1ubuntu3 is to be installed
      Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but 2.23.3-0ubuntu1 is to be installed
      Depends: libglib2.0-0 (>= 2.24.0) but 2.28.6-0ubuntu1 is to be installed
      Depends: libgtk2.0-0 (>= 2.20.0) but 2.24.4-0ubuntu2 is to be installed
      Depends: libjpeg62 (>= 6b1) but 6b1-1ubuntu1 is to be installed
      Depends: librsvg2-2 (>= 2.26.0) but 2.32.1-0ubuntu3 is to be installed
      Depends: libxfixes3 (>= 1:4.0.1) but 1:4.0.5-1ubuntu1 is to be installed
      Depends: zlib1g (>= 1:1.1.4) but 1:1.2.3.4.dfsg-3ubuntu3 is to be installed
      Depends: python (>= 2.7) but 2.7.1-0ubuntu5 is to be installed
      Depends: python-gtk2 (>= 2.8.0) but 2.22.0-0ubuntu1 is to be installed


Following error occurred when I tried installing using terminal

Code:

rahul@rahul-Lenovo-G560:~$ sudo apt-get install gimp
[sudo] password for rahul:
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:
 gimp : Depends: libgimp2.0 (<= 2.6.11-z) but 2.7.3-2011021801~mm is to be installed
        Depends: gimp-data (<= 2.6.11-z) but 2.7.3-2011021801~mm is to be installed
E: Broken packages

I then thought of installing unstable version 2.7 with single window support.
Here is what I did:
Code:

sudo sh -c "echo 'deb http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu natty main' >> /etc/apt/sources.list"
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 405A15CB
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install gimp

and mast ! it worked :)
Quote:

"mast" is a hindi word for expressing excitement (not that excitement) and happyness.

k3lt01 05-01-2011 02:42 PM

Even though it now works there should be no reason to use a PPA for GIMP. Have you checked what is enabled in software sources? GIMP isn't in Main anymore from memory so if you haven't enabled Universe and Multiverse you may not be able to install GIMP easily as the dependencies may also not be in Main or Restricted.

quazisaad 05-01-2011 07:16 PM

thanks rahul. i am from bangladesh. and i know hindi pretty well. must be the seirials...;) but still no gimp...looks like with natty i hv to skip gimp and chrome...sad really sad...


All times are GMT -5. The time now is 06:13 PM.