D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Cron-apt on Debian Squeeze

 

> Upgraded from Lenny last week and ever since my cron-apt seems not to be
> working. The odd thing is that I am downloading updates but not
> installing them
>
> I cannot see any reason why this should be, can someone point out where
> I can check problems
>
> Key details
>
> - I use aptitude not apt-get
> - Syslog
>
> Apr 29 04:48:35 newdebian cron-apt: CRON-APT RUN [/etc/cron-apt/config]:
> Wed Apr 29 04:00:02 BST 2009
> Apr 29 04:48:35 newdebian cron-apt: CRON-APT SLEEP: 2829, Wed Apr 29
> 04:47:11 BST 2009
> Apr 29 04:48:35 newdebian cron-apt: CRON-APT ACTION: 0-update
> Apr 29 04:48:35 newdebian cron-apt: CRON-APT LINE: /usr/bin/aptitude
> update -o quiet=2
> Apr 29 04:48:35 newdebian cron-apt: Reading package lists...
>
> That is it. It is as if cron-apt is reading /etc/cron-apt/action.d/
>       executing the commands in 0-update
>       not executing 3-downloads
>
> - var/log/cron-apt is empty
>
>
> --
> Henry
> Photocopies or faxes of my signature are not binding.
> This email has been signed with an electronic signature in accordance with
> subsection 7(3) of the Electronic Communications Act 2000.
> Digital Key Signature: GPG RSA 0xFB447AA1
> Wed Apr 29 07:17:16 BST 2009
> --
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html
>

Henry you might want to check your /etc/cron-apt/action.d/3-upgrade file

probably it has a -d flag in it which forces download-only mode.

mine currently reads :-

dist-upgrade -y -o APT::Get:Show-Upgraded=true

I think prior to my amendments it read

dist-upgrade -d -y -o APT::Get:Show-Upgraded=true

Hope this helps


Tom.




-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html