Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Portage/Unmask"
< Portage
Jump to navigation
Jump to search
(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...") |
Threesixes (talk | contribs) m |
||
Line 24: | Line 24: | ||
</console> | </console> | ||
* doing it manually | * doing it manually for a specific version | ||
<console> | <console> | ||
###i## mkdir -p /etc/portage | ###i## mkdir -p /etc/portage | ||
###i## cd /etc/portage | ###i## cd /etc/portage | ||
###i## echo "=virtual/package-0.1.2" >> /etc/portage/package.unmask | ###i## echo "=virtual/package-0.1.2" >> /etc/portage/package.unmask | ||
</console> | |||
* manually for all versions | |||
<console> | |||
###i## echo "virtual/package" >> /etc/portage/package.unmask | |||
</console> | </console> |
Revision as of 20:34, September 23, 2014
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 for a specific version
root # mkdir -p /etc/portage root # cd /etc/portage root # echo "=virtual/package-0.1.2" >> /etc/portage/package.unmask
- manually for all versions
root # echo "virtual/package" >> /etc/portage/package.unmask