update hangs

Mario Vukelic mario.vukelic at dantian.org
Mon Sep 1 21:12:44 UTC 2008


On Mon, 2008-09-01 at 15:59 -0500, Jeffrey Berger wrote:
> Perhaps sudo is being applied only to the first apt-get?

Exactly. The && links two separate commands together (the second only
being executed if the first succeds), and therefore you need two sudos
(the second one won't ask for the password as it is still cached):

sudo apt-get update && sudo apt-get upgrade





More information about the ubuntu-users mailing list