Are you on a graphical system where you have sudo access but for some reason or another sudo’s broken? Well, what you can do is use gksudo as an alternative as follows.


sudo apt-get update


gksudo "apt-get update"

(note the quotes… they be required, else you might interfere with gksudo with command line switches.)