Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • 5
    I was hoping this could be done without root Commented Feb 6, 2015 at 17:33
  • 19
    If you type "Y" and press Enter, this command will install updates. I would definitely recommend to add "-s", otherwise this answer is misleading Commented Jun 17, 2015 at 7:26
  • 5
    This is a very wrong answer because (without additional options) the command waits for input and if the user enters the wrong input, the package are installed, which modifies the system which is not what the OP wants (just happened on my system) Commented Nov 1, 2015 at 13:11
  • And btw: -u is a default option of apt-get Commented Nov 1, 2015 at 13:17
  • 1
    @ThorSummoner '-s' will do what you want & works without root Commented Dec 16, 2015 at 23:47