1 |
On 14.02.2017 16:09, Harry Putnam wrote: |
2 |
> Setup: |
3 |
> |
4 |
> Installing X on Vbox vm runnning gentoo (amd64 not strict). Host |
5 |
> is win10 (64bit) |
6 |
> |
7 |
> Installing the xorg-server is calling for the installation of |
8 |
> app-emulation/virtualbox-guest-additions-5.0.32 |
9 |
> |
10 |
> However, my version of vbox is for a windows host (5.1.14). And |
11 |
> actually has the guest additions for that version already installed. |
12 |
> |
13 |
> Also before I noticed what was getting installed emerge had tried and |
14 |
> failed to install the cited above package. |
15 |
> |
16 |
> I noticed the version that matches my vbox version (5.1.14) is |
17 |
> available but masked unless setting ~amd64. I'm trying for a stable |
18 |
> setup so, put this in /etc/portage/package.accept_keywords: |
19 |
> |
20 |
> =app-emulation/virtualbox-guest-additions-5.1.14 ~amd64 |
21 |
> |
22 |
> I tried to emerge it directly with: |
23 |
> emerge app-emulation/virtualbox-guest-additions |
24 |
> |
25 |
> And sure enough emerge selected the right version but again the |
26 |
> install failed. I did not understand the failure from the build log. |
27 |
> |
28 |
> But since I have the proper version and am able to install it with the |
29 |
> regular method vbox expects (mount the additions and install with |
30 |
> |
31 |
> sh VBoxLinuxAdditions.run |
32 |
> |
33 |
> And since that method uses the currently installed kernel for its |
34 |
> installation. Seems I can just reinstall the addtions using that |
35 |
> method and tell gentoo about it with package.provided. |
36 |
> |
37 |
> Ok, `man portage' does not appear to mention where that file should |
38 |
> reside. Googling about it I find /etc/portage/profile is mentioned. |
39 |
> Is that still correct? |
40 |
> |
41 |
> I ask because I put /etc/portage/profile/package.provided: |
42 |
> |
43 |
> =app-emulation/virtualbox-guest-additions-5.0.32 |
44 |
> |
45 |
> (removed the prior /etc/portage/package.accept_keywords/ |
46 |
> virtualbox-guest-additions: |
47 |
> =app-emulation/virtualbox-guest-additions-5.1.14 ~amd64) |
48 |
> |
49 |
> in place, but emerge still tries to install it so, either the syntax |
50 |
> if faulty or the location is, I guess. |
51 |
> |
52 |
> I moved package.provided to /etc/portage/package.provided but still |
53 |
> emerge trys to install the guest-additions. |
54 |
> |
55 |
> Can anyone offer suggestions about this... is it even the right way to |
56 |
> proceed? |
57 |
> |
58 |
> |
59 |
|
60 |
Hello! |
61 |
|
62 |
I have portage-2.3.3 installed and in my portage manpage it is mentioned: |
63 |
|
64 |
The file shall reside in etc/(make.profile|portage/(make.)?profile) and |
65 |
the syntax is |
66 |
<category>/<name>-<version> without the '=' in the front. |
67 |
|
68 |
Greetz |
69 |
|
70 |
Johannes |