Ne mogu da instaliram Virtualbox

Pozdrav,

imao sam virutalbox vec instaliran i radio je koliko se secam. Skoro mi je zatrebao i pokusao sam da ga pokrenem ali nisam uspeo. Tacnije, on krene da radi ali tamo kod koraka za dodelu memorije virtelnoj masini nije hteo da se makne. Koliko se secam radio je fino dok sam imao stari debian kernel 3.2. Verovatno instalacijom ovog novog sam nesto uspeo da pokvarim.

Evo loga pri instalaciji: http://paste.debian.net/127455/

ovo me cudi

[email protected]:~$ locate virtualbox
/home/tadija/.icons/Faenza/apps/16/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/16/virtualbox.png
/home/tadija/.icons/Faenza/apps/22/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/22/virtualbox.png
/home/tadija/.icons/Faenza/apps/24/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/24/virtualbox.png
/home/tadija/.icons/Faenza/apps/32/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/32/virtualbox.png
/home/tadija/.icons/Faenza/apps/48/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/48/virtualbox.png
/home/tadija/.icons/Faenza/apps/64/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/64/virtualbox.png
/home/tadija/.icons/Faenza/apps/96/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/96/virtualbox.png
/home/tadija/.icons/Faenza/apps/scalable/virtualbox-ose.svg
/home/tadija/.icons/Faenza/apps/scalable/virtualbox.svg
/opt/metasploit-framework/scripts/meterpreter/virtualbox_sysenter_dos.rb
/usr/share/doc/virtualbox-guest-additions
/usr/share/doc/virtualbox-guest-additions-iso
/usr/share/doc/virtualbox-guest-additions-iso/changelog.Debian.gz
/usr/share/doc/virtualbox-guest-additions-iso/copyright
/usr/share/doc/virtualbox-guest-additions/changelog.Debian.gz
/usr/share/doc/virtualbox-guest-additions/copyright
/usr/share/virtualbox
/usr/share/virtualbox/VBoxGuestAdditions.iso
/var/cache/apt/archives/virtualbox-dkms_4.1.18-dfsg-2+deb7u3_all.deb
/var/cache/apt/archives/virtualbox-guest-additions-iso_4.1.18-1_all.deb
/var/cache/apt/archives/virtualbox-guest-additions_4.1.18-1_all.deb
/var/cache/apt/archives/virtualbox-ose-dkms_4.1.18-dfsg-2+deb7u3_all.deb
/var/cache/apt/archives/virtualbox-qt_4.1.18-dfsg-2+deb7u3_amd64.deb
/var/cache/apt/archives/virtualbox_4.1.18-dfsg-2+deb7u3_amd64.deb
/var/lib/dpkg/info/virtualbox-4.3.list
/var/lib/dpkg/info/virtualbox-4.3.postrm
/var/lib/dpkg/info/virtualbox-guest-additions-iso.list
/var/lib/dpkg/info/virtualbox-guest-additions-iso.md5sums
/var/lib/dpkg/info/virtualbox-guest-additions.list
/var/lib/dpkg/info/virtualbox-guest-additions.md5sums
[email protected]:~$

i ovo

[email protected]:~$ whereis virtualbox
virtualbox: /usr/lib/virtualbox /usr/share/virtualbox
[email protected]:~$

[email protected]:/usr/lib/virtualbox$ ls
components              VBoxGuestPropSvc.so     VBoxSDL.so
libvboxjxpcom.so        VBoxHeadless            VBoxSharedClipboard.so
sdk                     VBoxHeadless.so         VBoxSharedCrOpenGL.so
VBoxAuthSimple.so       VBoxKeyboard.so         VBoxSharedFolders.so
VBoxAuth.so             VBoxManage              vboxshell.py
VBoxDD2GC.gc            VBoxNetAdpCtl           vboxshell.pyc
VBoxDD2R0.r0            VBoxNetDHCP             VBoxSVC
VBoxDD2.so              VBoxNetDHCP.so          VBoxTestOGL
VBoxDDGC.gc             VBoxOGLhostcrutil.so    VBoxVMM.so
VBoxDDR0.r0             VBoxOGLhosterrorspu.so  vboxwebsrv
VBoxDD.so               VBoxOGLrenderspu.so     VBoxXPCOMC.so
VBoxDDU.so              VBoxPython2_7.so        VBoxXPCOMIPCD
VBoxEFI32.fd            VBoxPython.so           VBoxXPCOM.so
VBoxEFI64.fd            VBoxREM.so              VMMGC.gc
VBoxExtPackHelperApp    VBoxRT.so               VMMR0.r0
VBoxGuestControlSvc.so  VBoxSDL                 webtest
[email protected]:/usr/lib/virtualbox$ 

