Thread View: alt.pl.comp.os.linux.debian
4 messages
4 total messages
Started by >> Debian GNU/Linux User <<
Mon, 26 Nov 2001 17:42
automatyczny dist-upgrade
Author: >> Debian GNU/Linux User <<
Date: Mon, 26 Nov 2001 17:42
Date: Mon, 26 Nov 2001 17:42
13 lines
1090 bytes
1090 bytes
cze jak sobie zrobic automatyczne sprawdzanie czy jest cos do upgrade'u? p.s. moglbym zrobic tak: #!/bin/bash apt-get update if (apt-get dist-upgrade --no-act | grep <- no wlasnie, tylko ze nie wiem co tu wpisac. a po drugie moze jest jakis lepszy sposob? TIA
Re: automatyczny dist-upgrade
Author: Piotr Roszatycki
Date: Mon, 26 Nov 2001 17:10
Date: Mon, 26 Nov 2001 17:10
24 lines
1514 bytes
1514 bytes
On Mon, 26 Nov 2001 18:42:05 +0100, >> Debian GNU/Linux User << <leszek.usenet@softel.pl> wrote:
> cze
>
> jak sobie zrobic automatyczne sprawdzanie czy jest cos do upgrade'u?
>
> p.s. moglbym zrobic tak:
Ja mam w /etc/cron.daily/apt:
#!/bin/sh
apt-get -qq update 2>&1
apt-get -y -q -d -u upgrade \
| grep "^Get:" \
2>&1
exit 0
--
Piotr Roszatycki, Netia Telekom S.A. .''`.
mailto:Piotr_Roszatycki@netia.net.pl : :' :
mailto:dexter@debian.org `. `'
`-
Re: automatyczny dist-upgrade
Author: Piotr Roszatycki
Date: Tue, 27 Nov 2001 08:27
Date: Tue, 27 Nov 2001 08:27
13 lines
1532 bytes
1532 bytes
On Tue, 27 Nov 2001 11:03:29 +0100, >> Debian GNU/Linux User << <leszek.usenet@softel.pl> wrote:
>> apt-get -y -q -d -u upgrade \
>
> a czy zamiast -d moge dac -s i tez bedzie dzialac??
Pewnie tak, ale po co? Chodzi o to, by crontab przez noc ściągnął paczki do
/var/cache/apt
--
Piotr Roszatycki, Netia Telekom S.A. .''`.
mailto:Piotr_Roszatycki@netia.net.pl : :' :
mailto:dexter@debian.org `. `'
`-
Re: automatyczny dist-upgrade
Author: >> Debian GNU/Linux User <<
Date: Tue, 27 Nov 2001 10:03
Date: Tue, 27 Nov 2001 10:03
26 lines
1414 bytes
1414 bytes
Piotr Roszatycki wrote: > > On Mon, 26 Nov 2001 18:42:05 +0100, >> Debian GNU/Linux User << <leszek.usenet@softel.pl> wrote: > > cze > > > > jak sobie zrobic automatyczne sprawdzanie czy jest cos do upgrade'u? > > > > p.s. moglbym zrobic tak: > > Ja mam w /etc/cron.daily/apt: > > #!/bin/sh > > apt-get -qq update 2>&1 > > apt-get -y -q -d -u upgrade \ > | grep "^Get:" \ > 2>&1 > > exit 0 > a czy zamiast -d moge dac -s i tez bedzie dzialac?? THX:)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads