I tried to use visudo to edit the sudoers setting, and I added a line for my account below the root, here is how I do it
username ALL=(ALL) NOPASSWD:/usr/bin/apt-get update,/usr/bin/apt-get dist-upgrade,/usr/bin/apt-get autoclean
But it just doesn't work!