Eu verifiquei, usando meu prático chroot jessie (para evitar experimentos no meu sistema principal, também jessie), que instalar o padrão jessie virtualbox
package ( 4.3.36-dfsg-1+deb8u1
) realmente inclui pacotes gcc 4.8, como segue. / p>
apt-get install virtualbox
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
cpp-4.8 dkms gcc-4.8 kmod libasan0 libgcc-4.8-dev libgsoap5 libvncserver0 linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-4-amd64
linux-headers-3.16.0-4-common linux-headers-amd64 linux-kbuild-3.16 virtualbox-dkms virtualbox-qt
Suggested packages:
gcc-4.8-locales gcc-4.8-multilib gcc-4.8-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg libquadmath0-dbg vde2
virtualbox-guest-additions-iso
Recommended packages:
linux-image
The following NEW packages will be installed:
cpp-4.8 dkms gcc-4.8 kmod libasan0 libgcc-4.8-dev libgsoap5 libvncserver0 linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-4-amd64
linux-headers-3.16.0-4-common linux-headers-amd64 linux-kbuild-3.16 virtualbox virtualbox-dkms virtualbox-qt
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 35.9 MB of archives.
After this operation, 149 MB of additional disk space will be used.
Isso é inofensivo. No entanto, , o pacote jessie virtualbox padrão é a versão 4.3, que é bastante antiga. Você deve usar o pacote jessie backport 5.0 virtualbox
. Se você adicionar
deb http://httpredir.debian.org/debian/ jessie-backports main contrib non-free
para o seu /etc/apt/sources.list
, e execute apt-get update
, você pode instalar o pacote jessie backports virtualbox 5.0 com o comando
apt-get install -t jessie-backports virtualbox
A instalação do pacote jessie backports 5.0 virtualbox irá não instalar o gcc 4.8.
Para referência, nota com backports jessie adicionados, os pacotes de caixa virtual disponíveis são:
apt-cache policy virtualbox
virtualbox:
Installed: 5.0.14-dfsg-1~bpo8+1
Candidate: 5.0.14-dfsg-1~bpo8+1
Version table:
5.0.16-dfsg-2 0
50 http://httpredir.debian.org/debian/ unstable/contrib amd64 Packages
*** 5.0.14-dfsg-1~bpo8+1 0
100 http://httpredir.debian.org/debian/ jessie-backports/contrib amd64 Packages
100 /var/lib/dpkg/status
4.3.36-dfsg-1+deb8u1 0
500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
4.3.32-dfsg-1+deb8u2 0
500 http://httpredir.debian.org/debian/ jessie/contrib amd64 Packages