Eroare /etc/init.d/vboxdrv setup oracle virtual box fedora

Pentru a rezolva aceasta erroare ‘/etc/init.d/vboxdrv setup execurtam dintr-un terminal

sudo apt-get install linux-headers-`uname -r`


[user@localhost ~]$ sudo apt-get install linux-headers-`uname -r`

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for user:

si primim un mesaj deja familiar:
\sudo: apt-get: command not found pentru ca apt este o comanda de pe debian
[user@localhost ~]$ sudo apt-get install linux-headers-`uname -r`
sudo: apt-get: command not found

Sa instama atunci comanda apt
[user@localhost ~]$ yum install apt
Loaded plugins: langpacks, presto, refresh-packagekit
You need to be root to perform this command.
[user@localhost ~]$ su
[root@localhost user]# yum install apt
Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
–> Running transaction check
—> Package apt.x86_64 0:0.5.15lorg3.95-5.git522.1.fc17 will be installed
–> Processing Dependency: apt-config for package: apt-0.5.15lorg3.95-5.git522.1.fc17.x86_64
–> Running transaction check
—> Package fedora-package-config-apt.noarch 0:16.00-2 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

Package                  Arch   Version                        Repository
apt                      x86_64 0.5.15lorg3.95-5.git522.1.fc17 fedora 713 k
Installing for dependencies:
noarch 16.00-2                        fedora 6.6 k

Transaction Summary
Install  1 Package (+1 Dependent package)

Total download size: 719 k
Installed size: 2.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): apt-0.5.15lorg3.95-5.git522.1.fc17.x86_64.rpm  | 713 kB     00:00
(2/2): fedora-package-config-apt-16.00-2.noarch.rpm   | 6.6 kB     00:00
Total                                        698 kB/s | 719 kB     00:01
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : apt-0.5.15lorg3.95-5.git522.1.fc17.x86_64                 1/2
Installing : fedora-package-config-apt-16.00-2.noarch                  2/2
Verifying  : fedora-package-config-apt-16.00-2.noarch                  1/2
Verifying  : apt-0.5.15lorg3.95-5.git522.1.fc17.x86_64                 2/2

apt.x86_64 0:0.5.15lorg3.95-5.git522.1.fc17

Dependency Installed:
fedora-package-config-apt.noarch 0:16.00-2

[root@localhost user]#
Apoi resinstalam dkms. Acest lucru va reinstala si virtualbox-dkms

apt-get remove dkms  
apt-get install dkms virtualbox-dkms  
//modprobe vboxdrv

Un tutorial ok de instalare a virtual box se poate gasi aici:

~ by chitzibush on 12/01/2013.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Ha bemegy, Gól

Ha nem középre megy, ha jobban szélre megy, ha kicsit erősebb, talán gól lehetett volna!


My training to become a CCIE


"Cercetaţi toate lucrurile şi păstraţi ce este bun." - Apostolul Pavel

To IT & beyond


Just another site

cultivat in ro

fondat 21 novembrie 2008

Ana Maria's Blog

Just another weblog