# apt-get install cron-apt
# vi /etc/cron.daily/auto-update
# cat /etc/cron.daily/auto-update
#!/bin/bash
/usr/sbin/cron-apt
/usr/bin/apt-get dist-upgrade
# chmod 755 /etc/cron.daily/auto-update
[This process has been updated]
My ongoing experiences with Ubuntu, and later Mythbuntu, as a media center with MythTV. I'm also using the system for a virtual machine server, a mediawiki server and a general all around home infrastructure base.
# apt-get install cron-apt
# vi /etc/cron.daily/auto-update
# cat /etc/cron.daily/auto-update
#!/bin/bash
/usr/sbin/cron-apt
/usr/bin/apt-get dist-upgrade
# chmod 755 /etc/cron.daily/auto-update
# cd/tmp
# wget http://downloads.mythtvtalk.com/mythtv/themes/blootube-wide.tar.bz2
# wget http://downloads.mythtvtalk.com/mythtv/themes/blootube-osd.tar.bz2
# cd /usr/share/mythtv/themes/
# tar xvjpf /tmp/blootube-wide.tar.bz2 -C /usr/share/mythtv/themes/
# tar xvjpf /tmp/blootube-osd.tar.bz2 -C /usr/share/mythtv/themes