* [Comm] Обновления
@ 2004-03-26 7:56 Krasavin Andrey
2004-03-26 8:41 ` Alexander Leschinsky
0 siblings, 1 reply; 8+ messages in thread
From: Krasavin Andrey @ 2004-03-26 7:56 UTC (permalink / raw)
To: Community
Добрый день!
Подскажите, пожалуйста, как грамотно (т.е. куда что прописать и
настроить) сделать так, чтобы ночью происходило обновление
списка пакетов, т.е. "apt-get update".
Я так понимаю, что эту команду надо прописать в cron?
Посоветуйте, пожалуйста.
--
С уважением, Красавин Андрей.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Обновления
2004-03-26 7:56 [Comm] Обновления Krasavin Andrey
@ 2004-03-26 8:41 ` Alexander Leschinsky
2004-03-26 11:27 ` Krasavin Andrey
0 siblings, 1 reply; 8+ messages in thread
From: Alexander Leschinsky @ 2004-03-26 8:41 UTC (permalink / raw)
To: Krasavin Andrey
Hello Krasavin,
On Fri, 26 Mar 2004 10:56:26 +0300 (26.03.2004 12:56 my local time),
received Friday, March 26, 2004 at 13:22:38,
you wrote about "[Comm] Обновления"
at least in part:
> Подскажите, пожалуйста, как грамотно (т.е. куда что прописать и
> настроить) сделать так
man apt-get
man cron
man crontab
вроде все...
А, и конечно же
man bash
--
Best regards,
Alexander Leschinsky
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Обновления
2004-03-26 8:41 ` Alexander Leschinsky
@ 2004-03-26 11:27 ` Krasavin Andrey
2004-03-26 11:36 ` Maxim Tyurin
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Krasavin Andrey @ 2004-03-26 11:27 UTC (permalink / raw)
To: community
В сообщении от Пятница 26 Март 2004 11:41 Alexander Leschinsky
написал(a):
> Hello Krasavin,
>
> On Fri, 26 Mar 2004 10:56:26 +0300 (26.03.2004 12:56 my
> local time), received Friday, March 26, 2004 at 13:22:38,
> you wrote about "[Comm] Обновления"
>
> at least in part:
> > Подскажите, пожалуйста, как грамотно (т.е. куда что
> > прописать и настроить) сделать так
>
> man apt-get
> man cron
> man crontab
>
> вроде все...
>
> А, и конечно же
> man bash
Не совсем корректно задал свой вопрос: как грамотно с точки
зрения специфики дистрибутивов ALTLinux Team прописать
обновление? Через крон будет кошерно?
Просто интересует кто как организовал у себя сей процесс.
--
С уважением, Красавин Андрей.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Обновления
2004-03-26 11:27 ` Krasavin Andrey
@ 2004-03-26 11:36 ` Maxim Tyurin
2004-03-26 11:37 ` Mike Lykov
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Maxim Tyurin @ 2004-03-26 11:36 UTC (permalink / raw)
To: community
Krasavin Andrey <krasavin@kominet.ru> writes:
<scip>
> Не совсем корректно задал свой вопрос: как грамотно с точки
> зрения специфики дистрибутивов ALTLinux Team прописать
> обновление? Через крон будет кошерно?
Обновление списка пакетов через cron запросто можно делать.
> Просто интересует кто как организовал у себя сей процесс.
Вообще-то на некоторых машинах
apt-get update && apt-get dist-upgrade
в кроне сидит.
А вообще пришло письмо от security - сделал upgrade
и все :)
--
With Best Regards, Maxim Tyurin
JID: MrKooll@jabber.pibhe.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Обновления
2004-03-26 11:27 ` Krasavin Andrey
2004-03-26 11:36 ` Maxim Tyurin
@ 2004-03-26 11:37 ` Mike Lykov
2004-03-26 11:54 ` Krasavin Andrey
2004-03-26 13:10 ` [Comm] Обновления Michael Shigorin
2004-03-26 20:27 ` Re[2]: [Comm] Обновления Alexander Leschinsky
3 siblings, 1 reply; 8+ messages in thread
From: Mike Lykov @ 2004-03-26 11:37 UTC (permalink / raw)
To: community
В сообщении от Пятница 26 Март 2004 15:27 Krasavin Andrey написал:
> Не совсем корректно задал свой вопрос: как грамотно с точки
> зрения специфики дистрибутивов ALTLinux Team прописать
> обновление? Через крон будет кошерно?
Думаю, крон в alt linux от других особо не отличается. если вам надо его
использовать - используйте ;)
--
Mike
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Обновления
2004-03-26 11:37 ` Mike Lykov
@ 2004-03-26 11:54 ` Krasavin Andrey
0 siblings, 0 replies; 8+ messages in thread
From: Krasavin Andrey @ 2004-03-26 11:54 UTC (permalink / raw)
To: community
В сообщении от Пятница 26 Март 2004 14:37 Mike Lykov написал(a):
> В сообщении от Пятница 26 Март 2004 15:27 Krasavin Andrey
написал:
> > Не совсем корректно задал свой вопрос: как грамотно с точки
> > зрения специфики дистрибутивов ALTLinux Team прописать
> > обновление? Через крон будет кошерно?
>
> Думаю, крон в alt linux от других особо не отличается. если
> вам надо его использовать - используйте ;)
Спасибо Вам и Максиму из предыдущего письма. Ваши ответы - это и
было то, что я хотел услышть. Тема закрыта.
--
С уважением, Красавин Андрей.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Comm] Re: Обновления
2004-03-26 11:27 ` Krasavin Andrey
2004-03-26 11:36 ` Maxim Tyurin
2004-03-26 11:37 ` Mike Lykov
@ 2004-03-26 13:10 ` Michael Shigorin
2004-03-26 20:27 ` Re[2]: [Comm] Обновления Alexander Leschinsky
3 siblings, 0 replies; 8+ messages in thread
From: Michael Shigorin @ 2004-03-26 13:10 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 439 bytes --]
On Fri, Mar 26, 2004 at 02:27:32PM +0300, Krasavin Andrey wrote:
> Просто интересует кто как организовал у себя сей процесс.
~> sudo crontab -l | grep -v ^#
01 05 * * * /bin/sh -c "apt-get -qq update; apt-get -qq -y upgrade"
Но это:
1) ALM2.2+updates;
2) после 2+ лет полета в ручном режиме.
Впрочем, идеи те же -- crontab -e и вперед.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re[2]: [Comm] Обновления
2004-03-26 11:27 ` Krasavin Andrey
` (2 preceding siblings ...)
2004-03-26 13:10 ` [Comm] Обновления Michael Shigorin
@ 2004-03-26 20:27 ` Alexander Leschinsky
3 siblings, 0 replies; 8+ messages in thread
From: Alexander Leschinsky @ 2004-03-26 20:27 UTC (permalink / raw)
To: Krasavin Andrey
Hello Krasavin,
On Fri, 26 Mar 2004 14:27:32 +0300 (26.03.2004 16:27 my local time),
received Friday, March 26, 2004 at 23:23:59,
you wrote about "[Comm] Обновления"
at least in part:
> Не совсем корректно задал свой вопрос
Так _учитесь_: "Праильно заданный вопрос - половина ответа"
И учитесь понимать ответы, иначе "маленькая собака - до смерти щенок"
--
Best regards,
Alexander Leschinsky
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-03-26 20:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-26 7:56 [Comm] Обновления Krasavin Andrey
2004-03-26 8:41 ` Alexander Leschinsky
2004-03-26 11:27 ` Krasavin Andrey
2004-03-26 11:36 ` Maxim Tyurin
2004-03-26 11:37 ` Mike Lykov
2004-03-26 11:54 ` Krasavin Andrey
2004-03-26 13:10 ` [Comm] Обновления Michael Shigorin
2004-03-26 20:27 ` Re[2]: [Comm] Обновления Alexander Leschinsky
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