TOOL » LINUX » ARCH
Maintenance
Downgrade package
Check the latest updates in /var/log/pacman.log. To downgrade a package, run (example of svt-av1):
shell
sudo pacman -U file:///var/cache/pacman/pkg/svt-av1-2.2.1-1-x86_64.pkg.tar.zstThen to prevent upgrade of that package, edit /etc/pacman.conf:
txt
IgnorePkg = svt-av1System cleanup
Every week, delete all cached versions of installed and uninstalled packages, except for the most recent three:
shell
sudo systemctl start/enable paccache.timerRemove packages that are no longer installed from the cache as well as currently unused sync databases to free up disk space. Use one --clean switch to only remove packages that are no longer installed. Use two to remove all files from the cache.
shell
sudo pacman -ScMissing .so file
Search for package that installs a missing .so file:
shell
pkgfile -s libcrypt.so.1