Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63926 - Enhancement for "emerge unmerge"
Summary: Enhancement for "emerge unmerge"
Status: VERIFIED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL: http://www.thedarkproject.de?page=pro...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 13:15 UTC by Stefan Torkel
Modified: 2007-01-12 06:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cunmergelist ebuild (cunmergelist.tar.bz2,1.74 KB, application/octet-stream)
2004-09-13 20:59 UTC, Stefan Torkel
Details
cunmergelist ebuild (cunmergelist.tar.bz2,1.76 KB, application/octet-stream)
2004-09-14 05:33 UTC, Stefan Torkel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Torkel 2004-09-13 13:15:06 UTC
I wrote a script that remembers the package with all deps that you've emerged and creates a unmerge from this list.

So you can unmerge the package with all deps. This makes sense for updating KDE for example.

I hope it's possible to see it in the portage tree?

Reproducible: Always
Steps to Reproduce:
Comment 1 Stefan Torkel 2004-09-13 20:59:07 UTC
Created attachment 39548 [details]
cunmergelist ebuild
Comment 2 Stefan Torkel 2004-09-14 05:32:40 UTC
Comment on attachment 39548 [details]
cunmergelist ebuild

Old one. Use the new one instead.
Comment 3 Stefan Torkel 2004-09-14 05:33:27 UTC
Created attachment 39565 [details]
cunmergelist ebuild
Comment 4 Matteo Settenvini 2004-09-20 01:30:32 UTC
Stefan, do you think it could be useful to add an option to limit this behaviour to a specific category? Is it to difficult to add?

as it could be:

cunmergelist -u kde --limit-to kde-base kde-i18n ...

or with a wildcard:

cunmergelist -u kde --limit-to kde-*

PS: I think that a patch for portage with a new option like "emerge unmerge pkgname --with-immediate-deps" could be more interesting than a standalone script, but before doing it, it would be better to ask some dev if (s)he is interested in it or if it's just a waste of time to implement.
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-07-28 07:24:45 UTC
Putting a hold on feature requests for portage as they are drowning out the 
bugs. Most of these features should be available in the next major version of 
portage. But for the time being, they are just drowning out the major bugs and 
delaying the next version's progress. 
 
Any bugs that contain patches and any bugs for etc-update or dispatch-conf can 
be reopened. Sorry, I'm just not good enough with bugzilla. ;) 
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 13:48:26 UTC
Closing due to old age (won't work with portage-2.1 and is quite insecure)
Comment 7 Zac Medico gentoo-dev 2007-01-12 06:31:00 UTC
This seems like a combination of --unmerge and --depclean.  The --depclean support has greatly improved in portage-2.1.1 relative to previous versions, and it's even better in 2.1.2.  I'd suggest to simply use --depclean after --unmerge.