Adições de convidados do VirtualBox para Solaris

0
sudo pkg install VBoxSolarisAdditions.pkg
pkg install: The following pattern(s) did not match any allowable packages.  Try using a different matching pattern, or refreshing publisher information:
sudo pkg install ./VBoxSolarisAdditions.pkg  
pkg install: Illegal FMRI './VBoxSolarisAdditions.pkg': Invalid Package Name: ./VBoxSolarisAdditions.pkg 
sudo pkg set-publisher -p /media/VBOXADDITIONS_4.3.38_106717/   
pkg set-publisher: file protocol error: code: 22 reason: The path '/media/VBOXADDITIONS_4.3.38_106717' does not contain a valid package repository. Repository URL: 'file:///media/VBOXADDITIONS_4.3.38_106717'. 
sudo pkg set-publisher -p /media/VBOXADDITIONS_4.3.38_106717/VBoxSolarisAdditions.pkg 
pkg set-publisher: file protocol error: code: 22 reason: Archive /media/VBOXADDITIONS_4.3.38_106717/VBoxSolarisAdditions.pkg is missing, unsupported, or corrupt. Repository URL: 'file:///media/VBOXADDITIONS_4.3.38_106717/VBoxSolarisAdditions.pkg'.

Estou fazendo algo errado?

    
por Igor 12.03.2017 / 14:37

2 respostas

3

De manual on-line do VirtualBox :

4.2.3.1. Installing the Solaris Guest Additions

The VirtualBox Guest Additions for Solaris are provided on the same ISO CD-ROM as the Additions for Windows and Linux described above. They also come with an installation program guiding you through the setup process.

Installation involves the following steps:

  1. Mount the VBoxGuestAdditions.iso file as your Solaris guest's virtual CD-ROM drive, exactly the same way as described for a Windows guest in Section 4.2.1.1, “Installation”.

    If in case the CD-ROM drive on the guest doesn't get mounted (observed on some versions of Solaris 10), execute as root:

    svcadm restart volfs

  2. Change to the directory where your CD-ROM drive is mounted and execute as root:

    pkgadd -G -d ./VBoxSolarisAdditions.pkg

  3. Choose "1" and confirm installation of the Guest Additions package. After the installation is complete, re-login to X server on your guest to activate the X11 Guest Additions.

    
por 12.03.2017 / 15:17
2

Am I doing something wrong?

Sim. Você está tentando usar o novo comando de pacote do Solaris 11 IPS ( pkg ) enquanto o pacote de adições de convidados do VirtualBox é criado para o Solaris 11 e o Solaris 10, portanto, está usando o formato de empacotamento e o comando legados do SVR4 pkgadd que é suportado pelos dois lançamentos.

    
por 12.03.2017 / 15:51