On Tue, 22 Sep 2015 17:35:10 +0000 (UTC), James wrote:

> > I take a different approach, I have a set called temp in my
> > world_sets. If I want to try something out, I "echo cat/pkg
> > >>/etc/portage/sets/temp" then I can try it and keep it updated
> > >>during the trial and not have to
> > worry about its deps. All I need to do is look at the temp file from
> > time to time and remove anything I no longer want, then it gets
> > depcleaned along with its dependencies.  
> 
> That's a good approach. But, what I'm looking for could be a general
> purpose tool for *all* of the gentoo community to parse and identify
> packages that are not being updated or at lease fall into the orphan
> category. One common case is those packages installed (-1). I'd venture
> to guess from time to time that most gentoo users have packages
> installed that are not dependencies for any other packages. Often is it
> by accident or extreme manual cleansing events (like the recent ncurses
> episode) that folks stumble across these orphaned packages.   I just
> think a tool or option in an existing tool does/should cover that
> scenario. It is a routine need, imho.

That's exactly what depclean is for, to find any packages that are not
dependencies of the installed sets.

> That said are there any make.conf mods need to use sets like this,
> or just create the dir and and use your command line string?

That's all you do. Any file in /etc/portage/sets containing a list of
atoms is taken to be a set definition.

> I might not use it permanently the way you do, but I can see putting
> a collection of (-1) packages into a set, for organizational structure.
> With clustering now infecting my gentoo world, I'll need a master by
> architecture, logically organized collection of "sets" to cover the
> myriad of node set-ups. Each system will most likely have a different
> installation of these sets. And the cluster is now moving to a
> multi-arch setup with aarch64.

I use sets like that too. I have one called base that I installed at the
chroot stage of installation, containing various essential and useful
packages - such as portage-utils, conf-update and eix. Then sets called
desktop and laptop - sets can contain other sets so when installing my
new laptop I only have to "emerge -u @laptop".


-- 
Neil Bothwick

Energizer Bunny arrested, charged with battery :)

Attachment: pgpgCipU1DSce.pgp
Description: OpenPGP digital signature

Reply via email to