Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Portage/Unmask
< Portage
Jump to navigation
Jump to search
Revision as of 20:00, September 23, 2014 by Jubalh (talk | contribs) (Created page with "Packages get masked for several reasons. Portage uses Portage_Profiles, which are used to define basic system settings. Masking of packages also happens on a profile basi...")
Packages get masked for several reasons.
Portage uses Portage_Profiles, which are used to define basic system settings. Masking of packages also happens on a profile basis.
You can look at /usr/portage/profiles/package.mask/profile for example:
/usr/portage/profiles/package.mask/00-gentoo
# Dev E. Loper <developer@gentoo.org> (28 Jun 2012)
# Masking these versions until we can get the
# v4l stuff to work properly again
=media-video/mplayer-0.90_pre5
=media-video/mplayer-0.90_pre5-r1
First you see how added the mask, then an explanation why it was added followed by the masked package including version.
Now if you want to unmask one of those packages you have several possibilities to do so.
- Let emerge do it for you
root # emerge --ask --autounmask-write =virtual/package-0.1.2 root # dispatch-conf root # emerge --ask =virtual/package-0.1.2
- doing it manually
root # mkdir -p /etc/portage root # cd /etc/portage root # echo "=virtual/package-0.1.2" >> /etc/portage/package.unmask