LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2012, 07:41 PM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Rep: Reputation: 27
Uninstall package from Gnome without uninstalling Gnome itself


Does anyone know how to take care of this? (I have no idea how to get rid of an application included in Gnome without uninstalling Gnome itself). In the following example I want to uninstall mail client Evolution:
Code:
gacanepa@Gabriel-PC:~$ sudo aptitude purge evolution
The following packages will be REMOVED:  
  evolution{p} 
0 packages upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 4,837 kB will be freed.
The following packages have unmet dependencies:
  evolution-exchange: Depends: evolution (>= 2.30.0) but it is not going to be installed.
                      Depends: evolution (< 2.31.0) but it is not going to be installed.
  gnome-core: Depends: evolution (>= 2.30) but it is not going to be installed.
The following actions will resolve these dependencies:

     Remove the following packages:                 
1)     evolution-exchange                           
2)     gnome                                        
3)     gnome-accessibility                          
4)     gnome-core                                   
5)     gnome-desktop-environment                    

     Leave the following dependencies unresolved:   
6)     evolution-common recommends evolution        
7)     openoffice.org-evolution recommends evolution


Accept this solution? [Y/n/q/?
]
I take it must be an option in aptitude... just don't know which one.
Thanks a lot in advance!
 
Old 09-12-2012, 07:46 PM   #2
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,192

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
What is the advantage to removing Evolution from Gnome?
 
Old 09-12-2012, 07:48 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,280
Blog Entries: 16

Rep: Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130Reputation: 3130
You don't mention what distribution of Linux you are using, and that could be a crucial bit of information as to the exact procedures to follow.

This thread from the Mint forums might help; if it does not, please post more information, such as the distro and the version of Gnome:

http://forums.linuxmint.com/viewtopi...ackage#p356322
 
Old 09-12-2012, 07:50 PM   #4
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by snowpine View Post
What is the advantage to removing Evolution from Gnome?
I just don't want it in my installation, same with Ekiga, Liferea, etc.
PS: I am using Debian Squeeze 64 bits.

Last edited by gacanepa; 09-12-2012 at 07:51 PM.
 
Old 09-12-2012, 07:53 PM   #5
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by gacanepa View Post
I just don't want it in my installation, same with Ekiga, Liferea, etc.
PS: I am using Debian Squeeze 64 bits.
Sorry, I forgot to mention Gnome version:
Code:
gacanepa@Gabriel-PC:~$ gnome-about --gnome-version
Version: 2.30.2
Distributor: Debian
Build Date: 11/12/2010
 
Old 09-12-2012, 08:21 PM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

gnome, gnome-core, gnome-desktop-environment etc are "metapackages". They don't really contain anything, they just depend on other packages. You can confirm this by listing the files in each package package. Eg run:
Code:
dpkg -L gnome-desktop-environment
So uninstalling evolution will uninstall these various gnome-* meta packages, but that doesn't necessarily mean that it will remove "Gnome".

HTH,

Evo2.
 
Old 09-12-2012, 08:35 PM   #7
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by evo2 View Post
Hi,

gnome, gnome-core, gnome-desktop-environment etc are "metapackages". They don't really contain anything, they just depend on other packages. You can confirm this by listing the files in each package package. Eg run:
Code:
dpkg -L gnome-desktop-environment
So uninstalling evolution will uninstall these various gnome-* meta packages, but that doesn't necessarily mean that it will remove "Gnome".

HTH,

Evo2.
Well, I did that once... (selected yes when I was prompted to remove gnome, gnome-core, etc) and my graphic environment went completely south, so I assumed Gnome had been uninstalled. Was it my bad then?
 
Old 09-12-2012, 08:51 PM   #8
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,192

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Evolution is a "dependency" of Gnome. There is no benefit (and possibly undesired bad effects) to removing it. For example you might not realize it, but Evolution is used to display the calendar that drops down when you click the clock at the top right of your Gnome toolbar.

An analogy: I don't smoke. I don't need my car's cigarette lighter. But removing my car's cigarette lighter won't make my car run any faster or more reliably. Maybe it is connected to something else important, and yanking it out would have an unexpected effect on the wiring. Easier just to leave it there and not use it.
 
Old 09-12-2012, 08:56 PM   #9
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,192

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
ps Arch Linux has a very different packaging philosophy than Debian and separates gnome and gnome-extra. If you are a minimalist, you may find Arch more satisfying:

https://wiki.archlinux.org/index.php/GNOME
 
Old 09-12-2012, 08:56 PM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

you may have had apt set up to uninstall automatically installed packages. For example if you install gnome-desktop-environment a whole bunch of programs will be installed "automatically" because gnome-desktop-environment depends on them. These packages included programs that you actually wanted. Anyway apt-get will tell you exactly what it is going to remove, so it should be ok.

Finally if it does remove something that you want you can reinstall it.

Evo2.

PS
I just noticed, that you are using aptitude: apt-get is currently the recommended tool for non-interactive commandline package management. See the Package management section of the release notes.

http://www.debian.org/releases/squee...n.html#pkgmgmt
 
1 members found this post helpful.
Old 09-12-2012, 08:59 PM   #11
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by evo2 View Post
Hi,

you may have had apt set up to uninstall automatically installed packages. For example if you install gnome-desktop-environment a whole bunch of programs will be installed "automatically" because gnome-desktop-environment depends on them. These packages included programs that you actually wanted. Anyway apt-get will tell you exactly what it is going to remove, so it should be ok.

Finally if it does remove something that you want you can reinstall it.

Evo2.

PS
I just noticed, that you are using aptitude: apt-get is currently the recommended tool for non-interactive commandline package management. See the Package management section of the release notes.

http://www.debian.org/releases/squee...n.html#pkgmgmt
Thanks a lot!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
uninstall kde 4 & gnome 2.20 and install kde 3.5 or gnome 1.x on suse 10.3 laucian Linux - Newbie 2 04-07-2008 01:01 PM
Gnome Always Uninstalling itself Hero Doug Fedora 3 12-25-2006 03:06 AM
Uninstalling Gnome Schreiberling Linux - General 2 09-19-2006 07:33 AM
Uninstalling GNOME? Rv5 Red Hat 2 12-05-2003 08:53 PM
Uninstalling Gnome GoldfingerUK Linux - Software 0 01-18-2001 10:39 AM


All times are GMT -5. The time now is 12:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration