Forums

Skip to content

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

Package.Keywords Management [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
HeXiLeD
Veteran
Veteran
User avatar
Posts: 1160
Joined: Sat Aug 20, 2005 5:41 pm
Location: Online

Package.Keywords Management [SOLVED]

  • Quote

Post by HeXiLeD » Tue Nov 10, 2009 8:16 pm

Q:

Is there an easy way to auto manage or have any sort of information about obsolete added to /etc/portage/package.keywords ?

For example those like me who prefer to run only a "stable" package built OS but occasionally have to add some needed package to package.keywords.

example:

Code: Select all

=media-sound/linuxsampler-0.4.0 ~amd64
=media-libs/liblscp-0.3.3 ~amd64
=media-libs/libgig-3.1.1 ~amd64
=media-sound/djplay-0.5.0 ~amd64
=media-libs/libdjconsole-0.1.2 ~amd64
=net-im/silc-plugin-1.1.2-r1 ~amd64
=net-wireless/ndiswrapper-1.53-r1 ~amd64
=app-cdr/isomaster-1.3.3 ~amd64
by adding = behind the package name, portage will ensure that the update will only be done up to that "unstable" package allowing future package stable upgrades to be performed.

However the only way we have to confirm in time if the latest update is now marked "stable" is by performing emerge -s <package> or -pv <package> and then manually remove it from package.keywords.

This is not an "issue" but in time package.keywords will grow and we lose track of what is now stable ot not.

I know that a while ago there was some method to facilitate the verification and possible removal of outdated entries from package.keywords; but i lost track of it.

Anyone has a good method to deal with this situation ?
Last edited by HeXiLeD on Wed Nov 11, 2009 5:19 am, edited 1 time in total.
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Top
forkboy
Apprentice
Apprentice
User avatar
Posts: 200
Joined: Wed Nov 24, 2004 5:32 pm
Location: Blackpool, UK

  • Quote

Post by forkboy » Tue Nov 10, 2009 8:47 pm

I use app-portage/portpeek
Top
mv
Watchman
Watchman
User avatar
Posts: 6795
Joined: Wed Apr 20, 2005 12:12 pm

  • Quote

Post by mv » Tue Nov 10, 2009 8:52 pm

eix-test-obsolete
Top
HeXiLeD
Veteran
Veteran
User avatar
Posts: 1160
Joined: Sat Aug 20, 2005 5:41 pm
Location: Online

  • Quote

Post by HeXiLeD » Wed Nov 11, 2009 5:19 am

Simply loved this one:

Code: Select all

*  app-portage/portpeek
      Latest version available: 1.5.7.2
      Latest version installed: 1.5.7.2
      Size of files: 6 kB
      Homepage:      http://www.mpagano.com/blog/?page_id=3
      Description:   A helper program for maintaining the package.keyword and package.unmask files
      License:       GPL-2
# portpeek -h

Code: Select all

Usage: portpeek command
       portpeek [ options ] command
       portpeek [-c] [akmu]
       portpeek [-r] [akmu]
       portpeek [-f] [akmu]
       portpeek [-F] [akmu]
 command  can be
 -a, --all              - show all matches
 -k, --keyword          - show matches from package.keyword only
 -m, --mask             - show matches from package.mask only
 -u, --unmask           - show matched from package.unmask only
 -f, --fix              - will remove the stabled packages without asking for confirmation
 -h, --help             - display this message
 -d, --debug            - display more verbose output for debugging
 -V, --version          - display version info
options are
 -c, --changes-only     - show all matches that have upgrade option, use with < k | u | m | a >
 -r, --removable-only   - show all matches that can be removed from package files, use with < k | u | m | a >

Problem is [SOLVED]
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Top
Post Reply

4 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