Does Chakra support partial upgrades?


(nobody) #1

Does Chakra support partial upgrades? Can I, for example, run pacman -Sy package or an equivalent such as pacman -Sy followed by pacman -S package?

When trying to run a program in Konsole I get the error message "foo: error while loading shared libraries: cannot open shared object file: No such file or directory" - what should I do?
How to use akabei (beta) to search for, install, upgrade and uninstall packages
How to use pacman to search for, install, upgrade, and uninstall packages
(Hans Tovetjärn) #2


Chakra is a semi-rolling release distribution. That means when new library versions are pushed to the repositories, the team rebuild all the packages in the repositories that need to be rebuilt against the libraries. For example, if two packages depend on the same library, upgrading only one package might also upgrade the 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 such as pacman -Sy followed by pacman -S package. Always upgrade (with pacman -Syu) before installing a package. Be very careful when using IgnorePkg and IgnoreGroup for the same reason. If the system has locally installed packages (such as those built from the source tarballs in the CCR), users will need to rebuild them when their dependencies receive a soname bump.

If a partial upgrade scenario has been created, and binaries are broken because they cannot find the libraries they are linked against, do not “fix” the problem simply by symlinking. Libraries receive soname bumps when they are not backwards compatible. A simple pacman -Syu to a properly synced mirror will fix the problem as long as pacman is not broken.

The bash script checkupdates, included with the pacman package, provides a safe way to check for upgrades to installed packages without running a system update at the same time.

(Hans Tovetjärn) #5

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.