On Jo, 15 mai 14, 08:43:01, Gary Roach wrote: > Hi All > > I have given up on Wine for running some of my Windoz only software. Too > many glitches. I am trying to install Virtualbox and am getting installation > errors as follows: > > root@supercrunch:/home/gary# aptitude install virtualbox > The following NEW packages will be installed: > dkms{a} libgsoap2{a} linux-headers-3.2.0-4-686-pae{a} > linux-headers-3.2.0-4-common{a} > linux-headers-686-pae{a} linux-kbuild-3.2{a} virtualbox virtualbox-dkms{a} > virtualbox-qt{a} ... > Unpacking libgsoap2 (from .../libgsoap2_2.8.7-2_i386.deb) ... ... > Unpacking virtualbox (from .../virtualbox_4.1.18-dfsg-2+deb7u3_i386.deb) ... ... > Unpacking dkms (from .../dkms_2.2.0.3-1.2_all.deb) ... ... > Unpacking virtualbox-dkms (from > .../virtualbox-dkms_4.1.18-dfsg-2+deb7u3_all.deb) ... ... > Unpacking virtualbox-qt (from > .../virtualbox-qt_4.1.18-dfsg-2+deb7u3_i386.deb) ... ... > Unpacking linux-headers-3.2.0-4-common (from > .../linux-headers-3.2.0-4-common_3.2.57-3+deb7u1_i386.deb) ... ... > Unpacking linux-kbuild-3.2 (from .../linux-kbuild-3.2_3.2.17-1_i386.deb) ... ... > Unpacking linux-headers-3.2.0-4-686-pae (from > .../linux-headers-3.2.0-4-686-pae_3.2.57-3+deb7u1_i386.deb) ... ... > Unpacking linux-headers-686-pae (from > .../linux-headers-686-pae_3.2+46_i386.deb) ...
Well, aptitude certainly thinks your preferred architecture is i386 (see the package names). Even if this is correct ('dpkg --print-architecture' will tell), apt/itude is not smart enough to choose the correct linux-headers- package based on the linux-image- package you have installed. Normally I would suggest you just install the -amd64 header package, but... > Note: I am running an Intel i5-750 processor and Wheezy with uname -a > giving: Linux supercrunch 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 > GNU/Linux [...] > I'm obviously using the standard Debian packaging system for installation > and the recommended additional installation packages are being installed, > but the headers that are being installed are for a 32 bit processor while I > have a 64 bit installation. Could that be the problem. So what am I doing > wrong. ... if you are running the -amd64 (64 bit) kernel on an i386 (32 bit) installation virtualbox will not work, even if the module will compile. You can either install and boot -686-pae kernel whenever you need virtualbox or you re-install to amd64. If you're adventurous you could try the virtualbox:amd64 package as others suggested. I'd be interested myself if it works. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt
signature.asc
Description: Digital signature