On 14.02.2017 16:09, Harry Putnam wrote:
> Setup:
>
>    Installing X on Vbox vm runnning gentoo (amd64 not strict).  Host
>    is win10 (64bit)
>
> Installing the xorg-server is calling for the installation of
> app-emulation/virtualbox-guest-additions-5.0.32
>
> However, my version of vbox is for a windows host (5.1.14).  And
> actually has the guest additions for that version already installed.
>
> Also before I noticed what was getting installed emerge had tried and
> failed to install the cited above package.
>
> I noticed the version that matches my vbox version (5.1.14) is
> available but masked unless setting ~amd64.  I'm trying for a stable
> setup so, put this in /etc/portage/package.accept_keywords:
>
>   =app-emulation/virtualbox-guest-additions-5.1.14 ~amd64
>
> I tried to emerge it directly with:
>    emerge app-emulation/virtualbox-guest-additions
>
> And sure enough emerge selected the right version but again the
> install failed.  I did not understand the failure from the build log.
>
> But since I have the proper version and am able to install it with the
> regular method vbox expects (mount the additions and install with
>
>  sh VBoxLinuxAdditions.run
>
> And since that method uses the currently installed kernel for its
> installation. Seems I can just reinstall the addtions using that
> method and tell gentoo about it with package.provided.
>
> Ok, `man portage' does not appear to mention where that file should
> reside.  Googling about it I find /etc/portage/profile is mentioned.
> Is that still correct?
>
> I ask because I put /etc/portage/profile/package.provided:
>
>      =app-emulation/virtualbox-guest-additions-5.0.32
>
> (removed the prior /etc/portage/package.accept_keywords/
>  virtualbox-guest-additions:
>     =app-emulation/virtualbox-guest-additions-5.1.14 ~amd64)
>
> in place, but emerge still tries to install it so, either the syntax
> if faulty or the location is, I guess.
>
> I moved package.provided to /etc/portage/package.provided but still
> emerge trys to install the guest-additions.
>
> Can anyone offer suggestions about this... is it even the right way to
> proceed?
>
>

Hello!

I have portage-2.3.3 installed and in my portage manpage it is mentioned:

The file shall reside in etc/(make.profile|portage/(make.)?profile) and
the syntax is
<category>/<name>-<version> without the '=' in the front.

Greetz

Johannes


Reply via email to