Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm a very new ubuntu user. I had someone install everything for me, including GIMP but since my last update it has simply vanished.

I have found some help on the subject but all tell me to install packages and I don't know how to do that.

Whenever I try to run any of these commands I get some response like this:

N: Ignoring file 'matthaeus123-mrw-gimp-svn-oneiric.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

When I type GIMP into Terminal, I get:

The program 'gimp' is currently not installed. You can install it by typing:
sudo apt-get install gimp

So I try the apt-get and this is what comes after:

E: Invalid operation gimp

Should I reinstall the whole system? Anyone can help please? :(

UPDATE

Ok I have deleted the file (yay!). I got the following errors:

Err http://ppa.launchpad.net oneiric/main Sources                              
  404  Not Found
Err http://ppa.launchpad.net oneiric/main i386 Packages                        
  404  Not Found
Err http://ppa.launchpad.net oneiric/main Sources                              
  404  Not Found
Err http://ppa.launchpad.net oneiric/main i386 Packages                        
  404  Not Found

and also

W: Failed to fetch http://ppa.launchpad.net/pmcenery/ppa/ubuntu/dists/oneiric/main/source/Sources  404  Not Found
W: Failed to fetch http://ppa.launchpad.net/pmcenery/ppa/ubuntu/dists/oneiric/main/binary-i386/Packages  404  Not Found
W: Failed to fetch http://ppa.launchpad.net/ripps818/wacom/ubuntu/dists/oneiric/main/source/Sources  404  Not Found
W: Failed to fetch http://ppa.launchpad.net/ripps818/wacom/ubuntu/dists/oneiric/main/binary-i386/Packages  404  Not Found

Then when I try to run apt-get on GIMP I get:

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
        Depends: libglib2.0-0 (>= 2.31.2) but 2.30.0-0ubuntu4 is to be installed
E: Unable to correct problems, you have held broken packages.
share|improve this question
1  
What happens if you type gimp in a terminal? (add the answer to this into your question ;) ) –  Rinzwind Apr 30 '12 at 13:58
    
thanks so much. already there! –  Ana Apr 30 '12 at 14:22
    
Added directions to install gimp to the answer. –  Elfy Apr 30 '12 at 14:29
    
It seems you have a lot of broken ppa in your sources list. Did you upgrade from 11.10 to 12.04? Then you may need to upgrade or remove your outdated ppa as well. See askubuntu.com/questions/4983/… –  Takkat Apr 30 '12 at 15:46
    
@ Takkat how do I know which version I have? As I said, someone else installed it for me... I usually update everything the update manager prompts me, isn't that enough? thanks –  Ana May 1 '12 at 15:54

1 Answer 1

First - let's deal with the error in sources.list.d

Do Alt+F2 and run this command

gksudo nautilus /etc/apt/sources.list.d/

You will be asked for password - this is your password.

The file manager will open in the correct location, look for

matthaeus123-mrw-gimp-svn-oneiric.list.save.1

right click on it and delete it.

Any files in that directory should either end with

list or save - nothing else.

Now do

Ctrl+Alt+T this should open a terminal - run this command

sudo apt-get update

This should update apt, if you get more errors please add them to the question.

Once that has done, run this and post errors if you get any.

gimp

You can install gimp from the terminal with

sudo apt-get install gimp

or search for gimp in the Ubuntu Software Center and install it from there.

share|improve this answer
3  
We should not advice unexperienced users to run Nautilus as root. One bad mouse movement could make the whole system unusuable. –  Takkat Apr 30 '12 at 14:19
    
I'm using Ubuntu on a Mac - ALT+F2 seems to do nothing here... what should I open to run the command? Thank you –  Ana Apr 30 '12 at 14:24
    
@ Ana use ctrl+alt+t and run it from a terminal –  Elfy Apr 30 '12 at 14:25
    
@ Takkat - so how would deal with removing a root owned file? You'll notice that the command to open nautilus as root would in fact open it in the correct directory. People have to learn. –  Elfy Apr 30 '12 at 14:27
    
Open the file directly with vi or gedit from command line. Opening nautilus first might have the user continue using nautilus as root since it opens a browser window and it is kept open after editing the file that needs editing. Even a sudo rm /dir/to/file is better ;) –  Rinzwind Apr 30 '12 at 14:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.