Category Archives: UNIX/Linux

Arch Linux: fixing the “yay: error while loading shared libraries: libalpm.so.13” error
0 (0)

17 March 2024

After the latest Arch Linux upgrade, Yay reported the following error: yay: error while loading shared libraries: libalpm.so.13: cannot open shared object file: No such file or directory First, let’s check if we have the libalpm library file, and which version: $ sudo find / -type f -name “*.so*” | grep libalpm /usr/lib/libalpm.so.14.0.0 So, we… Read More: Arch Linux: fixing the “yay: error while loading shared libraries:… »

Loading

Arch Linux: failed to mount on real root
0 (0)

25 July 2023

I updated my Arch Linux yesterday, and for the first time in 9 years of using this system, I encountered an error when after a reboot the system could not mount a disk: ERROR: device UUID not found. mount: /new_root: can’t find UUID. ERROR: Failed to mount UUID on real root. You are now being… Read More: Arch Linux: failed to mount on real root0 (0) »

Loading

Linux: saving laptop’s battery energy
0 (0)

19 November 2022

This time it became interesting to me – is it possible to somehow save the charge of the laptop battery? Not to say that it discharges quickly, it is enough for 5-6 hours of work, but it will not be too much, especially with the current power outages in Ukraine. Found several utilities, and will… Read More: Linux: saving laptop’s battery energy0 (0) »

Arch Linux: pacman – error “HTTP server doesn’t seem to support byte ranges”
0 (0)

30 May 2022

During system upgrade with pacman -Syu, I got internet disruption, and on the next upgrade I got the error from pacman. It sounds like “HTTP server doesn’t seem to support byte ranges. Cannot resume“: [simterm] … ==> Retrieving sources… -> Downloading clightd-5.6.tar.gz… ** Resuming transfer from byte position 12288 % Total % Received % Xferd… Read More: Arch Linux: pacman – error “HTTP server doesn’t seem to… »

Loading

SSH: the “Too many authentication failures” error and its solution
0 (0)

19 March 2022

During an SSH connection, I started getting the “Too many authentication failures” error message from a remote host. The error, and its cause Actually, the root cause is simple: during establishing a new SSH connection, the local ssh-client first tries to use keys, that are loaded by the local ssh-agent, and only after that will… Read More: SSH: the “Too many authentication failures” error and its solution0… »

Loading

Linux: create Gif or record video from the screen
0 (0)

29 September 2021

There are a lot of utilities to create a Git animation for Linux, but I like the peek. Besides the Gif, also can create files in the MP4, WebM, APNG formats. On the Arch Linux can be installed from the AUR: [simterm] $ sudo pacman -S peek [/simterm] Run it: [simterm] $ peek [/simterm] The… Read More: Linux: create Gif or record video from the screen0 (0) »

Loading

Windows: Windows Subsystem for Linux and Ubuntu Linux installation
0 (0)

14 March 2021

Windows Subsystem for Linux (WSL) is a Windows subsystem that helps to run various Linux distribution directly from the Windows OS. WSL version 2 which is the default version now uses the Hyper-V virtualization under the hood to install and run Linux and share files and devices between both systems. Windows Subsystem for Linux To… Read More: Windows: Windows Subsystem for Linux and Ubuntu Linux installation0 (0) »

Loading

Linux: setlocale: LC_ALL: cannot change locale (en_US.utf8) and Cyrillic symbols
0 (0)

4 February 2021

Locales is a set of environment variables that are used to determine how to display data and time (for example, first of the week), symbols encoding (for example, how to display cyrillic symbols), default files order when one executing the ls command, and so on. Those variables are: LANG: Determines the default locale in the… Read More: Linux: setlocale: LC_ALL: cannot change locale (en_US.utf8) and Cyrillic symbols0… »

Loading

Linux: connect Bluetooth headset with bluetoothctl and Blueman
0 (0)

2 February 2021

Recently, I bought a Sony WH-1000XM3 headset. In general, they are great but need to connect them to my laptop with Arch Linux. The documentation about Bluetooth on Arch Linux can be found here>>> and here>>>: Installation Install necessary packages: [simterm] $ sudo pacman -S bluez bluez-utils [/simterm] Check kernel’s module: [simterm] $ lsmod |… Read More: Linux: connect Bluetooth headset with bluetoothctl and Blueman0 (0) »

Loading

Linux: LEMP set up – NGINX, PHP, MySQL, SSL, monitoring, logs, and a WordPress blog migration
0 (0)

6 November 2020

Finally got time to migrate the RTFM.CO.UA blog to a new server with Debian 10. This time manually, without any automation will set up a LEMP stack Wrote a similar at 2016 – Debian: установка LEMP — NGINX + PHP-FPM + MariaDB (Rus), but in time the post is more complete of the process and… Read More: Linux: LEMP set up – NGINX, PHP, MySQL, SSL, monitoring,… »

Loading