update hangs

Jeffrey Berger yaza_design at mac.com
Mon Sep 1 21:45:08 UTC 2008


On Mon, 2008-09-01 at 23:12 +0200, Mario Vukelic wrote:
> 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


Worked like a charm. Thanks!!
-J





More information about the ubuntu-users mailing list