From: "ALT Linux User" <altlinux.mailbox@gmail.com> To: "ALT Linux Community general discussions" <community@lists.altlinux.org> Subject: Re: [Comm] update_kernel_modules Date: Tue, 12 Feb 2008 14:10:36 +0300 Message-ID: <40babb620802120310o7a3d5f46k59be8aa5a3468bdc@mail.gmail.com> (raw) In-Reply-To: <20080212095755.GW1567@osdn.org.ua> 2008/2/12 Michael Shigorin <mike@osdn.org.ua>: > On Tue, Feb 12, 2008 at 10:23:49AM +0300, ALT Linux User wrote: > > Простите великодушно, если вопрос дурацкий... > > То есть, достаточно сделать > > # apt-get update > > # apt-get dist-upgrade > > и всё будет пофиксено? > > Это если в /etc/apt/apt.conf снять ^kernel.* с Hold (за//вать > соответствующую строчку). Если забыть закомментировать назад, > могут быть неожиданности когда-то в будущем (например, обновили > всё, в т.ч. ядро; не хватило места на корне и вышло нехорошо; > ещё через несколько месяцев перезагрузились, но не загрузились). Позвольте, пожалуйста, уточнить, поскольку очень боюсь напортачить на своём ноутбуке, где пробую работать с линукс чуть ли не каждодневно и не хотелось бы его "терять". Сейчас /etc/apt/apt.conf выглядит так: /* * This is the main configuration file for the APT suite of tools, * see apt.conf(5) for details. */ // See apt-cdrom(8) for details. Acquire::CDROM::Copy "true"; Acquire::CDROM::mount "/media/cdrom"; RPM { Allow-Duplicated { // Old-style kernels. "^(NVIDIA_)?(kernel|alsa)[0-9]*(-adv|-linus)?($|-up|-smp|-secure|-custom|-enterprise|-BOOT|-tape|-aureal)"; // New-style kernels. "^kernel-(image|modules)-.*"; }; Hold { // Old-style kernels. "^(kernel|alsa)[0-9]+-source"; }; }; Правильно ли я понимаю, что должен поменять: // New-style kernels. на просто: New-style kernels. И после этого: # apt-get update # apt-get dist-upgrade После этого все патчи для ядра будут "наложены"? Не надо ли делать # lilo и т.п.? > > А нельзя ли таким же способом заменить само ядро? На более > > новое, если вдруг оно выйдет... > > См. скрипты в аттаче; они несколько сломались после какого-то > изменения в apt (или нумерации ядер?) -- приходится сперва > поставить нужное новое ядро, чтоб потом скриптик уже подтянул > нужные (как уже установленные) модули для новой сборки. > > Также выложил здесь: > http://fly.osdn.org.ua/~mike/misc/update_kernel_modules > http://fly.osdn.org.ua/~mike/misc/update_kernel_modules_cetus В область самостоятельной смены ядер пока боюсь даже заглядывать. На тестовом десктопе если только. Пока нет времени на чтение и обучение, а поменять ядро хочется, хотя бы на Toshiba :(
next prev parent reply other threads:[~2008-02-12 11:10 UTC|newest] Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-02-11 22:25 [Comm] Дырка в ядре. Что предприниматься планируется в дистре? Victor Zhuravlyov 2008-02-11 22:34 ` Vitaly Kuznetsov 2008-02-12 7:23 ` ALT Linux User 2008-02-12 7:42 ` Victor Zhuravlyov 2008-02-12 7:45 ` Алексей Шенцев 2008-02-12 7:52 ` ALT Linux User 2008-02-12 7:55 ` Хихин Руслан 2008-02-12 8:05 ` Sergey 2008-02-12 8:15 ` Sergey 2008-02-12 9:57 ` [Comm] update_kernel_modules Michael Shigorin 2008-02-12 10:42 ` A.Kitouwaykin 2008-02-12 11:04 ` Michael Shigorin 2008-02-12 11:31 ` A.Kitouwaykin 2008-02-13 11:01 ` Владимир Гусев 2008-02-12 11:10 ` ALT Linux User [this message] 2008-02-12 11:56 ` Michael Shigorin 2008-02-12 12:00 ` Mikhail Gusarov 2008-02-12 12:15 ` Sergey 2008-02-12 12:18 ` ALT Linux User 2008-02-12 13:54 ` Sergey 2008-02-12 15:36 ` ALT Linux User 2008-02-12 16:08 ` Michael Shigorin 2008-02-12 18:09 ` Sergey 2008-02-12 19:44 ` ALT Linux User 2008-02-12 20:15 ` Michael Shigorin 2008-02-12 20:28 ` ALT Linux User 2008-02-12 20:51 ` Michael Shigorin 2008-02-12 21:24 ` ALT Linux User 2008-02-12 21:34 ` Michael Shigorin 2008-02-13 7:52 ` Sergey 2008-02-13 9:38 ` ALT Linux User 2008-02-13 11:57 ` Sergey 2008-02-13 18:10 ` [Comm] Дырка в ядре. Что предприниматься планируется в дистре? Olvin 2008-02-13 18:36 ` Sergey Vlasov 2008-02-13 19:03 ` Pavlov Konstantin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=40babb620802120310o7a3d5f46k59be8aa5a3468bdc@mail.gmail.com \ --to=altlinux.mailbox@gmail.com \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git