On Thu, 2013-12-12 at 16:10 +0100, Ralf Mardorf wrote:
> sudo sh -c "apt-get update && apt-get dist-upgrade -y ; poweroff"

sudo sh -c "apt-get update && apt-get dist-upgrade --dry-run ; apt-get
dist-upgrade -y ; poweroff"

-y without a dry run :S, OTOH, the OP want's to go to sleep, so the
dry-run first doesn't improve something.

It's simply a bad idea to automate an upgrade. 




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1386861344.1257.302.camel@archlinux

Reply via email to