nema binary file-a koji mogu da pokrenem, bio je /usr/lib/virtualbox a to je sad folder.

Uradio sam sudo apt-get --purge remove virtualbox pa ako neko zna kako da pravilno instaliram ovo cudo neka pomaze :slight_smile:

Čini se da je problem do crunchbang repoa…iz loga na pastebin se vidi da je za dkms povukao kernel hedere iz backportsa, a verzija vboxa (4.1.18) je dosta matora, čak i za wheezy

Ja bih probao sledeće, pored --purge koji si već odradio:

  1. obriši ručno sve foldere koji pripadaju vboxu
  2. sudo apt-get clean && sudo apt-get autoclean
  3. probaj ponovo instalaciju iz crunch-repoa, a ne bi bilo loše i da preneseš ovde šta sve imaš u sources.list od repoa

Dragane hvala na odgovoru.

Obrisao sam sve, kao sto si mi predlozio. Ostale su samo ikonice:

/home/tadija/.icons/Faenza/apps/16/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/16/virtualbox.png
/home/tadija/.icons/Faenza/apps/22/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/22/virtualbox.png
/home/tadija/.icons/Faenza/apps/24/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/24/virtualbox.png
/home/tadija/.icons/Faenza/apps/32/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/32/virtualbox.png
/home/tadija/.icons/Faenza/apps/48/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/48/virtualbox.png
/home/tadija/.icons/Faenza/apps/64/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/64/virtualbox.png
/home/tadija/.icons/Faenza/apps/96/virtualbox-ose.png
/home/tadija/.icons/Faenza/apps/96/virtualbox.png
/home/tadija/.icons/Faenza/apps/scalable/virtualbox-ose.svg
/home/tadija/.icons/Faenza/apps/scalable/virtualbox.svg

Uradio sam sudo apt-get clean && sudo apt-get autoclean. Probao sam juce da instaliram iz backports-a ali nije mi bas poslo za rukom.
Posle svih komandi koje si predlozio, lupio sam install virtualbox i dobio sledece:

[email protected]:~$ sudo apt-get install virtualbox
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libgsoap2 libvncserver0 virtualbox-dkms
Suggested packages:
  libvncserver0-dbg vde2
Recommended packages:
  virtualbox-qt libqt4-opengl
The following NEW packages will be installed:
  libgsoap2 libvncserver0 virtualbox virtualbox-dkms
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.1 MB of archives.
After this operation, 51.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://http.debian.net/debian/ wheezy/main libvncserver0 amd64 0.9.9+dfsg-1 [276 kB]
Get:2 http://http.debian.net/debian/ wheezy/main libgsoap2 amd64 2.8.7-2 [533 kB]
Get:3 http://http.debian.net/debian/ wheezy/main virtualbox amd64 4.1.18-dfsg-2+deb7u3 [12.8 MB]
Get:4 http://http.debian.net/debian/ wheezy/main virtualbox-dkms all 4.1.18-dfsg-2+deb7u3 [497 kB]
Fetched 14.1 MB in 48s (290 kB/s)                                             
Selecting previously unselected package libvncserver0:amd64.
dpkg: warning: files list file for package 'virtualbox-guest-additions-iso' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'virtualbox-guest-additions' missing; assuming package has no files currently installed
(Reading database ... 197943 files and directories currently installed.)
Unpacking libvncserver0:amd64 (from .../libvncserver0_0.9.9+dfsg-1_amd64.deb) ...
Selecting previously unselected package libgsoap2.
Unpacking libgsoap2 (from .../libgsoap2_2.8.7-2_amd64.deb) ...
Selecting previously unselected package virtualbox.
Unpacking virtualbox (from .../virtualbox_4.1.18-dfsg-2+deb7u3_amd64.deb) ...
Selecting previously unselected package virtualbox-dkms.
Unpacking virtualbox-dkms (from .../virtualbox-dkms_4.1.18-dfsg-2+deb7u3_all.deb) ...
Processing triggers for man-db ...
Setting up libvncserver0:amd64 (0.9.9+dfsg-1) ...
Setting up libgsoap2 (2.8.7-2) ...
Setting up virtualbox (4.1.18-dfsg-2+deb7u3) ...
Stopping VirtualBox kernel modules.
Starting VirtualBox kernel modulesNo suitable module for running kernel found ... failed!
 failed!
