<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thank you for the insight - things will only get better as I get
    used to Debian - 9 months experience of it vs around 30 years of
    jolly old Windows<br>
    <br>
    Lucky this time - googled and actually sorted it
(<a class="moz-txt-link-freetext" href="http://superuser.com/questions/652850/error-while-installing-virtualbox">http://superuser.com/questions/652850/error-while-installing-virtualbox</a>)<br>
    <pre><code>rm -r /etc/init.d/vboxdrv
rm -r /var/lib/update-rc.d/vboxdrv // Actually wasn't there anyway
apt-get clean
apt-get install virtualbox</code></pre>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 05/09/14 20:03, Ritesh Raj Sarraf
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAP0eoCwJBK3kwm6F8KbxGft3K2xV8GdfM0_1ysh9FpN5LDV48A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>There seems to be the residual from your previous
              install from unofficial sources.<br>
              <br>
              dpkg: dependency problems prevent configuration of
              virtualbox-qt:<br>
               virtualbox-qt depends on virtualbox (= 4.3.14-dfsg-1);
              however:<br>
                Package virtualbox is not configured yet.<br>
                Package virtualbox-4.3 which provides virtualbox is not
              installed.<br>
              <br>
              <br>
            </div>
            You may have removed the previous package but not purged
            everything.<br>
            <br>
          </div>
          Keep in mind that most of the users these days (incluing me)
          are on arch amd64 and are using virtualbox 4.3.14.<br>
        </div>
        So a bug that basic being missed is highly unlikely.<br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Sat, Sep 6, 2014 at 12:02 AM, Jim
          Cobley <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:jimc@priorycomputers.com" target="_blank">jimc@priorycomputers.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> OK - did a complete
              removal of the virtualbox components shown by Synaptic
              Package Manager<br>
              <br>
              Then apt-get update, apt-get dist-upgrade followed by a
              reboot<br>
              <br>
              Then the apt-get install line from the Debian wiki after
              checking the sources.list:-<br>
              (I notice that virtualbox..._AMD64 is listed although I
              couldn't see it in the contrib on the mirror site)<br>
              However Synaptic shows only virtualbox and virtualbox-dkms
              are installed after this and virtualbox-4.3 line is blank
              and not installed<br>
              <br>
              console log is shown below:-<br>
              <br>
              <u><b>cat /etc/apt/sources.list</b></u><br>
              # <br>
              <br>
              # deb cdrom:[Debian GNU/Linux testing _Jessie_ - Official
              Snapshot amd64 NETINST Binary-1 20140113-06:01]/ jessie
              main<br>
              <br>
              #deb cdrom:[Debian GNU/Linux testing _Jessie_ - Official
              Snapshot amd64 NETINST Binary-1 20140113-06:01]/ jessie
              main<br>
              <br>
              deb <a moz-do-not-send="true"
                href="http://ftp.pt.debian.org/debian/" target="_blank">http://ftp.pt.debian.org/debian/</a>
              jessie main<br>
              deb-src <a moz-do-not-send="true"
                href="http://ftp.pt.debian.org/debian/" target="_blank">http://ftp.pt.debian.org/debian/</a>
              jessie main<br>
              <br>
              deb <a moz-do-not-send="true"
                href="http://security.debian.org/" target="_blank">http://security.debian.org/</a>
              jessie/updates main<br>
              deb-src <a moz-do-not-send="true"
                href="http://security.debian.org/" target="_blank">http://security.debian.org/</a>
              jessie/updates main<br>
              <br>
              # jessie-updates, previously known as 'volatile'<br>
              deb <a moz-do-not-send="true"
                href="http://ftp.pt.debian.org/debian/" target="_blank">http://ftp.pt.debian.org/debian/</a>
              jessie-updates main<br>
              deb-src <a moz-do-not-send="true"
                href="http://ftp.pt.debian.org/debian/" target="_blank">http://ftp.pt.debian.org/debian/</a>
              jessie-updates main<br>
              <br>
              # jessie-backports, previously on <a
                moz-do-not-send="true"
                href="http://backports.debian.org" target="_blank">backports.debian.org</a><br>
              deb <a moz-do-not-send="true"
                href="http://ftp.pt.debian.org/debian/" target="_blank">http://ftp.pt.debian.org/debian/</a>
              jessie-backports main<br>
              deb-src <a moz-do-not-send="true"
                href="http://ftp.pt.debian.org/debian/" target="_blank">http://ftp.pt.debian.org/debian/</a>
              jessie-backports main<br>
              <br>
              # Debian "Jessie" (testing) - to allow us to get
              VirtualBox<br>
              deb <a moz-do-not-send="true"
                href="http://http.debian.net/debian/" target="_blank">http://http.debian.net/debian/</a>
              jessie main contrib<br>
              <br>
              root@jupiter2:~# <u><b>apt-get install
                  linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
                  virtualbox</b></u><br>
              Reading package lists... Done<br>
              Building dependency tree       <br>
              Reading state information... Done<br>
              linux-headers-amd64 is already the newest version.<br>
              The following packages were automatically installed and
              are no longer required:<br>
                libavdevice54 libavfilter4<br>
              Use 'apt-get autoremove' to remove them.<br>
              The following extra packages will be installed:<br>
                libgsoap5 virtualbox-dkms virtualbox-qt<br>
              Suggested packages:<br>
                virtualbox-guest-additions-iso<br>
              The following NEW packages will be installed:<br>
                libgsoap5 virtualbox virtualbox-dkms virtualbox-qt<br>
              0 upgraded, 4 newly installed, 0 to remove and 0 not
              upgraded.<br>
              Need to get 0 B/21.2 MB of archives.<br>
              After this operation, 87.1 MB of additional disk space
              will be used.<br>
              Do you want to continue? [Y/n] y<br>
              Selecting previously unselected package libgsoap5:amd64.<br>
              (Reading database ... 262231 files and directories
              currently installed.)<br>
              Preparing to unpack .../libgsoap5_2.8.17-1_amd64.deb ...<br>
              Unpacking libgsoap5:amd64 (2.8.17-1) ...<br>
              Selecting previously unselected package virtualbox.<br>
              Preparing to unpack .../virtualbox_4.3.14-dfsg-1_amd64.deb
              ...<br>
              Unpacking virtualbox (4.3.14-dfsg-1) ...<br>
              Selecting previously unselected package virtualbox-dkms.<br>
              Preparing to unpack
              .../virtualbox-dkms_4.3.14-dfsg-1_all.deb ...<br>
              Unpacking virtualbox-dkms (4.3.14-dfsg-1) ...<br>
              Selecting previously unselected package virtualbox-qt.<br>
              Preparing to unpack
              .../virtualbox-qt_4.3.14-dfsg-1_amd64.deb ...<br>
              Unpacking virtualbox-qt (4.3.14-dfsg-1) ...<br>
              Processing triggers for man-db (2.6.7.1-1) ...<br>
              Processing triggers for menu (2.1.47) ...<br>
              Processing triggers for shared-mime-info (1.3-1) ...<br>
              Processing triggers for hicolor-icon-theme (0.13-1) ...<br>
              Processing triggers for gnome-menus (3.13.3-1) ...<br>
              Processing triggers for mime-support (3.56) ...<br>
              Processing triggers for desktop-file-utils (0.22-1) ...<br>
              Setting up libgsoap5:amd64 (2.8.17-1) ...<br>
              Setting up virtualbox (4.3.14-dfsg-1) ...<br>
              insserv: script virtualbox: service vboxdrv already
              provided!<br>
              insserv: exiting now!<br>
              update-rc.d: error: insserv rejected the script header<br>
              dpkg: error processing package virtualbox (--configure):<br>
               subprocess installed post-installation script returned
              error exit status 1<br>
              dpkg: dependency problems prevent configuration of
              virtualbox-dkms:<br>
               virtualbox-dkms depends on virtualbox (>=
              4.3.14-dfsg-1); however:<br>
                Package virtualbox is not configured yet.<br>
                Package virtualbox-4.3 which provides virtualbox is not
              installed.<br>
              <br>
              dpkg: error processing package virtualbox-dkms
              (--configure):<br>
               dependency problems - leaving unconfigured<br>
              dpkg: dependency problems prevent configuration of
              virtualbox-qt:<br>
               virtualbox-qt depends on virtualbox (= 4.3.14-dfsg-1);
              however:<br>
                Package virtualbox is not configured yet.<br>
                Package virtualbox-4.3 which provides virtualbox is not
              installed.<br>
              <br>
              dpkg: error processing package virtualbox-qt
              (--configure):<br>
               dependency problems - leaving unconfigured<br>
              Processing triggers for libc-bin (2.19-10) ...<br>
              Errors were encountered while processing:<br>
               virtualbox<br>
               virtualbox-dkms<br>
               virtualbox-qt<br>
              E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
              root@jupiter2:~# <br>
              <div>
                <div class="h5"> <br>
                  <br>
                  <div>On 05/09/14 16:31, Ritesh Raj Sarraf wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div>On Friday 05 September 2014 08:45 PM, Jim
                      Cobley wrote:<br>
                    </div>
                    <blockquote type="cite"> Hi Ritesh<br>
                      <br>
                      4.3.14-dfsg-1 is installed: virtualbox,
                      virtualbox-dbg, virtualbox-dkms,
                      virtualbox-guest-dkms, virtualbox-guest-utils,
                      virtualbox-guest-x11, virtualbox-qt<br>
                      <br>
                      Not installed: virtualbox-4.3, -guest-source,
                      -source<br>
                      <br>
                      I think I was originally using the version direct
                      from Oracle - it was only when that stopped
                      working correctly (a week or so ago) and asking
                      for the kernel that people suggested installing
                      the Debian version - and I haven't had a working
                      version since then!</blockquote>
                    <br>
                    20:59:38 rrs@learner:/var/tmp/Debian-Build/Result$
                    aptitude why virtualbox-dkms linux-headers-amd64<br>
                    i   virtualbox-dkms Depends    dkms (>=
                    2.1.0.0)                                                                 


                    <br>
                    i   dkms            Recommends linux-headers-686-pae
                    | linux-headers-amd64 | linux-headers-generic |
                    linux-headers<br>
                    <br>
                    I am not sure if this is the same case for you. But
                    if you have a standard Debian install, which
                    configures to install the Recommends, then you
                    shouldn't be running into trouble.<br>
                    <br>
                    Perhaps easiest would be that you share with us the
                    actual console logs of what you did.<br>
                    <br>
                    <pre cols="72">-- 
Ritesh Raj Sarraf
RESEARCHUT - <a moz-do-not-send="true" href="http://www.researchut.com" target="_blank">http://www.researchut.com</a>
"Necessity is the mother of invention."
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        Ritesh Raj Sarraf<br>
        RESEARCHUT - <a moz-do-not-send="true"
          href="http://www.researchut.com">http://www.researchut.com</a><br>
        "Necessity is the mother of invention."
      </div>
    </blockquote>
    <br>
  </body>
</html>