Было бы неплохо уметь предварительно только загружать обновления для ядерного хозяйства, без установки.
Сделал. УМВР. Прошу acl/merge/критику.
Поймал странноватое, хотя м.б. завихрениями apt; хотя -n отработало и пакеты в /var/cache/apt/archives приехали (специально подключил удалённый репо): # update-kernel -n Try to install new kernel kernel-image-led-ws-3.0.57-alt5 and update its modules [y]/n? update-kernel: kernel-modules-drm is installed, trying to update... update-kernel: kernel-modules-kvm is installed, trying to update... update-kernel: kernel-modules-media is installed, trying to update... update-kernel: kernel-modules-sound is installed, trying to update... Reading Package Lists... Done Building Dependency Tree... Done Selecting kernel-modules-drm-led-ws#3.0.57-alt5 for 'kernel-modules-drm-3.0.57-led-ws-alt5' Selecting kernel-modules-kvm-led-ws#3.0.57-alt5 for 'kernel-modules-kvm-3.0.57-led-ws-alt5' Selecting kernel-modules-media-led-ws#3.0.57-alt5 for 'kernel-modules-media-3.0.57-led-ws-alt5' Selecting kernel-modules-sound-led-ws#3.0.57-alt5 for 'kernel-modules-sound-3.0.57-led-ws-alt5' The following NEW packages will be installed: kernel-image-led-ws#3.0.57-alt5 kernel-modules-drm-led-ws#3.0.57-alt5 kernel-modules-kvm-led-ws#3.0.57-alt5 kernel-modules-media-led-ws#3.0.57-alt5 kernel-modules-sound-led-ws#3.0.57-alt5 0 upgraded, 5 newly installed, 0 removed and 7 not upgraded. Need to get 17.3MB of archives. After unpacking 56.2MB of additional disk space will be used. Get:1 http://ftp.linux.kiev.ua i586/classic kernel-image-led-ws#3.0.57-alt5 3.0.57-alt5 [13.3MB] Get:2 http://ftp.linux.kiev.ua i586/classic kernel-modules-drm-led-ws#3.0.57-alt5 3.0.57-alt5 [888kB] Get:3 http://ftp.linux.kiev.ua i586/classic kernel-modules-kvm-led-ws#3.0.57-alt5 3.0.57-alt5 [144kB] Get:4 http://ftp.linux.kiev.ua i586/classic kernel-modules-media-led-ws#3.0.57-alt5 3.0.57-alt5 [1871kB] Get:5 http://ftp.linux.kiev.ua i586/classic kernel-modules-sound-led-ws#3.0.57-alt5 3.0.57-alt5 [1082kB] Fetched 17.3MB in 6s (2758kB/s) Download complete and in download only mode update-kernel -n 4.08s user 1.34s system 43% cpu 12.519 total # update-kernel Try to install new kernel kernel-image-led-ws-3.0.57-alt5 and update its modules [y]/n? update-kernel: kernel-modules-drm is installed, trying to update... update-kernel: kernel-modules-kvm is installed, trying to update... update-kernel: kernel-modules-media is installed, trying to update... update-kernel: kernel-modules-sound is installed, trying to update... Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package update-kernel: failed to install kernel-image-led-ws-3.0.57-alt5 with modules
При этом: # apt-get install kernel-image-led-ws\#3.0.57-alt5 Reading Package Lists... Done Building Dependency Tree... Done The following NEW packages will be installed: kernel-image-led-ws#3.0.57-alt5
+ '[' -z '' ']' + apt-get install -y '' kernel-image-led-ws#3.0.57-alt5 kernel-modules-drm-3.0.57-led-ws-alt5 kernel-modules-kvm-3.0.57-led-ws-alt5 kernel-modules-media-3.0.57-led-ws-alt5 kernel-modules-sound-3.0.57-led-ws-alt5 Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package Мешает '', разумеется -- не надо кавычить $dryrun. Поправишь?
Угу.
Во, теперь порядок :) (хорошо сидеть на led-ws, тестируя update-kernel) Зальёшь 0.9.5?
update-kernel-0.9.5-alt1 -> sisyphus: * Tue Dec 25 2012 Terechkov Evgenii <evg@altlinux> 0.9.5-alt1 - Add --download-only (--dry-run/-n) support (ALT#25300)
Ok