Ubuntu 8.04のカーネルヘッダのアップグレード
関連:
- id:ayucatch:20080918:ubuntu_safe_upgrade
- id:ayucatch:20080918:ubuntu_kernel_upgrade
- id:ayucatch:20080918:ubuntu_subversion_upgrade
- id:ayucatch:20080918:ubuntu_pidgin_upgrade
- id:ayucatch:20080918:ubuntu_bind9_upgrade
- id:ayucatch:20080918:ubuntu_openjdk_upgrade
これは簡単に、できます。
$ sudo aptitude install linux-headers-generic [...] The following packages are unused and will be REMOVED: linux-headers-2.6.24-19 linux-headers-2.6.24-19-generic The following NEW packages will be automatically installed: linux-headers-2.6.24-21 linux-headers-2.6.24-21-generic The following NEW packages will be installed: linux-headers-2.6.24-21 linux-headers-2.6.24-21-generic The following packages will be upgraded: linux-headers-generic 1 packages upgraded, 2 newly installed, 2 to remove and 0 not upgraded. [...] Unpacking linux-headers-2.6.24-21 (from .../linux-headers-2.6.24-21_2.6.24-21.42_all.deb) ... Selecting previously deselected package linux-headers-2.6.24-21-generic. Unpacking linux-headers-2.6.24-21-generic (from .../linux-headers-2.6.24-21-generic_2.6.24-21.42_amd64.deb) ... Preparing to replace linux-headers-generic 2.6.24.19.21 (using .../linux-headers-generic_2.6.24.21.23_amd64.deb) ... Unpacking replacement linux-headers-generic ... [...] Removing linux-headers-2.6.24-19-generic ... Removing linux-headers-2.6.24-19 ... Setting up linux-headers-2.6.24-21 (2.6.24-21.42) ... Setting up linux-headers-2.6.24-21-generic (2.6.24-21.42) ... Setting up linux-headers-generic (2.6.24.21.23) ...
残りのログ
意外と長い道のり。
Aptitude 0.4.9: log report Fri, Sep 19 2008 06:36:27 +0900 IMPORTANT: this log only lists intended actions; actions which fail due to dpkg problems may not be completed. Will install 1 packages, and remove 0 packages. 1343kB of disk space will be used =============================================================================== [HOLD, DEPENDENCIES] openjdk-6-jdk [HOLD, DEPENDENCIES] openjdk-6-jre [HOLD, DEPENDENCIES] openjdk-6-jre-headless [HOLD, DEPENDENCIES] openjdk-6-jre-lib [HOLD] bind9-host [HOLD] dnsutils [HOLD] libbind9-30 [HOLD] libisccfg30 [HOLD] linux-headers-generic [INSTALL] libdns35 =============================================================================== Log complete. Aptitude 0.4.9: log report Fri, Sep 19 2008 06:40:58 +0900 IMPORTANT: this log only lists intended actions; actions which fail due to dpkg problems may not be completed. Will install 4 packages, and remove 0 packages. =============================================================================== [HOLD, DEPENDENCIES] openjdk-6-jdk [HOLD, DEPENDENCIES] openjdk-6-jre [HOLD, DEPENDENCIES] openjdk-6-jre-headless [HOLD, DEPENDENCIES] openjdk-6-jre-lib [HOLD] linux-headers-generic [UPGRADE] bind9-host 1:9.4.2-10 -> 1:9.4.2-10ubuntu0.1 [UPGRADE] dnsutils 1:9.4.2-10 -> 1:9.4.2-10ubuntu0.1 [UPGRADE] libbind9-30 1:9.4.2-10 -> 1:9.4.2-10ubuntu0.1 [UPGRADE] libisccfg30 1:9.4.2-10 -> 1:9.4.2-10ubuntu0.1 =============================================================================== Log complete. Aptitude 0.4.9: log report Fri, Sep 19 2008 06:47:50 +0900 IMPORTANT: this log only lists intended actions; actions which fail due to dpkg problems may not be completed. Will install 1 packages, and remove 0 packages. 791kB of disk space will be used =============================================================================== [HOLD, DEPENDENCIES] openjdk-6-jdk [HOLD, DEPENDENCIES] openjdk-6-jre [HOLD, DEPENDENCIES] openjdk-6-jre-headless [HOLD, DEPENDENCIES] openjdk-6-jre-lib [HOLD] linux-headers-generic [INSTALL] rhino =============================================================================== Log complete. Aptitude 0.4.9: log report Fri, Sep 19 2008 06:49:16 +0900 IMPORTANT: this log only lists intended actions; actions which fail due to dpkg problems may not be completed. Will install 4 packages, and remove 0 packages. 193kB of disk space will be freed =============================================================================== [HOLD] linux-headers-generic [UPGRADE] openjdk-6-jdk 6b10-0ubuntu1 -> 6b11-2ubuntu2 [UPGRADE] openjdk-6-jre 6b10-0ubuntu1 -> 6b11-2ubuntu2 [UPGRADE] openjdk-6-jre-headless 6b10-0ubuntu1 -> 6b11-2ubuntu2 [UPGRADE] openjdk-6-jre-lib 6b10-0ubuntu1 -> 6b11-2ubuntu2 =============================================================================== Log complete. Aptitude 0.4.9: log report Fri, Sep 19 2008 06:56:06 +0900 IMPORTANT: this log only lists intended actions; actions which fail due to dpkg problems may not be completed. Will install 3 packages, and remove 2 packages. 28.7kB of disk space will be used =============================================================================== [REMOVE, NOT USED] linux-headers-2.6.24-19 [REMOVE, NOT USED] linux-headers-2.6.24-19-generic [INSTALL, DEPENDENCIES] linux-headers-2.6.24-21 [INSTALL, DEPENDENCIES] linux-headers-2.6.24-21-generic [UPGRADE] linux-headers-generic 2.6.24.19.21 -> 2.6.24.21.23 =============================================================================== Log complete.