Skip to content

Instantly share code, notes, and snippets.

@Po-Jen
Created October 30, 2016 12:12
Show Gist options
  • Save Po-Jen/ab8b4e7411d08d4ac15de43336b3fd6e to your computer and use it in GitHub Desktop.
Save Po-Jen/ab8b4e7411d08d4ac15de43336b3fd6e to your computer and use it in GitHub Desktop.

Revisions

  1. Po-Jen created this gist Oct 30, 2016.
    186 changes: 186 additions & 0 deletions record.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,186 @@
    ros@ros-K401UB:~$ sudo apt-get remove dkms virtualbox-dkms
    [sudo] password for ros:
    正在讀取套件清單... 完成
    正在重建相依關係
    正在讀取狀態資料... 完成
    The following packages were automatically installed and are no longer required:
    libntdb1 linux-headers-3.13.0-93 linux-headers-3.13.0-93-generic python-ntdb
    Use 'apt-get autoremove' to remove them.
    下列套件將會被【移除】:
    dkms virtualbox-dkms
    升級 0 個,新安裝 0 個,移除 2 個,有 159 個未被升級。
    此操作完成之後,會空出 4,904 kB 的磁碟空間。
    Do you want to continue? [Y/n] y
    (讀取資料庫 ... 目前共安裝了 362654 個檔案和目錄。)
    Removing virtualbox-dkms (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1) ...

    -------- Uninstall Beginning --------
    Module: virtualbox
    Version: 4.3.36
    Kernel: 3.13.0-100-generic (x86_64)
    -------------------------------------

    Status: Before uninstall, this module version was ACTIVE on this kernel.

    vboxdrv.ko:
    - Uninstallation
    - Deleting from: /lib/modules/3.13.0-100-generic/updates/dkms/
    - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.


    vboxnetadp.ko:
    - Uninstallation
    - Deleting from: /lib/modules/3.13.0-100-generic/updates/dkms/
    - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.


    vboxnetflt.ko:
    - Uninstallation
    - Deleting from: /lib/modules/3.13.0-100-generic/updates/dkms/
    - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.


    vboxpci.ko:
    - Uninstallation
    - Deleting from: /lib/modules/3.13.0-100-generic/updates/dkms/
    - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.

    depmod....

    DKMS: uninstall completed.

    -------- Uninstall Beginning --------
    Module: virtualbox
    Version: 4.3.36
    Kernel: 4.2.0-42-generic (x86_64)
    -------------------------------------

    Status: Before uninstall, this module version was ACTIVE on this kernel.

    vboxdrv.ko:
    - Uninstallation
    - Deleting from: /lib/modules/4.2.0-42-generic/updates/dkms/
    - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.


    vboxnetadp.ko:
    - Uninstallation
    - Deleting from: /lib/modules/4.2.0-42-generic/updates/dkms/
    - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.


    vboxnetflt.ko:
    - Uninstallation
    - Deleting from: /lib/modules/4.2.0-42-generic/updates/dkms/
    - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.


    vboxpci.ko:
    - Uninstallation
    - Deleting from: /lib/modules/4.2.0-42-generic/updates/dkms/
    - Original module
    - No original module was found for this module on this kernel.
    - Use the dkms install command to reinstall any previous module version.

    depmod.........

    DKMS: uninstall completed.

    ------------------------------
    Deleting module version: 4.3.36
    completely from the DKMS tree.
    ------------------------------
    Done.
    Removing dkms (2.2.0.3-1.1ubuntu5.14.04.8) ...
    Processing triggers for man-db (2.6.7.1-1ubuntu1) ...

    ros@ros-K401UB:~$ sudo apt-get install linux-headers-$(uname -r)
    正在讀取套件清單... 完成
    正在重建相依關係
    正在讀取狀態資料... 完成
    linux-headers-4.2.0-42-generic is already the newest version.
    The following packages were automatically installed and are no longer required:
    libntdb1 linux-headers-3.13.0-93 linux-headers-3.13.0-93-generic python-ntdb
    Use 'apt-get autoremove' to remove them.
    升級 0 個,新安裝 0 個,移除 0 個,有 159 個未被升級。

    ros@ros-K401UB:~$ sudo apt-get install dkms virtualbox-dkms
    正在讀取套件清單... 完成
    正在重建相依關係
    正在讀取狀態資料... 完成
    The following packages were automatically installed and are no longer required:
    libntdb1 linux-headers-3.13.0-93 linux-headers-3.13.0-93-generic python-ntdb
    Use 'apt-get autoremove' to remove them.
    下列【新】套件將會被安裝:
    dkms virtualbox-dkms
    升級 0 個,新安裝 2 個,移除 0 個,有 159 個未被升級。
    需要下載 65.7 kB/632 kB 的套件檔。
    此操作完成之後,會多佔用 4,904 kB 的磁碟空間。
    下載:1 http://tw.archive.ubuntu.com/ubuntu/ trusty-updates/main dkms all 2.2.0.3-1.1ubuntu5.14.04.9 [65.7 kB]
    取得 65.7 kB 用了 0s (617 kB/s)
    選取了原先未選的套件 dkms。
    (讀取資料庫 ... 目前共安裝了 362356 個檔案和目錄。)
    Preparing to unpack .../dkms_2.2.0.3-1.1ubuntu5.14.04.9_all.deb ...
    Unpacking dkms (2.2.0.3-1.1ubuntu5.14.04.9) ...
    選取了原先未選的套件 virtualbox-dkms。
    Preparing to unpack .../virtualbox-dkms_4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1_all.deb ...
    Unpacking virtualbox-dkms (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1) ...
    Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
    設定 dkms (2.2.0.3-1.1ubuntu5.14.04.9) ...
    設定 virtualbox-dkms (4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1) ...
    Loading new virtualbox-4.3.36 DKMS files...
    First Installation: checking all kernels...
    Building only for 4.2.0-42-generic
    Building initial module for 4.2.0-42-generic
    Done.

    vboxdrv:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /lib/modules/4.2.0-42-generic/updates/dkms/

    vboxnetadp.ko:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /lib/modules/4.2.0-42-generic/updates/dkms/

    vboxnetflt.ko:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /lib/modules/4.2.0-42-generic/updates/dkms/

    vboxpci.ko:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /lib/modules/4.2.0-42-generic/updates/dkms/

    depmod....

    DKMS: install completed.
    * Stopping VirtualBox kernel modules [ OK ]
    * Starting VirtualBox kernel modules * modprobe vboxdrv failed. Please use 'dmesg' to find out why
    [fail]
    invoke-rc.d: initscript virtualbox, action "restart" failed.
    Processing triggers for shim-signed (1.18~14.04.1+0.8-0ubuntu2) ...