Manjaro Difference between revisions of "System Maintenance"

Difference between revisions of "System Maintenance"

From Manjaro
imported>Fhdk
imported>Fhdk
Line 1: Line 1:
== General Recommendation ==
== General Recommendation ==


=== Partial updates/upgrades are unsupported ===
=== Partial updates/upgrades are unsupported <small>Archlinux wiki - System Maintenance</small>===


When new library versions are pushed to the repos, all developers and packagers, rebuild all packages against the libraries. For example, if two packages depend on the same library, upgrading only one package might also upgrade library (as a dependency), which might then break the other package which depends on an older version of the library.
When new library versions are pushed to the repos, all developers and packagers, rebuild all packages against the libraries. For example, if two packages depend on the same library, upgrading only one package might also upgrade library (as a dependency), which might then break the other package which depends on an older version of the library.


That is why partial upgrades are '''not supported'''
That is why partial upgrades are '''not supported'''. do not use <code>pacman -Sy [package]</code> or any equivalent sua as <code>pacman -Sy</code> followed by <code>pacman -S [package]</code>. '''Always''' upgrade (with <code>pacman -Syu</code>) before installing a package. Be very careful when useing <code>IgnorePkg</code> and <code>IgnoreGroup</code> for the same reason. If the system has locally installed packages (such as AUR packages), users will need to rebuild them when theri dependices recieve a soname bump.


'''Always''' follow these recommendations:
'''Always''' follow these recommendations:

Revision as of 10:12, 9 March 2018

General Recommendation

Partial updates/upgrades are unsupported Archlinux wiki - System Maintenance

When new library versions are pushed to the repos, all developers and packagers, rebuild all packages against the libraries. For example, if two packages depend on the same library, upgrading only one package might also upgrade library (as a dependency), which might then break the other package which depends on an older version of the library.

That is why partial upgrades are not supported. do not use pacman -Sy [package] or any equivalent sua as pacman -Sy followed by pacman -S [package]. Always upgrade (with pacman -Syu) before installing a package. Be very careful when useing IgnorePkg and IgnoreGroup for the same reason. If the system has locally installed packages (such as AUR packages), users will need to rebuild them when theri dependices recieve a soname bump.

Always follow these recommendations:

  • Do not make temporary branch changes and mix in packages from other branches. It is - we believe - one cause of partial updates which can break systems.
  • Do a full system update after changing branch or updating your mirrorlist
sudo pacman -Syyu
  • When you install a package update your system
sudo pacman -Syu [some-package-name]
  • Do not use the pacman downgrade switch (-Suu).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.