What is the difference between upgrade and full-upgrade?

QuestionsQuestions8 SkillsProYour First Linux LabAug, 27 2025
0714

The difference between apt upgrade and apt full-upgrade is primarily in how they handle package dependencies and changes:

  1. apt upgrade:

    • Upgrades all currently installed packages to their latest versions.
    • Does not remove any packages or install new packages that may be required due to dependency changes.
    • If a package upgrade requires the removal of another package, it will not proceed with that upgrade.
  2. apt full-upgrade:

    • Also upgrades all currently installed packages to their latest versions.
    • Can remove existing packages if necessary to resolve dependencies.
    • May install new packages that are required for the upgrades to succeed.

In summary, apt full-upgrade is more comprehensive and can handle situations where package dependencies change significantly, while apt upgrade is more conservative and avoids removing packages.

0 Comments

no data
Be the first to share your comment!