invoke-rc.d: initscript virtualbox, action "restart" failed.
Setting up virtualbox-dkms (4.1.18-dfsg-2+deb7u3) ...
Loading new virtualbox-4.1.18 DKMS files...
First Installation: checking all kernels...
Building only for 3.14-0.bpo.1-amd64
Building initial module for 3.14-0.bpo.1-amd64
Error! Bad return status for module build on kernel: 3.14-0.bpo.1-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox/4.1.18/build/make.log for more information.
Stopping VirtualBox kernel modules.
Starting VirtualBox kernel modulesNo suitable module for running kernel found ... failed!
 failed!
invoke-rc.d: initscript virtualbox, action "restart" failed.

Probaj onda:

sudo apt-get install linux-headers-$(uname -r)

Pa onda ponovo instalacija vboxa

sudo apt-get install --reinstall virtualbox

Vec sam probao sa install linux-headers-$(uname -r) i nije dalo rezultata.

[email protected]:~$ sudo apt-get install linux-headers-$(uname -r)
[sudo] password for tadija: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-3.14-0.bpo.1-amd64 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[email protected]:~$ sudo apt-get install --reinstall virtualbox
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/12.8 MB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: warning: files list file for package 'virtualbox-guest-additions-iso' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'virtualbox-guest-additions' missing; assuming package has no files currently installed
(Reading database ... 198353 files and directories currently installed.)
Preparing to replace virtualbox 4.1.18-dfsg-2+deb7u3 (using .../virtualbox_4.1.18-dfsg-2+deb7u3_amd64.deb) ...
Unpacking replacement virtualbox ...
Processing triggers for man-db ...
Setting up virtualbox (4.1.18-dfsg-2+deb7u3) ...
Stopping VirtualBox kernel modules.
Starting VirtualBox kernel modulesNo suitable module for running kernel found ... failed!
 failed!
invoke-rc.d: initscript virtualbox, action "restart" failed.
[email protected]:~$ dpkg -l virtualbox
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  virtualbox     4.1.18-dfsg- amd64        x86 virtualization solution - bas

ostaje jedino da ponovo kompletno obrišeš vbox sa sve njegovim folderima, skineš neku od novijih verzija

pa probaš da instaliraš tu drugu verziju sa

dpkg -i

ili da dodaš vbox repo u sources.list
https://www.virtualbox.org/wiki/Linux_Downloads

Ok hvala ti na pomoci. Javljam kasnije kad probam sa dpkg i repo, gledam sad derbi :smiley: Hvala jos jednom Dragane! :slight_smile:

Ponovo ne radi. Probao da dodam repo i instaliram i nece. dpkg kaze sledece:

[email protected]:~/downloads$ sudo dpkg -i virtualbox-4.3_4.3.18-96516~Debian~wheezy_amd64.deb
Selecting previously unselected package virtualbox-4.3.
(Reading database … 199601 files and directories currently installed.)
Unpacking virtualbox-4.3 (from virtualbox-4.3_4.3.18-96516~Debian~wheezy_amd64.deb) …
dpkg: dependency problems prevent configuration of virtualbox-4.3:
virtualbox-4.3 depends on libqt4-opengl (>= 4:4.7.2); however:
Package libqt4-opengl:amd64 is not installed.

dpkg: error processing virtualbox-4.3 (–install):
dependency problems - leaving unconfigured
Processing triggers for shared-mime-info …
Processing triggers for desktop-file-utils …
Processing triggers for hicolor-icon-theme …
Errors were encountered while processing:
virtualbox-4.3

Takodje sam probao i sa smxi skriptom ali neuspesno.

momzda ovo pomogne

Joj morao sam ovo da okacim… Ja se pitam zasto nece da instalira Virtualbox a odgovor glasi:

kod mene na wheezy se najnormalnije instalira i najnovija verzija, 4.3

[ATTACH]3733.IPB[/ATTACH][ATTACH]3734.IPB[/ATTACH][ATTACH]3735.IPB[/ATTACH]

Kul kul, onda moze samo biti do mog kernela. Sad nesto gledam pa javljam jesam li uspeo.

Uspeo sam da instaliram virtualbox-non-ose preko smxi skripte. Mislim da me koci moj trenutni .bpo kernel

[email protected]:~$ uname -a
Linux crunchbang 3.14-0.bpo.1-amd64 #1 SMP Debian 3.14.12-1~bpo70+1 (2014-07-13) x86_64 GNU/Linux

Kad budem imao vremena probacu da instaliram drugi i vidim kako se ponasa. Hvala u svakom slucaju @Dragan.