Re: [gentoo-user] problems with depclean

2019-10-15 Thread John Covici
On Tue, 15 Oct 2019 19:19:45 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Tue, 15 Oct 2019 16:53:10 -0400, John Covici wrote:
> 
> > >  Is @kernels in /var/lib/portage/world_sets?
> > > 
> > > I tested this and I found that the "emerge -n @kernels" did not add
> > > @kernels to /var/lib/portage/world_sets. However, if I manually
> > > edited world_sets and added @kernels then this works as expected.   
> > 
> > Do I just add a line saying @kernels to that file or is there some
> > other syntax?
> 
> Just add @kernels on a line. The format of world_sets is like world,
> except it contains set names rather than package names.

Thanks much.  Now, what about depclean deleting packages where I have
the name in my world file, but no version numbers or anything, it
seems to want to delete what it maybe thinks are older versions even
if the "older" version is the only one installed?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with depclean

2019-10-15 Thread Neil Bothwick
On Tue, 15 Oct 2019 16:53:10 -0400, John Covici wrote:

> >  Is @kernels in /var/lib/portage/world_sets?
> > 
> > I tested this and I found that the "emerge -n @kernels" did not add
> > @kernels to /var/lib/portage/world_sets. However, if I manually
> > edited world_sets and added @kernels then this works as expected.   
> 
> Do I just add a line saying @kernels to that file or is there some
> other syntax?

Just add @kernels on a line. The format of world_sets is like world,
except it contains set names rather than package names.


-- 
Neil Bothwick

New Klingon hair salon: "Today is a good day to dye"


pgp72FCF6RXDG.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] problems with depclean

2019-10-15 Thread Manuel McLure
On Tue, Oct 15, 2019 at 1:54 PM John Covici  wrote:

> Do I just add a line saying @kernels to that file or is there some
> other syntax?
>

I just added a line with "@kernels" to that file.

-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] problems with depclean

2019-10-15 Thread John Covici
On Tue, 15 Oct 2019 14:46:34 -0400,
Manuel McLure wrote:
> 
> [1  ]
> [2  ]
> On Tue, Oct 15, 2019 at 11:05 AM Neil Bothwick  wrote:
> 
>  Is @kernels in /var/lib/portage/world_sets?
> 
> I tested this and I found that the "emerge -n @kernels" did not add @kernels 
> to /var/lib/portage/world_sets. However, if I manually edited world_sets and 
> added @kernels then this works as expected. 

Do I just add a line saying @kernels to that file or is there some
other syntax?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with depclean

2019-10-15 Thread John Covici
On Tue, 15 Oct 2019 14:05:03 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Tue, 15 Oct 2019 09:49:26 -0400, John Covici wrote:
> 
> > > > > Put this in /etc/portage/sets.conf
> > > > > 
> > > > > [kernels]
> > > > > class = portage.sets.dbapi.OwnerSet
> > > > > world-candidate = False
> > > > > files = /usr/src
> > > > > 
> > > > > Then "emerge -n @kernels"
> > > > > 
> > > > > Now depclean won't try to remove any kernels, or any other package
> > > > > that installs files to /usr/src.
> > > > Well, this didn't seem to work, when I tried to emerge -n @kernels
> > > > it said nothing to emerge, after the calculating, etc.   
> > > 
> > > It won't emerge anything, that command adds the kernels set to
> > > world_sets. 
> > > > and it certainly did not work.  
> > > 
> > > As in depclean still wants to remove kernels? Or as in nothing
> > > /appeared/ to happen?  
> > 
> > As in depclean still wants to remove kernels.
> 
> Is @kernels in /var/lib/portage/world_sets?

That file is empty.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with depclean

2019-10-15 Thread Neil Bothwick
On Tue, 15 Oct 2019 14:01:49 -0500, Dale wrote:

> > I tested this and I found that the "emerge -n @kernels" did not add
> > @kernels to /var/lib/portage/world_sets. However, if I manually edited
> > world_sets and added @kernels then this works as expected. 

> Depending on the options used in make.conf for emerge, you may have to
> use the --select y option to force it to be added.  I have -1 set as a
> default in make.conf and when I want something added to the world file,
> I have to use that option to force it.  I did that because I was tired
> of things being added to world that I didn't want there. 

