Results 1 to 6 of 6

Thread: How to install all updates via terminal?

  1. #1
    Join Date
    Jul 2007
    Location
    Seattle
    Beans
    484
    Distro
    Ubuntu 12.04 Precise Pangolin

    How to install all updates via terminal?

    I have noticed that I still get the update manager popping up after doing a:

    sudo apt-get update
    sudo apt-get upgrade

    and installing all updates. It appears that updates can be in one or both categories:
    GUI update manager
    terminal update manager

    Since I am seeing the GUT update manager ask to install packages that are not mentioned by the terminal update manager.

    How do I install all updates via the terminal only?
    “Freedom without socialism is privilege and injustice, and socialism without freedom is slavery and brutality.” -Mikhail Bakunin
    Open source is anarchism in action.

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas
    Beans
    1,296
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: How to install all updates via terminal?

    They are both the same as far as I know. What kind of updates is the GUI showing? Are they distribution upgrades or individual packages?

  3. #3
    Join Date
    May 2012
    Location
    UK
    Beans
    614

    Re: How to install all updates via terminal?

    you need to do
    Code:
    sudo apt-get dist-upgrade
    this does not do a version upgrade, it is the equivalent of what the GUI method uses.

  4. #4
    Join Date
    Feb 2009
    Location
    Dallas
    Beans
    1,296
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: How to install all updates via terminal?

    Quote Originally Posted by black veils View Post
    you need to do
    Code:
    sudo apt-get dist-upgrade
    this does not do a version upgrade, it is the equivalent of what the GUI method uses.
    What's the difference? Just newer kernels?

  5. #5
    Join Date
    May 2012
    Location
    UK
    Beans
    614

    Re: How to install all updates via terminal?

    upgrade only updates software already on the system, it does not remove or add anything else.

    dist-upgrade allows also the removal of obsolete packages, when it required by installing something new, for example. i am not good at explaining, but upgrade alone is a stunted way to do things, so you will get errors sometimes, as it is restricted.

    EDIT:
    http://ubuntulinuxtipstricks.blogspo...confusion.html
    Last edited by black veils; August 30th, 2012 at 09:20 PM.

  6. #6
    Join Date
    Jul 2007
    Location
    Seattle
    Beans
    484
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to install all updates via terminal?

    In the GUI updater, I'm seeing various kernel packages and other things. I should have done a screenshot of it. Maybe I will in a few weeks or so.

    So it sounds like:
    sudo apt-get dist-upgrade

    Is the command I should be using.

    Thanks for the help everyone!
    “Freedom without socialism is privilege and injustice, and socialism without freedom is slavery and brutality.” -Mikhail Bakunin
    Open source is anarchism in action.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •