- $ su
- # eix-sync
- # emerge --tree --ask --verbose virtualbox-ose
These are the packages that would be merged, in reverse order:The solution is to add the PUEL license to the /etc/portage/package.license file:
Calculating dependencies... done!
!!! All ebuilds that could satisfy "~app-emulation/virtualbox-ose-additions-3.1.4" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-emulation/virtualbox-ose-additions-3.1.4 (masked by: PUEL license(s))
A copy of the 'PUEL' license is located at '/usr/portage/licenses/PUEL'.
(dependency required by "app-emulation/virtualbox-ose-3.1.4" [ebuild])
(dependency required by "virtualbox-ose" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
- # echo "app-emulation/virtualbox-ose-additions PUEL" >> /etc/portage/package.license
- # echo "app-emulation/virtualbox-ose PUEL" >> /etc/portage/package.license
As a side note you can also use /etc/make.conf and make use of the ACCEPT_LICENSE variable. For instances adding ACCEPT_LICENSE="*" to /etc/make.conf unmasks all licenses. Alternatively you can unmask licenses one by one.
More information can be obtained reading make.conf and portage's man pages.