This is the world_sets file. I had asumed that portage would behave in
the same way with sets as atoms, -n is the same as "--select y", but
apparently not.


-- 
Neil Bothwick

Become a gynaecologist, look up a friend today.


pgpPcaL4_w7B4.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] problems with depclean

2019-10-15 Thread Dale
Manuel McLure wrote:
>
>
> On Tue, Oct 15, 2019 at 11:05 AM Neil Bothwick  > wrote:
>
> Is @kernels in /var/lib/portage/world_sets?
>
>
> I tested this and I found that the "emerge -n @kernels" did not add
> @kernels to /var/lib/portage/world_sets. However, if I manually edited
> world_sets and added @kernels then this works as expected. 
> -- 
> Manuel A. McLure WW1FA mailto:man...@mclure.org>>
> 
> ...for in Ulthar, according to an ancient and significant law,
> no man may kill a cat.                       -- H.P. Lovecraft


Depending on the options used in make.conf for emerge, you may have to
use the --select y option to force it to be added.  I have -1 set as a
default in make.conf and when I want something added to the world file,
I have to use that option to force it.  I did that because I was tired
of things being added to world that I didn't want there. 

Hope that helps.

Dale

:-)  :-) 


Re: [gentoo-user] problems with depclean

2019-10-15 Thread Manuel McLure
On Tue, Oct 15, 2019 at 11:05 AM Neil Bothwick  wrote:

> Is @kernels in /var/lib/portage/world_sets?
>

I tested this and I found that the "emerge -n @kernels" did not add
@kernels to /var/lib/portage/world_sets. However, if I manually edited
world_sets and added @kernels then this works as expected.
-- 
Manuel A. McLure WW1FA  
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft


Re: [gentoo-user] problems with depclean

2019-10-15 Thread Neil Bothwick
On Tue, 15 Oct 2019 09:49:26 -0400, John Covici wrote:

> > > > Put this in /etc/portage/sets.conf
> > > > 
> > > > [kernels]
> > > > class = portage.sets.dbapi.OwnerSet
> > > > world-candidate = False
> > > > files = /usr/src
> > > > 
> > > > Then "emerge -n @kernels"
> > > > 
> > > > Now depclean won't try to remove any kernels, or any other package
> > > > that installs files to /usr/src.
> > > Well, this didn't seem to work, when I tried to emerge -n @kernels
> > > it said nothing to emerge, after the calculating, etc.   
> > 
> > It won't emerge anything, that command adds the kernels set to
> > world_sets. 
> > > and it certainly did not work.  
> > 
> > As in depclean still wants to remove kernels? Or as in nothing
> > /appeared/ to happen?  
> 
> As in depclean still wants to remove kernels.

Is @kernels in /var/lib/portage/world_sets?


-- 
Neil Bothwick

For every action, there is an equal and opposite malfunction.


pgp8JQcHQO5zy.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] virtual/pam masked but required by all non-hardened profiles?

2019-10-15 Thread Marc Joliet
Am Montag, 14. Oktober 2019, 17:26:32 CEST schrieb Grant Edwards:
> This morning emerge is complaining that virtual/pam-0-r1 is masked and
> scheduled for removal in 14 days.  But virtual/pam is required by
> sys-apps/shadow which is part of the base profiles.
>
> What am I missing?

FYI: The mask has been reverted, so people should stop seeing this message:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?
id=ab207de832114e7440c93e128b50ff2d58324d6a

(The problem was that the dependency changes I mentioned were in part done
without a corresponding revbump, meaning portage would not pick them up by
itself :-/ .)

Greetings
--
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] problems with depclean

2019-10-15 Thread John Covici
On Tue, 15 Oct 2019 04:13:33 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Tue, 15 Oct 2019 03:55:02 -0400, John Covici wrote:
> 
> > > Put this in /etc/portage/sets.conf
> > > 
> > > [kernels]
> > > class = portage.sets.dbapi.OwnerSet
> > > world-candidate = False
> > > files = /usr/src
> > > 
> > > Then "emerge -n @kernels"
> > > 
> > > Now depclean won't try to remove any kernels, or any other package
> > > that installs files to /usr/src.  
> > Well, this didn't seem to work, when I tried to emerge -n @kernels it
> > said nothing to emerge, after the calculating, etc. 
> 
> It won't emerge anything, that command adds the kernels set to world_sets.
> 
> > and it certainly did not work.
> 
> As in depclean still wants to remove kernels? Or as in nothing /appeared/
> to happen?

