Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

how to unmerge individual packages (linked to kde-meta)

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
moment92
n00b
n00b
Posts: 33
Joined: Tue Jul 06, 2010 6:49 am

how to unmerge individual packages (linked to kde-meta)

  • Quote

Post by moment92 » Sat Jul 17, 2010 12:11 pm

I unmerged some individual packages, that I do not need. KDE came with lots of programs I want to get rid of. For example, I do not want to use konqueror, but when I unmerged it, I got errors from emerge --depclean. It seems, that the program is linked to kdebase-meta. How can I get rid of it without getting errors, caused by dependencies of meta-packages?
Top
titanofold
Developer
Developer
Posts: 235
Joined: Tue Dec 30, 2003 7:00 pm
Location: Bryson City, NC USA

  • Quote

Post by titanofold » Sat Jul 17, 2010 2:49 pm

You probably wanted to:

Code: Select all

# emerge -av kdebase-startkde
Rather than kdebase-meta.
The best things in life are free.
Guy-1: Surely, you will fold with me...
Guy-2: Alright, but don't call me Shirley
Top
moment92
n00b
n00b
Posts: 33
Joined: Tue Jul 06, 2010 6:49 am

  • Quote

Post by moment92 » Sat Jul 17, 2010 11:59 pm

I installed kde-meta. Is it possible to unmerge packages without replacing it?
Top
kingcoras
n00b
n00b
User avatar
Posts: 47
Joined: Tue Jun 26, 2007 7:39 pm

remove kde-meta

  • Quote

Post by kingcoras » Sun Jul 18, 2010 12:39 am

you should be able to do this:

Code: Select all

emerge --unmerge kde-meta
kde-meta doesn't actually do anything other than pull all of the KDE packages as dependencies, and removing it simply removes the dependancy chain. afterwards, you should be able to remove the packages that you want, assuming they aren't dependancies for an actual program.
<bocz> i think ill be stuck to getting 2 sticks of 128
<bocz> thats 310 mb for a server
<Guilty> Kudos on finding the elusive 54MB DIMM

gentoo boot time: 25 seconds, Windows boot time: 1:30. Why, Bill, why?
Top
moment92
n00b
n00b
Posts: 33
Joined: Tue Jul 06, 2010 6:49 am

  • Quote

Post by moment92 » Sun Jul 18, 2010 1:39 am

I already tried it. The problem is, that next time emerge --depclean wants to remove 174 packages.
Top
few
Guru
Guru
Posts: 448
Joined: Mon Mar 03, 2008 6:47 am

  • Quote

Post by few » Sun Jul 18, 2010 5:00 am

No, that's not possible. Either you want the whole set or you can't use it.
Top
moment92
n00b
n00b
Posts: 33
Joined: Tue Jul 06, 2010 6:49 am

  • Quote

Post by moment92 » Sun Jul 18, 2010 7:59 am

I unmerged meta-package and replaced it with kdebase-startkde. Although it has much less pointless packages, it still annoys me, that I can't remove the packages I don't like.
Top
Genone
Retired Dev
Retired Dev
User avatar
Posts: 9657
Joined: Fri Mar 14, 2003 6:02 pm
Location: beyond the rim

  • Quote

Post by Genone » Sun Jul 18, 2010 8:57 am

moment92 wrote:I unmerged meta-package and replaced it with kdebase-startkde. Although it has much less pointless packages, it still annoys me, that I can't remove the packages I don't like.
Of course you can. It just breaks the dependency chain, so you'll have to live with emerge complaining in that case.
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

  • Quote

Post by BitJam » Sun Jul 18, 2010 6:59 pm

Wouldn't it be possible to add the meta dependencies that are wanted to the world file? So you would unmerge the meta file and unmerge the dependencies you don't want. Then see what packages an "emerge -p --depclean" wants to remove and add these to the world file. This used to work years ago but maybe things have changed so much that it no longer works.
Top
wjb
l33t
l33t
User avatar
Posts: 681
Joined: Sun Jul 10, 2005 9:40 am
Location: Fife, Scotland

  • Quote

Post by wjb » Sun Jul 18, 2010 7:20 pm

No, that should work ok - just emerge --no-replace the ones that you want to keep. Long list though, probably.
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

  • Quote

Post by BitJam » Sun Jul 18, 2010 7:25 pm

wjb wrote:Long list though, probably.
That's why we have fancy editors and shells.
Top
USTruck
Guru
Guru
Posts: 423
Joined: Sun Aug 21, 2005 11:28 pm
Location: La Louviere (Belgique)

  • Quote

Post by USTruck » Sun Jul 18, 2010 8:54 pm

Hello,

First, identify what application are you need's to maintain : qlist -I kde-base

Probably you need kdebase-meta (base for all work's)
Identify list of application depend of meta package : qlist -I kde-base | grep meta
And for each meta package : qdepends -I kdexxxxx-meta (kdebase-meta for ex)

Unmerge kde-meta and all meta package that you not needs.

EMERGE kdebase-meta, all meta package that you needs and all major individual package that you needs (to update your world file)

After that a depclean normaly remove only unneeded application
Top
BitJam
Advocate
Advocate
Posts: 2513
Joined: Tue Aug 12, 2003 4:15 pm
Location: Silver City, NM

  • Quote

Post by BitJam » Sun Jul 18, 2010 8:58 pm

USTruck wrote:EMERGE kdebase-meta, all meta package that you needs and all major individual package that you needs (to update your world file)

After that a depclean normaly remove only unneeded application
Wouldn't an emerge --no-replace (as wjb suggested) be much better here so you don't have to needlessly re-compile a ton of KDE apps and libs?
Top
USTruck
Guru
Guru
Posts: 423
Joined: Sun Aug 21, 2005 11:28 pm
Location: La Louviere (Belgique)

  • Quote

Post by USTruck » Sun Jul 18, 2010 9:07 pm

Exact : This is done by unmerge only META package (all meta are installed by kde-meta)
After that, if you run depclean all libraries and application are un-installed (DO NOT USE IT)

To not re-compile all libs and application, emerge needed meta package and individual application.

--noreplace it's best way yes but some dependencies are not installed (or re-installed if necessary)

emerge -uDN to be sure that all dependencies are installed
Top
Post Reply

14 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic