Advertisement
Guest User

Untitled

a guest
Nov 25th, 2015
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.14 KB | None | 0 0
  1. $ sudo apt-get install virtualbox
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following extra packages will be installed:
  6. dkms fakeroot libgsoap1 virtualbox-dkms virtualbox-qt
  7. Suggested packages:
  8. virtualbox-guest-additions-iso vde2
  9. The following NEW packages will be installed:
  10. dkms fakeroot libgsoap1 virtualbox virtualbox-dkms
  11. virtualbox-qt
  12. 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
  13. Need to get 18.3 MB of archives.
  14. After this operation, 71.9 MB of additional disk space will be used.
  15. Do you want to continue [Y/n]?
  16. Get:1 http://it.archive.ubuntu.com/ubuntu/ precise/universe libgsoap1 amd64 2.8.4-2 [507 kB]
  17. Get:2 http://ppa.launchpad.net/ubuntu-security-proposed/ppa/ubuntu/ precise/main virtualbox amd64 4.1.44-dfsg-1+deb7u1ubuntu1 [12.8 MB]
  18. Get:3 http://it.archive.ubuntu.com/ubuntu/ precise-updates/main dkms all 2.2.0.3-1ubuntu3.6 [73.3 kB]
  19. Get:4 http://it.archive.ubuntu.com/ubuntu/ precise/main fakeroot amd64 1.18.2-1 [87.2 kB]
  20. Get:5 http://ppa.launchpad.net/ubuntu-security-proposed/ppa/ubuntu/ precise/main virtualbox-dkms all 4.1.44-dfsg-1+deb7u1ubuntu1 [503 kB]
  21. Get:6 http://ppa.launchpad.net/ubuntu-security-proposed/ppa/ubuntu/ precise/main virtualbox-qt amd64 4.1.44-dfsg-1+deb7u1ubuntu1 [4,314 kB]
  22. Fetched 18.3 MB in 4s (4,081 kB/s)
  23. Selecting previously unselected package libgsoap1.
  24. (Reading database ... 138535 files and directories currently installed.)
  25. Unpacking libgsoap1 (from .../libgsoap1_2.8.4-2_amd64.deb) ...
  26. Selecting previously unselected package virtualbox.
  27. Unpacking virtualbox (from .../virtualbox_4.1.44-dfsg-1+deb7u1ubuntu1_amd64.deb) ...
  28. Selecting previously unselected package dkms.
  29. Unpacking dkms (from .../dkms_2.2.0.3-1ubuntu3.6_all.deb) ...
  30. Selecting previously unselected package virtualbox-dkms.
  31. Unpacking virtualbox-dkms (from .../virtualbox-dkms_4.1.44-dfsg-1+deb7u1ubuntu1_all.deb) ...
  32. Selecting previously unselected package virtualbox-qt.
  33. Unpacking virtualbox-qt (from .../virtualbox-qt_4.1.44-dfsg-1+deb7u1ubuntu1_amd64.deb) ...
  34. Selecting previously unselected package fakeroot.
  35. Unpacking fakeroot (from .../fakeroot_1.18.2-1_amd64.deb) ...
  36. Processing triggers for man-db ...
  37. Processing triggers for ureadahead ...
  38. ureadahead will be reprofiled on next reboot
  39. Processing triggers for hicolor-icon-theme ...
  40. Processing triggers for shared-mime-info ...
  41. Processing triggers for desktop-file-utils ...
  42. Processing triggers for bamfdaemon ...
  43. Rebuilding /usr/share/applications/bamf.index...
  44. Processing triggers for gnome-menus ...
  45. Setting up libgsoap1 (2.8.4-2) ...
  46. Setting up virtualbox (4.1.44-dfsg-1+deb7u1ubuntu1) ...
  47. * Stopping VirtualBox kernel modules [ OK ]
  48. * Starting VirtualBox kernel modules * No suitable module for running kernel found
  49. [fail]
  50. invoke-rc.d: initscript virtualbox, action "restart" failed.
  51. Setting up dkms (2.2.0.3-1ubuntu3.6) ...
  52. Setting up virtualbox-dkms (4.1.44-dfsg-1+deb7u1ubuntu1) ...
  53. Loading new virtualbox-4.1.44 DKMS files...
  54. First Installation: checking all kernels...
  55. Building only for 3.2.0-94-generic
  56. Building initial module for 3.2.0-94-generic
  57. Done.
  58.  
  59. vboxdrv:
  60. Running module version sanity check.
  61. - Original module
  62. - No original module exists within this kernel
  63. - Installation
  64. - Installing to /lib/modules/3.2.0-94-generic/updates/dkms/
  65.  
  66. vboxnetadp.ko:
  67. Running module version sanity check.
  68. - Original module
  69. - No original module exists within this kernel
  70. - Installation
  71. - Installing to /lib/modules/3.2.0-94-generic/updates/dkms/
  72.  
  73. vboxnetflt.ko:
  74. Running module version sanity check.
  75. - Original module
  76. - No original module exists within this kernel
  77. - Installation
  78. - Installing to /lib/modules/3.2.0-94-generic/updates/dkms/
  79.  
  80. vboxpci.ko:
  81. Running module version sanity check.
  82. - Original module
  83. - No original module exists within this kernel
  84. - Installation
  85. - Installing to /lib/modules/3.2.0-94-generic/updates/dkms/
  86.  
  87. depmod....
  88.  
  89. DKMS: install completed.
  90. * Stopping VirtualBox kernel modules [ OK ]
  91. * Starting VirtualBox kernel modules [ OK ]
  92. Setting up virtualbox-qt (4.1.44-dfsg-1+deb7u1ubuntu1) ...
  93. Setting up fakeroot (1.18.2-1) ...
  94. update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
  95. Processing triggers for libc-bin ...
  96. ldconfig deferred processing now taking place
  97.  
  98.  
  99. and then install the new kernel
  100.  
  101. sudo apt-get install linux-headers-generic-lts-trusty linux-image-generic-lts-trusty
  102. Reading package lists... Done
  103. Building dependency tree
  104. Reading state information... Done
  105. The following extra packages will be installed:
  106. linux-headers-3.13.0-68 linux-headers-3.13.0-68-generic
  107. linux-image-3.13.0-68-generic
  108. Suggested packages:
  109. fdutils linux-lts-trusty-doc-3.13.0
  110. linux-lts-trusty-source-3.13.0 linux-lts-trusty-tools
  111. The following NEW packages will be installed:
  112. linux-headers-3.13.0-68 linux-headers-3.13.0-68-generic
  113. linux-headers-generic-lts-trusty
  114. linux-image-3.13.0-68-generic
  115. linux-image-generic-lts-trusty
  116. 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
  117. Need to get 0 B/66.5 MB of archives.
  118. After this operation, 275 MB of additional disk space will be used.
  119. Do you want to continue [Y/n]?
  120. Selecting previously unselected package linux-image-3.13.0-68-generic.
  121. (Reading database ... 139176 files and directories currently installed.)
  122. Unpacking linux-image-3.13.0-68-generic (from .../linux-image-3.13.0-68-generic_3.13.0-68.111~precise1_amd64.deb) ...
  123. Done.
  124. Selecting previously unselected package linux-headers-3.13.0-68.
  125. Unpacking linux-headers-3.13.0-68 (from .../linux-headers-3.13.0-68_3.13.0-68.111~precise1_all.deb) ...
  126. Selecting previously unselected package linux-headers-3.13.0-68-generic.
  127. Unpacking linux-headers-3.13.0-68-generic (from .../linux-headers-3.13.0-68-generic_3.13.0-68.111~precise1_amd64.deb) ...
  128. Selecting previously unselected package linux-headers-generic-lts-trusty.
  129. Unpacking linux-headers-generic-lts-trusty (from .../linux-headers-generic-lts-trusty_3.13.0.68.60_amd64.deb) ...
  130. Selecting previously unselected package linux-image-generic-lts-trusty.
  131. Unpacking linux-image-generic-lts-trusty (from .../linux-image-generic-lts-trusty_3.13.0.68.60_amd64.deb) ...
  132. Setting up linux-image-3.13.0-68-generic (3.13.0-68.111~precise1) ...
  133. Running depmod.
  134. update-initramfs: deferring update (hook will be called later)
  135. Examining /etc/kernel/postinst.d.
  136. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-68-generic /boot/vmlinuz-3.13.0-68-generic
  137. run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-68-generic /boot/vmlinuz-3.13.0-68-generic
  138. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-68-generic /boot/vmlinuz-3.13.0-68-generic
  139. update-initramfs: Generating /boot/initrd.img-3.13.0-68-generic
  140. run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-68-generic /boot/vmlinuz-3.13.0-68-generic
  141. run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-68-generic /boot/vmlinuz-3.13.0-68-generic
  142. run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-68-generic /boot/vmlinuz-3.13.0-68-generic
  143. Generating grub.cfg ...
  144. Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
  145. Found linux image: /boot/vmlinuz-3.13.0-68-generic
  146. Found initrd image: /boot/initrd.img-3.13.0-68-generic
  147. Found linux image: /boot/vmlinuz-3.2.0-94-generic
  148. Found initrd image: /boot/initrd.img-3.2.0-94-generic
  149. Found memtest86+ image: /boot/memtest86+.bin
  150. done
  151. Setting up linux-headers-3.13.0-68 (3.13.0-68.111~precise1) ...
  152. Setting up linux-headers-3.13.0-68-generic (3.13.0-68.111~precise1) ...
  153. Examining /etc/kernel/header_postinst.d.
  154. run-parts: executing /etc/kernel/header_postinst.d/dkms 3.13.0-68-generic /boot/vmlinuz-3.13.0-68-generic
  155. Setting up linux-headers-generic-lts-trusty (3.13.0.68.60) ...
  156. Setting up linux-image-generic-lts-trusty (3.13.0.68.60) ...
  157.  
  158. install an image without the headers (dkms fails because of no headers)
  159. $ sudo apt-get install linux-image-generic-lts-saucy
  160. Reading package lists... Done
  161. Building dependency tree
  162. Reading state information... Done
  163. The following extra packages will be installed:
  164. linux-image-3.11.0-26-generic
  165. Suggested packages:
  166. fdutils linux-lts-saucy-doc-3.11.0
  167. linux-lts-saucy-source-3.11.0 linux-lts-saucy-tools
  168. linux-headers-3.11.0-26-generic
  169. The following NEW packages will be installed:
  170. linux-image-3.11.0-26-generic linux-image-generic-lts-saucy
  171. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  172. Need to get 57.7 MB of archives.
  173. After this operation, 203 MB of additional disk space will be used.
  174. Do you want to continue [Y/n]?
  175. Get:1 http://it.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-3.11.0-26-generic amd64 3.11.0-26.45~precise1 [57.7 MB]
  176. Get:2 http://it.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-generic-lts-saucy amd64 3.11.0.26.23 [2,376 B]
  177. Fetched 57.7 MB in 6s (8,947 kB/s)
  178. Selecting previously unselected package linux-image-3.11.0-26-generic.
  179. (Reading database ... 168813 files and directories currently installed.)
  180. Unpacking linux-image-3.11.0-26-generic (from .../linux-image-3.11.0-26-generic_3.11.0-26.45~precise1_amd64.deb) ...
  181. Done.
  182. Selecting previously unselected package linux-image-generic-lts-saucy.
  183. Unpacking linux-image-generic-lts-saucy (from .../linux-image-generic-lts-saucy_3.11.0.26.23_amd64.deb) ...
  184. Setting up linux-image-3.11.0-26-generic (3.11.0-26.45~precise1) ...
  185. Running depmod.
  186. update-initramfs: deferring update (hook will be called later)
  187. Examining /etc/kernel/postinst.d.
  188. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.11.0-26-generic /boot/vmlinuz-3.11.0-26-generic
  189. run-parts: executing /etc/kernel/postinst.d/dkms 3.11.0-26-generic /boot/vmlinuz-3.11.0-26-generic
  190. Error! Your kernel headers for kernel 3.11.0-26-generic cannot be found.
  191. Please install the linux-headers-3.11.0-26-generic package,
  192. or use the --kernelsourcedir option to tell DKMS where it's located
  193. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.11.0-26-generic /boot/vmlinuz-3.11.0-26-generic
  194. update-initramfs: Generating /boot/initrd.img-3.11.0-26-generic
  195. run-parts: executing /etc/kernel/postinst.d/pm-utils 3.11.0-26-generic /boot/vmlinuz-3.11.0-26-generic
  196. run-parts: executing /etc/kernel/postinst.d/update-notifier 3.11.0-26-generic /boot/vmlinuz-3.11.0-26-generic
  197. run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.11.0-26-generic /boot/vmlinuz-3.11.0-26-generic
  198. Generating grub.cfg ...
  199. Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
  200. Found linux image: /boot/vmlinuz-3.13.0-68-generic
  201. Found initrd image: /boot/initrd.img-3.13.0-68-generic
  202. Found linux image: /boot/vmlinuz-3.11.0-26-generic
  203. Found initrd image: /boot/initrd.img-3.11.0-26-generic
  204. Found linux image: /boot/vmlinuz-3.2.0-94-generic
  205. Found initrd image: /boot/initrd.img-3.2.0-94-generic
  206. Found memtest86+ image: /boot/memtest86+.bin
  207. done
  208. Setting up linux-image-generic-lts-saucy (3.11.0.26.23) ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement