<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Automatic update of packages using cron-apt</title>
	<atom:link href="http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html</link>
	<description>Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:01:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: raoul</title>
		<link>http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html/comment-page-1#comment-8703</link>
		<dc:creator>raoul</dc:creator>
		<pubDate>Mon, 11 Jul 2011 15:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html#comment-8703</guid>
		<description>You should probably use apt::periodic provided by apt instead of relying on an additional package to do the job.

check /etc/cron.daily/apt for options and this page: https://saz.sh/2009/07/10/run-apt-get-update-automatically-under-debian/

alternatively you can put apt::periodic statements in /etc/apt/apt.conf.d/10periodic</description>
		<content:encoded><![CDATA[<p>You should probably use apt::periodic provided by apt instead of relying on an additional package to do the job.</p>
<p>check /etc/cron.daily/apt for options and this page: <a href="https://saz.sh/2009/07/10/run-apt-get-update-automatically-under-debian/" rel="nofollow">https://saz.sh/2009/07/10/run-apt-get-update-automatically-under-debian/</a></p>
<p>alternatively you can put apt::periodic statements in /etc/apt/apt.conf.d/10periodic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry</title>
		<link>http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html/comment-page-1#comment-7946</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Thu, 06 Jan 2011 04:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html#comment-7946</guid>
		<description>I have a new action (appropriately named 5-install)

&lt;code&gt;
cat /etc/cron-apt/action.d/5-install
dist-upgrade -y
autoclean -y
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I have a new action (appropriately named 5-install)</p>
<p><code><br />
cat /etc/cron-apt/action.d/5-install<br />
dist-upgrade -y<br />
autoclean -y<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torsten Skjødt</title>
		<link>http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html/comment-page-1#comment-5419</link>
		<dc:creator>Torsten Skjødt</dc:creator>
		<pubDate>Fri, 30 Jul 2010 08:33:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html#comment-5419</guid>
		<description>Thanks!

I&#039;m managing (among other things) a Debian server in production. I have no scruples doing an auto-install, since my /etc/apt/sources.lst only lists Debian security updates. Those I trust to automatically update.


/TS</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
<p>I&#8217;m managing (among other things) a Debian server in production. I have no scruples doing an auto-install, since my /etc/apt/sources.lst only lists Debian security updates. Those I trust to automatically update.</p>
<p>/TS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Case</title>
		<link>http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html/comment-page-1#comment-4873</link>
		<dc:creator>Case</dc:creator>
		<pubDate>Wed, 14 Apr 2010 15:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html#comment-4873</guid>
		<description>I&#039;m reading a whole bunch of stuff about why it&#039;s not a good idea to to do an unattended upgrade to your system. Gotta say I&#039;m left in two minds on the subject - yeah a whole lot of hurt could be heading your way but is that any different than the pain experienced using M$ auto update. On the other hand, while I couldn&#039;t give two hoots if a workstation gets trashed by auto update I set all my M$ servers to download only  go figure.

Anyway, if you want the script to auto install the updates then all you need to do is edit out the -d switch from the dist-upgrade line in; 

/etc/cron-apt/action/d3-download

The -d switch performs a download only so without it the script is gonna upgrade and installed apps ...I guess it might also be a good idea to rename the file to &quot;3-install&quot; or some such.</description>
		<content:encoded><![CDATA[<p>I&#8217;m reading a whole bunch of stuff about why it&#8217;s not a good idea to to do an unattended upgrade to your system. Gotta say I&#8217;m left in two minds on the subject - yeah a whole lot of hurt could be heading your way but is that any different than the pain experienced using M$ auto update. On the other hand, while I couldn&#8217;t give two hoots if a workstation gets trashed by auto update I set all my M$ servers to download only  go figure.</p>
<p>Anyway, if you want the script to auto install the updates then all you need to do is edit out the -d switch from the dist-upgrade line in; </p>
<p>/etc/cron-apt/action/d3-download</p>
<p>The -d switch performs a download only so without it the script is gonna upgrade and installed apps &#8230;I guess it might also be a good idea to rename the file to &#8220;3-install&#8221; or some such.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Johansen</title>
		<link>http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html/comment-page-1#comment-4290</link>
		<dc:creator>Dennis Johansen</dc:creator>
		<pubDate>Thu, 14 Jan 2010 06:03:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html#comment-4290</guid>
		<description>Anyone who can help me getting this tool to do the install of the downloaded packages? 

Please see the email notification from yesterday - Apparently the tool is in download mode - how to set it to download and install mode?

CRON-APT RUN [/etc/cron-apt/config]: Thu Jan 14 04:00:01 CET 2010
CRON-APT SLEEP: 204, Thu Jan 14 04:03:25 CET 2010
CRON-APT ACTION: 0-update
CRON-APT LINE: /usr/bin/apt-get update -o quiet=2
CRON-APT ACTION: 3-download
CRON-APT LINE: /usr/bin/apt-get autoclean -y
Reading package lists...
Building dependency tree...
Reading state information...
Del libssl0.9.8 0.9.8g-15+lenny5 [2975kB]
Del openssl 0.9.8g-15+lenny5 [1036kB]
CRON-APT LINE: /usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
 libkrb53 libssl0.9.8 openssl
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 4012kB/4493kB of archives.
After this operation, 0B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
 libssl0.9.8 libkrb53 openssl
Authentication warning overridden.
Get:1 http://security.debian.org lenny/updates/main libssl0.9.8 0.9.8g-15+lenny6 [2975kB]
Get:2 http://security.debian.org lenny/updates/main openssl 0.9.8g-15+lenny6 [1036kB]
Fetched 4012kB in 8s (490kB/s)
Download complete and in download only mode</description>
		<content:encoded><![CDATA[<p>Anyone who can help me getting this tool to do the install of the downloaded packages? </p>
<p>Please see the email notification from yesterday - Apparently the tool is in download mode - how to set it to download and install mode?</p>
<p>CRON-APT RUN [/etc/cron-apt/config]: Thu Jan 14 04:00:01 CET 2010<br />
CRON-APT SLEEP: 204, Thu Jan 14 04:03:25 CET 2010<br />
CRON-APT ACTION: 0-update<br />
CRON-APT LINE: /usr/bin/apt-get update -o quiet=2<br />
CRON-APT ACTION: 3-download<br />
CRON-APT LINE: /usr/bin/apt-get autoclean -y<br />
Reading package lists&#8230;<br />
Building dependency tree&#8230;<br />
Reading state information&#8230;<br />
Del libssl0.9.8 0.9.8g-15+lenny5 [2975kB]<br />
Del openssl 0.9.8g-15+lenny5 [1036kB]<br />
CRON-APT LINE: /usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true<br />
Reading package lists&#8230;<br />
Building dependency tree&#8230;<br />
Reading state information&#8230;<br />
The following packages will be upgraded:<br />
 libkrb53 libssl0.9.8 openssl<br />
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br />
Need to get 4012kB/4493kB of archives.<br />
After this operation, 0B of additional disk space will be used.<br />
WARNING: The following packages cannot be authenticated!<br />
 libssl0.9.8 libkrb53 openssl<br />
Authentication warning overridden.<br />
Get:1 <a href="http://security.debian.org" rel="nofollow">http://security.debian.org</a> lenny/updates/main libssl0.9.8 0.9.8g-15+lenny6 [2975kB]<br />
Get:2 <a href="http://security.debian.org" rel="nofollow">http://security.debian.org</a> lenny/updates/main openssl 0.9.8g-15+lenny6 [1036kB]<br />
Fetched 4012kB in 8s (490kB/s)<br />
Download complete and in download only mode</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Johansen</title>
		<link>http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html/comment-page-1#comment-4238</link>
		<dc:creator>Dennis Johansen</dc:creator>
		<pubDate>Thu, 31 Dec 2009 06:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html#comment-4238</guid>
		<description>Yes, I&#039;m with Joe and his polite critic on this issue. Would have been better with small example for the script to actually download and upgrade the box. The mail issue is self explained in the config file, while the explanation of mode to install downloaded packages isn&#039;t?

Anyone out there who&#039;s using this tool?</description>
		<content:encoded><![CDATA[<p>Yes, I&#8217;m with Joe and his polite critic on this issue. Would have been better with small example for the script to actually download and upgrade the box. The mail issue is self explained in the config file, while the explanation of mode to install downloaded packages isn&#8217;t?</p>
<p>Anyone out there who&#8217;s using this tool?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html/comment-page-1#comment-3442</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Mon, 27 Jul 2009 18:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/automatic-update-of-packages-using-cron-apt.html#comment-3442</guid>
		<description>&lt;i&gt;cron-apt Contains a tool that is run by a cron job at regular intervals. By default it just updates the package list and download new packages without installing. You can instruct it to run anything that you can do with apt-get (or aptitude). &lt;/i&gt;

So, how can i get it to go beyond the default and get it to do the install too? that&#039;s far more useful to discuss here than the email options you bother explaining...</description>
		<content:encoded><![CDATA[<p><i>cron-apt Contains a tool that is run by a cron job at regular intervals. By default it just updates the package list and download new packages without installing. You can instruct it to run anything that you can do with apt-get (or aptitude). </i></p>
<p>So, how can i get it to go beyond the default and get it to do the install too? that&#8217;s far more useful to discuss here than the email options you bother explaining&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

