Apt-getupgrade [-u] is upgraded, so the installed package is the latest available version. Old packages will not be installed or removed. If a package changes its dependency and needs to be installed with a new package, it will not be upgraded, but will be marked as hold. Apt-getupdate will not upgrade the package marked as "hold" (this is what "hold" means ). See how to manually set the package to hold. I suggest using the '-U' option at the same time, because you can see which packages apt-get upgrade [-u]
Upgrade the package to the latest available version. Old packages will not be installed or removed. If a package changes its dependency and needs to be installed with a new package, it will not be upgraded, but will be marked as hold. Apt-get update will not upgrade the package marked as "hold" (this is what "hold" means ). See how to manually set the package to hold. We recommend that you use the '-U' option at the same time, because you can see which packages will be upgraded.
Apt-get dist-upgrade [-u]
Similar to apt-get upgrade, apart from dist-upgrade, packages are installed and removed to satisfy the dependency. Therefore, it is dangerous.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service