As in depclean still wants to remove kernels.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] For all you sudo-happy users out there!

2019-10-15 Thread David Haller
Hello,

On Tue, 15 Oct 2019, Mick wrote:
>I have very limited sudo commands configured, but I better resync to see 
>what's the latest stable sudo on the tree.
>
>https://www.engadget.com/2019/10/14/linux-unix-sudo-command-security-flaw/?
>guccounter=1

Yeah right, that link leads to
https://guce.advertising.com/collectIdentifiers?...

Well not with uMatrix.

-dnh, using sudo only for a few very specific commands for specific users.

-- 
Ellie Linton: Good book?
Corrie Mackenzie: Better than the movie.
Ellie Linton: Yeah, books usually are. 
-- Tomorrow, When the War Began (the movie)



[gentoo-user] For all you sudo-happy users out there!

2019-10-15 Thread Mick
I have very limited sudo commands configured, but I better resync to see 
what's the latest stable sudo on the tree.

https://www.engadget.com/2019/10/14/linux-unix-sudo-command-security-flaw/?
guccounter=1


-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: virtual/pam masked but required by all non-hardened profiles?

2019-10-15 Thread Peter Humphrey
On Monday, 14 October 2019 19:45:49 BST Hartmut Figge wrote:
> William Hubbs:
> >On Mon, Oct 14, 2019 at 07:24:00PM +0200, Hartmut Figge wrote:
> >> Phew. 262 packages will be emerged. Well, that will take some time.
> >
> >Ouch, it sounds like you haven't updated in a while.
> 
> Mhm, ca. 2 times in a month. Using -q -uDN @world. Earlier today i have
> noticed one oddity. After a --depclean a @preserved-rebuild was
> demanded. That resulted in an emerge of gst-plugins-base.

You might like to try a cron job like this:

@monthly /usr/bin/emerge -upDvU --changed-deps=y @world

That runs overnight on the first of the month and emails me a list of packages 
to be updated.

-- 
Regards,
Peter.






Re: [gentoo-user] problems with depclean

2019-10-15 Thread Neil Bothwick
On Tue, 15 Oct 2019 03:55:02 -0400, John Covici wrote:

> > Put this in /etc/portage/sets.conf
> > 
> > [kernels]
> > class = portage.sets.dbapi.OwnerSet
> > world-candidate = False
> > files = /usr/src
> > 
> > Then "emerge -n @kernels"
> > 
> > Now depclean won't try to remove any kernels, or any other package
> > that installs files to /usr/src.  
> Well, this didn't seem to work, when I tried to emerge -n @kernels it
> said nothing to emerge, after the calculating, etc. 

It won't emerge anything, that command adds the kernels set to world_sets.

> and it certainly did not work.

As in depclean still wants to remove kernels? Or as in nothing /appeared/
to happen?


-- 
Neil Bothwick

I am MODERATOR of BORG. Follow the rules or be assimilated.


pgppUciJ5WUBJ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] problems with depclean

2019-10-15 Thread John Covici
On Mon, 14 Oct 2019 04:03:53 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Mon, 14 Oct 2019 03:21:52 -0400, John Covici wrote:
> 
> > Thanks, I do need the current sources, lots of packages want to check
> > them and the linux directory entry points to the sources, packages are
> > always looking in there when I emerge them.
> 
> Put this in /etc/portage/sets.conf
> 
> [kernels]
> class = portage.sets.dbapi.OwnerSet
> world-candidate = False
> files = /usr/src
> 
> Then "emerge -n @kernels"
> 
> Now depclean won't try to remove any kernels, or any other package that
> installs files to /usr/src.
Well, this didn't seem to work, when I tried to emerge -n @kernels it
said nothing to emerge, after the calculating, etc. and it certainly
did not work.  Also, depclean did some other strange things -- on
another system I have it wanted to unmerge dev-util/glib-utils-2.58.3
which is my installed version, but doing an eix on that package, there
seems to be an update.  However, doing a world update says 0
packages, so what am I missing?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com