This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
/etc/portage/package.mask
From Gentoo Wiki (test)
Jump to:navigation
Jump to:search
/etc/portage/package.mask is a file, or a directory of files, controlled by the system administrator that can be used to prevent certain packages from being installed.
Format
- One DEPEND atom per line; comment lines begin with a
#
(hash). - For DEPEND atom syntax, see version specifier.
Example
FILE
/etc/portage/package.mask
package.mask example# Mask beta versions greater than 1.97 of powertop since they have less features >=sys-power/powertop-1.97 # Prevent MySQL from being installed by masking the package (use MariaDB) dev-db/mysql # Want to go without Java 7; mask JDK and JRE that use Java 7. virtual/jdk:1.7 virtual/jre:1.7