Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Linux Updated?

  1. #11
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Linux Updated?

    Just to clarify things a bit, performing a 'sudo apt-get upgrade' may not bring your system completely up to date. The command will only update packages that are already on your system, it won't install any new packages that are needed to bring your system up to date (kernels being the most obvious example).

    To make sure that your system is fully up to date you should run...
    Code:
    sudo apt-get update
    sudo apt-get dist-upgrade
    Cheesemill

  2. #12
    Join Date
    Apr 2013
    Beans
    262

    Re: Linux Updated?

    Code:
    performing a 'sudo apt-get upgrade' may not bring your system completely up to date.
    Got it...thanks for the help, this seems to be the alternative to opening update manger.

  3. #13
    Join Date
    Nov 2005
    Location
    Lincolnshire, UK
    Beans
    1,461
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Linux Updated?

    sudo apt-get dist-upgrade should, however, only be run with caution. From "man apt-get"...
    upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. An update must be performed first so that apt-get knows that new versions of packages are available.
    dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. So, dist-upgrade command may remove some packages. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages.
    Always check the proposed changes when running "upgrade" and, especially, "dist-upgrade" to make sure you are totally happy about what will be upgraded and, particularly, removed.

Page 2 of 2 FirstFirst 12

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
  •