Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

Dirty package.use




When using funtoo, regularly doing update/upgrade,

sometimes I have messages about modifying /etc/portage/package.use.

At this time my package.use contain (too) many changes like this


# required by dev-lang/ruby-2.4.0::gentoo
# required by dev-ruby/rdoc-5.0.0-r3::gentoo[ruby_targets_ruby24]
# required by dev-lang/ruby-2.1.10::gentoo[rdoc]
# required by dev-ruby/kpeg-1.1.0::gentoo[ruby_targets_ruby21]
>=dev-ruby/test-unit-3.2.3 ruby_targets_ruby24

# required by x11-libs/qwtpolar-1.1.1-r1::gentoo[qt4]
# required by sci-geosciences/qgis-2.18.3-r1::gentoo
>=x11-libs/qwt-6.1.3-r1 qt4 designer

# required by app-office/libreoffice-
# required by app-office/libreoffice (argument)
>=dev-libs/xmlsec-1.2.24-r1 nss


The question is:

How to know when it is the time to remove the lines (the forced change)?


Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

this is not intuitive to users, the time you can remove the uses can be the time those uses are no longer present in ebuilds or you don't need them. the first case can be determined when portage will give you a following message during emerge -auDN 

app-foo/bar (-use%), that means this use is no longer present (removed)

personally i trying to avoid using package.use too much and rely on what is enabled by default in profiles.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...