Page 1 of 1

More system upgrade tricks

Posted: Wed Mar 21, 2018 1:44 pm
by aron
If your system is not that old, then you might need only this trick:

Code: Select all

# PATH=/run/bin:/run/usr/bin:$PATH
# pkman -Syu
Explanation:
In some cases minor API changes are made, but the new binary versions might not work with the current services. To obtain the old version of a subset of the programs, refer to the /run sub-tree (a few programs are loaded here to able to boot the system).

Re: More system upgrade tricks

Posted: Thu May 03, 2018 5:40 am
by aron
In some circumstances, upgrading the libc might break some application. A symptom is when a dynamically program exits with code 127. For example:

Code: Select all

$ xz -V
$ echo $?
127
$
The solution for this problem is to update the preloaded libc.so, by issuing the following (the -vvv is optional):

Code: Select all

# loadsx -u libc.so /usr/lib/libc.so -vvv