More system upgrade tricks

Info, questions, how-to, suggestions
Post Reply
aron
Posts: 88
Joined: Tue Dec 05, 2017 11:06 am

More system upgrade tricks

Post by aron » Wed Mar 21, 2018 1:44 pm

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).

aron
Posts: 88
Joined: Tue Dec 05, 2017 11:06 am

Re: More system upgrade tricks

Post by aron » Thu May 03, 2018 5:40 am

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

Post Reply