From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Linux Sisyphus mailing list <sisyphus@altlinux.ru> Subject: Re: [sisyphus] проблема с обновлением Date: Tue, 15 Oct 2002 20:48:15 +0400 Message-ID: <20021015164815.GA7547@basalt.office.altlinux.ru> (raw) In-Reply-To: <20021015202726.A26594@dual.sweet.home> [-- Attachment #1: Type: text/plain, Size: 1126 bytes --] On Tue, Oct 15, 2002 at 08:27:26PM +0400, Andrew Fedyushin wrote: > >>> давно хотел сохранить это дело для всех интересующихся сизифом. > >>> http://www.atmsk.ru/viewtopic.php?p=718#718 > >> Если давать такой совет в общем виде, то перенаправление "</dev/null" при > >> отсутствии проблем приведет к запуску обновления. > >> Как правило, это не то, что требуется. > >> В общем случае подойдет > >> # echo n |apt-get dist-upgrade -o Debug::pkgProblemResolver=true &>~/tmp/apt-get.log > > > > echo n |apt-get dist-upgrade -o Debug::pkgProblemResolver=true &>~/tmp/apt-get.log > > > > Замечание > > Конструкция "echo n |" вначале строки позволяет обойтись без нажатий на "enter" вслепую. Вы можете выкинуть ее из строки просто нажать на enter, чтобы APT не застрял на первом же вопросе. > > Еще вариант, дать опцию -y или --force-yes (отвечать yes) или --trivial-only, если хотите на все вопросы отвеяать no. > > > > так не лучше? > > А man script сказать не пробовали ? :) Он запишет в log лишнего. > Дабы не громоздить уродливую конструкцию для простейшей записи вывода в файл ... Проще все равно не выйдет. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2002-10-15 16:48 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-13 12:19 Герасимов Дмитрий 2002-10-13 12:41 ` Dmitry V. Levin 2002-10-13 12:42 ` Герасимов Дмитрий 2002-10-13 12:49 ` Герасимов Дмитрий 2002-10-13 13:06 ` Dmitry V. Levin 2002-10-13 13:09 ` Герасимов Дмитрий 2002-10-13 13:38 ` Dmitry V. Levin 2002-10-13 13:40 ` Герасимов Дмитрий 2002-10-13 12:58 ` Dmitry V. Levin 2002-10-13 13:31 ` "Алексей Любимов" 2002-10-13 13:29 ` Герасимов Дмитрий 2002-10-13 13:41 ` Dmitry V. Levin 2002-10-13 14:47 ` "Алексей Любимов" 2002-10-15 16:27 ` [sisyphus] " Andrew Fedyushin 2002-10-15 16:48 ` Dmitry V. Levin [this message] 2002-10-15 18:01 ` Malkhazi
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=20021015164815.GA7547@basalt.office.altlinux.ru \ --to=ldv@altlinux.org \ --cc=sisyphus@altlinux.ru \ /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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git