Results 1 to 11 of 11

Thread: Error in installing Virtual box

  1. #1

    Error in installing Virtual box

    root@kali:~/Desktop# chmod 0755 VirtualBox-4.3.14-95030-Linux_x86.run
    root@kali:~/Desktop# ./VirtualBox-4.3.14-95030-Linux_x86.run
    Verifying archive integrity... All good.
    Uncompressing VirtualBox for Linux installation............
    VirtualBox Version 4.3.14 r95030 (2014-07-15T16:02:43Z) installer
    Please install the build and header files for your current Linux kernel.
    The current kernel version is 3.12-kali1-686-pae
    Problems were found which would prevent VirtualBox from installing.
    Please correct these problems and try again.
    root@kali:~/Desktop# uname -a
    Linux kali 3.12-kali1-686-pae #1 SMP Debian 3.12.6-2kali1 (2014-01-06) i686 GNU/Linux
    root@kali:~/Desktop#


    m using kali 32 bit

  2. #2
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by yhi View Post
    root@kali:~/Desktop# chmod 0755 VirtualBox-4.3.14-95030-Linux_x86.run
    root@kali:~/Desktop# ./VirtualBox-4.3.14-95030-Linux_x86.run
    Verifying archive integrity... All good.
    Uncompressing VirtualBox for Linux installation............
    VirtualBox Version 4.3.14 r95030 (2014-07-15T16:02:43Z) installer
    Please install the build and header files for your current Linux kernel.
    The current kernel version is 3.12-kali1-686-pae
    Problems were found which would prevent VirtualBox from installing.
    Please correct these problems and try again.
    root@kali:~/Desktop# uname -a
    Linux kali 3.12-kali1-686-pae #1 SMP Debian 3.12.6-2kali1 (2014-01-06) i686 GNU/Linux
    root@kali:~/Desktop#


    m using kali 32 bit
    apt-get install linux-headers-$(uname -r)

  3. #3
    root@kali:~# apt-get install linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-3.12-kali1-686-pae
    E: Couldn't find any package by regex 'linux-headers-3.12-kali1-686-pae'

  4. #4
    Join Date
    2014-Aug
    Posts
    4
    Maybe you are missing the proper repos in your sources.list. Should look something like below, chances are you are missing one.


    deb http://http.kali.org/ /kali main contrib non-free
    deb http://http.kali.org/ /wheezy main contrib non-free
    deb http://http.kali.org/kali kali-dev main contrib non-free
    deb http://http.kali.org/kali kali-dev main/debian-installer
    deb-src http://http.kali.org/kali kali-dev main contrib non-free
    deb http://http.kali.org/kali kali main contrib non-free
    deb http://http.kali.org/kali kali main/debian-installer
    deb-src http://http.kali.org/kali kali main contrib non-free
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
    deb http://repo.kali.org/kali kali-bleeding-edge main

  5. #5
    my previous sources.list look like


    #

    # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20140108-18:08]/ kali contrib main non-free

    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20140108-18:08]/ kali contrib main non-free

    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free


    but now i added all those


    deb http://http.kali.org/ /kali main contrib non-free
    .
    .
    .
    .
    deb http://repo.kali.org/kali kali-bleeding-edge main

  6. #6
    after that when i tried apt-get uprade
    its showing

    962 upgraded, 0 newly installed, 0 to remove and 803 not upgraded.
    Need to get 882 MB of archives.
    After this operation, 545 MB of additional disk space will be used.

    so m upgrading them
    lets see if it resolve the prblem or not
    Last edited by yhi; 2014-08-16 at 10:47.

  7. #7
    now m even having problem in updating


    The following packages have unmet dependencies:
    libpam0g: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    libpam-modules-bin: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    libpam-modules: PreDepends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    gnome-settings-daemon: Depends: systemd but it is not going to be installed
    network-manager: Depends: libpam-systemd but it is not going to be installed
    gnome-bluetooth: Depends: libpam-systemd but it is not going to be installed
    Recommends: gnome-control-center but it is not going to be installed
    Recommends: gvfs-backends but it is not going to be installed
    libsemanage1: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    policykit-1: Depends: libpam-systemd but it is not going to be installed
    login: PreDepends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    gvfs-daemons: Depends: udisks2 but it is not going to be installed
    xserver-xorg-core: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    dbus: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    passwd: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    gnome-disk-utility: Depends: udisks2 (>= 2.1.1) but it is not going to be installed
    gdm3: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    Depends: libpam-systemd but it is not going to be installed
    xserver-xephyr: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    xvfb: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed




    plz someone help me

  8. #8
    Join Date
    2014-Apr
    Location
    Down Under
    Posts
    315
    Quote Originally Posted by yhi View Post
    now m even having problem in updating


    The following packages have unmet dependencies:
    libpam0g: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    libpam-modules-bin: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    libpam-modules: PreDepends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    gnome-settings-daemon: Depends: systemd but it is not going to be installed
    network-manager: Depends: libpam-systemd but it is not going to be installed
    gnome-bluetooth: Depends: libpam-systemd but it is not going to be installed
    Recommends: gnome-control-center but it is not going to be installed
    Recommends: gvfs-backends but it is not going to be installed
    libsemanage1: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    policykit-1: Depends: libpam-systemd but it is not going to be installed
    login: PreDepends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    gvfs-daemons: Depends: udisks2 but it is not going to be installed
    xserver-xorg-core: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    dbus: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    passwd: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    gnome-disk-utility: Depends: udisks2 (>= 2.1.1) but it is not going to be installed
    gdm3: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    Depends: libpam-systemd but it is not going to be installed
    xserver-xephyr: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
    xvfb: Depends: libaudit1 (>= 1:2.2.1) but it is not going to be installed




    plz someone help me
    After altering your sources file, did you run apt-get update? (note it is not the same as apt-get upgrade)

  9. #9
    yup
    i tried that
    still getting error :/

  10. #10
    guys this issue is not solved

  11. #11
    Join Date
    2014-Jul
    Posts
    22
    Hi

    Try disabling your proxy and remove the ipv6 address in ifconfig. If these dont work try with aptitude -r

    proxy settings

    'Your editor' /etc/proxychains.conf and hashout the option you are using and the dns option 'proxy_dns'

    disable ipv6

    ip -6 addr del 'ipv6 address' dev 'your NIC (eg WLAN0)'

    if using wireless try running iwconfig 'wireless interface' rate auto then etc/init.d/networking restart

    these should now allow you to update as they did for me

Similar Threads

  1. Gettting Error screen when installing in Virtual Box
    By badhri in forum Installing Archive
    Replies: 0
    Last Post: 2020-08-29, 17:58
  2. Installing Kali Linux as a Virtual Machine in Virtual Box
    By brav0hax in forum How-To Archive
    Replies: 50
    Last Post: 2016-03-10, 19:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •