Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] checking necessity of package.accept_keywords entrs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
equaeghe
l33t
l33t


Joined: 22 Feb 2005
Posts: 637

PostPosted: Sun May 08, 2016 7:46 pm    Post subject: [solved] checking necessity of package.accept_keywords entrs Reply with quote

Over time, my package.accept_keywords files accumulate entries that are obsolete in the sense that the corresponding ebuilds, or newer versions thereof, have been stabilized. How do I check for this, without manually doing, e.g., an eix -I <package name> for each entry?

Last edited by equaeghe on Mon May 09, 2016 8:46 am; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sun May 08, 2016 8:00 pm    Post subject: Reply with quote

Try app-portage/portpeek, it scans through your files in /etc/portage/package* and compares each package atom with installed package version. It can remove outdated entries right away, but I'd recommend to always carefully review the resulting list before applying changes.
Back to top
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 260

PostPosted: Sun May 08, 2016 9:39 pm    Post subject: Re: checking necessity of package.accept_keywords entries Reply with quote

equaeghe wrote:
Over time, my package.accept_keywords files accumulate entries that are obsolete in the sense that the corresponding ebuilds, or newer versions thereof, have been stabilized. How do I check for this, without manually doing, e.g., an eix -I <package name> for each entry?

Have you tried running eix-test-obsolete? It may not catch everything, but should be a good starting point.
Back to top
View user's profile Send private message
equaeghe
l33t
l33t


Joined: 22 Feb 2005
Posts: 637

PostPosted: Mon May 09, 2016 8:46 am    Post subject: Reply with quote

genstorm wrote:
Try app-portage/portpeek, it scans through your files in /etc/portage/package* and compares each package atom with installed package version.

Thanks! That works quite nicely.

kurly wrote:
Have you tried running eix-test-obsolete?

Oh, I missed that eix functionality. Thanks for pointing it out!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum