How should I apply security patches? [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
-1
down vote

favorite













This question already has an answer here:



  • Why use apt-get upgrade instead of apt-get dist-upgrade?

    5 answers



I usually do apt-get update then apt-get upgrade and in some cases apt-get dist-upgrade.



What's the difference?







share|improve this question














marked as duplicate by DK Bose, karel, dobey, Byte Commander, αғsнιη Apr 22 at 17:13


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • See askubuntu.com/q/194651/799387.
    – dsstorefile1
    Apr 22 at 9:15














up vote
-1
down vote

favorite













This question already has an answer here:



  • Why use apt-get upgrade instead of apt-get dist-upgrade?

    5 answers



I usually do apt-get update then apt-get upgrade and in some cases apt-get dist-upgrade.



What's the difference?







share|improve this question














marked as duplicate by DK Bose, karel, dobey, Byte Commander, αғsнιη Apr 22 at 17:13


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • See askubuntu.com/q/194651/799387.
    – dsstorefile1
    Apr 22 at 9:15












up vote
-1
down vote

favorite









up vote
-1
down vote

favorite












This question already has an answer here:



  • Why use apt-get upgrade instead of apt-get dist-upgrade?

    5 answers



I usually do apt-get update then apt-get upgrade and in some cases apt-get dist-upgrade.



What's the difference?







share|improve this question















This question already has an answer here:



  • Why use apt-get upgrade instead of apt-get dist-upgrade?

    5 answers



I usually do apt-get update then apt-get upgrade and in some cases apt-get dist-upgrade.



What's the difference?





This question already has an answer here:



  • Why use apt-get upgrade instead of apt-get dist-upgrade?

    5 answers









share|improve this question













share|improve this question




share|improve this question








edited Apr 22 at 14:28









Eliah Kagan

79.5k20221359




79.5k20221359










asked Apr 22 at 9:02









Webmaster TheCMG

1




1




marked as duplicate by DK Bose, karel, dobey, Byte Commander, αғsнιη Apr 22 at 17:13


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by DK Bose, karel, dobey, Byte Commander, αғsнιη Apr 22 at 17:13


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.













  • See askubuntu.com/q/194651/799387.
    – dsstorefile1
    Apr 22 at 9:15
















  • See askubuntu.com/q/194651/799387.
    – dsstorefile1
    Apr 22 at 9:15















See askubuntu.com/q/194651/799387.
– dsstorefile1
Apr 22 at 9:15




See askubuntu.com/q/194651/799387.
– dsstorefile1
Apr 22 at 9:15










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Excerpt from the apt-get man pages:



 update
update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched
from the location(s) specified in /etc/apt/sources.list. For example, when using a Debian archive, this command retrieves and
scans the Packages.gz files, so that information about new and updated packages is available. An update should always be
performed before an upgrade or dist-upgrade. Please be aware that the overall progress meter will be incorrect as the size of
the package files cannot be known in advance.

upgrade
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
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. The dist-upgrade command may therefore 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.


For further information, run man apt-get in a terminal of your choice.



Besides that, I would advise not to run any command, if you don't have at least a rough idea of what it is supposed to do.






share|improve this answer




















  • Obviously I do. Just wanted to learn. Nothing wrong with asking. I knew basically what was happening but wanted some details since I've not done Unix admin for years and didn't recall Ubuntu details
    – Webmaster TheCMG
    Apr 22 at 20:39

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













Excerpt from the apt-get man pages:



 update
update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched
from the location(s) specified in /etc/apt/sources.list. For example, when using a Debian archive, this command retrieves and
scans the Packages.gz files, so that information about new and updated packages is available. An update should always be
performed before an upgrade or dist-upgrade. Please be aware that the overall progress meter will be incorrect as the size of
the package files cannot be known in advance.

upgrade
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
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. The dist-upgrade command may therefore 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.


For further information, run man apt-get in a terminal of your choice.



Besides that, I would advise not to run any command, if you don't have at least a rough idea of what it is supposed to do.






share|improve this answer




















  • Obviously I do. Just wanted to learn. Nothing wrong with asking. I knew basically what was happening but wanted some details since I've not done Unix admin for years and didn't recall Ubuntu details
    – Webmaster TheCMG
    Apr 22 at 20:39














up vote
0
down vote













Excerpt from the apt-get man pages:



 update
update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched
from the location(s) specified in /etc/apt/sources.list. For example, when using a Debian archive, this command retrieves and
scans the Packages.gz files, so that information about new and updated packages is available. An update should always be
performed before an upgrade or dist-upgrade. Please be aware that the overall progress meter will be incorrect as the size of
the package files cannot be known in advance.

upgrade
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
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. The dist-upgrade command may therefore 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.


For further information, run man apt-get in a terminal of your choice.



Besides that, I would advise not to run any command, if you don't have at least a rough idea of what it is supposed to do.






share|improve this answer




















  • Obviously I do. Just wanted to learn. Nothing wrong with asking. I knew basically what was happening but wanted some details since I've not done Unix admin for years and didn't recall Ubuntu details
    – Webmaster TheCMG
    Apr 22 at 20:39












up vote
0
down vote










up vote
0
down vote









Excerpt from the apt-get man pages:



 update
update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched
from the location(s) specified in /etc/apt/sources.list. For example, when using a Debian archive, this command retrieves and
scans the Packages.gz files, so that information about new and updated packages is available. An update should always be
performed before an upgrade or dist-upgrade. Please be aware that the overall progress meter will be incorrect as the size of
the package files cannot be known in advance.

upgrade
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
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. The dist-upgrade command may therefore 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.


For further information, run man apt-get in a terminal of your choice.



Besides that, I would advise not to run any command, if you don't have at least a rough idea of what it is supposed to do.






share|improve this answer












Excerpt from the apt-get man pages:



 update
update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched
from the location(s) specified in /etc/apt/sources.list. For example, when using a Debian archive, this command retrieves and
scans the Packages.gz files, so that information about new and updated packages is available. An update should always be
performed before an upgrade or dist-upgrade. Please be aware that the overall progress meter will be incorrect as the size of
the package files cannot be known in advance.

upgrade
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
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. The dist-upgrade command may therefore 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.


For further information, run man apt-get in a terminal of your choice.



Besides that, I would advise not to run any command, if you don't have at least a rough idea of what it is supposed to do.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 22 at 9:18









Wanderer

8119




8119











  • Obviously I do. Just wanted to learn. Nothing wrong with asking. I knew basically what was happening but wanted some details since I've not done Unix admin for years and didn't recall Ubuntu details
    – Webmaster TheCMG
    Apr 22 at 20:39
















  • Obviously I do. Just wanted to learn. Nothing wrong with asking. I knew basically what was happening but wanted some details since I've not done Unix admin for years and didn't recall Ubuntu details
    – Webmaster TheCMG
    Apr 22 at 20:39















Obviously I do. Just wanted to learn. Nothing wrong with asking. I knew basically what was happening but wanted some details since I've not done Unix admin for years and didn't recall Ubuntu details
– Webmaster TheCMG
Apr 22 at 20:39




Obviously I do. Just wanted to learn. Nothing wrong with asking. I knew basically what was happening but wanted some details since I've not done Unix admin for years and didn't recall Ubuntu details
– Webmaster TheCMG
Apr 22 at 20:39


Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error

How do I move numbers in filenames, in a batch renaming operation?