For TL3s and up: This is a wiki post; please edit as necessary.
Please, consider subscribing to the Stable Updates Announcements RSS feed
Please,, please, please donât comment âEverything is fine with my upgradeâ but use the voting buttons insteadandleave the replies for actual solutions. (Pretty please with and )
New issues:
In some rare cases you may face the following error on your KDE Plasma Desktop: usr/lib/libKF5KIOCore.so.5: undefined symbol: _ZN4KJob14percentChangedEPS_mNS_14QPrivateSignalE.
Please click the âș at the beginning of this line to view this solution
We filed an issue upstream already.
Current workaround is to downgrade kio back to 5.79.0:
wget https://archive.archlinux.org/packages/k/kio/kio-5.79.0-1-x86_64.pkg.tar.zst
sudo pacman -U kio-5.79.0-1-x86_64.pkg.tar.zst
echo "IgnorePkg = kio" | sudo tee -a /etc/pacman.conf
Solution: upstream suggests to reboot the machine or issue kdeinit5 once.
If you need dual-boot you can reactivate os-prober the easiest with the following command combination in a terminal:
echo GRUB_DISABLE_OS_PROBER=false|sudo tee -a /etc/default/grub && sudo update-grub
Please click the âș at the beginning of this line to view this solution
If you get:
Fehler: man-pages-de: signature from "Jaroslav Lichtblau <svetlemodry@archlinux.org>" is unknown trust
:: Datei /var/cache/pacman/pkg/man-pages-de-4.9.3-1-any.pkg.tar.zst ist beschĂ€digt (UngĂŒltiges oder beschĂ€digtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n]
Apache error:httpd: Syntax error on line XXX of /etc/httpd/conf/httpd.conf: Cannot load modules/libphp7.so into server
Please click the âș at the beginning of this line to view this solution
Full error message:
MMM DD HH:MM:SS ServerName httpd[45914]: httpd: Syntax error on line XXX of /etc/httpd/conf/httpd.conf: Cannot load modules/libphp7.so into server: /etc/httpd/modules/libphp7.so: cannot open shared object file: No such file or directory
MMM DD HH:MM:SS ServerName systemd[1]: httpd.service: Control process exited, code=exited, status=1/FAILURE
MMM DD HH:MM:SS ServerName systemd[1]: httpd.service: Failed with result âexit-codeâ.âexit-codeâ.
Execute:
sudo nano --backup /etc/httpd/httpd.conf
change the following lines:
LoadModule php7_module modules/libphp7.so
Include conf/extra/php7_module.conf
to:
LoadModule php_module modules/libphp.so
Include conf/extra/php_module.conf
Respectively! (They are not necessarily next to one another!)
Save (Ctrl+XEnterY)
Restart Apache (or reboot if you donât know how or to to get that Window$ feeling again)
Pulseeffects stopped working
Please click the âș at the beginning of this line to view this solution
pulseeffects-legacy does not depend on Pipewire and does not require removal of PulseAudio packages
gnome-shell-extension-desktop-iconscannot be updated
"Please click the âș at the beginning of this line to view this solution
error: failed to commit transaction (conflicting files)
gnome-shell-extension-desktop-icons: /usr/share/gnome-shell/extensions/desktop-icons@csoriano/schemas/gschemas.compiled exists in filesystem
Errors occurred, no packages were upgraded.
Compile the driver (if you get an error, see Note 3):
cd nvidia-450xx-utils && makepkg -si
cd ../lib32-nvidia-450xx-utils && makepkg -si
cd ../nvidia-450xx && makepkg -sif
Reboot on kernel 5.4 (see Note 1 below on how to do this)
Now, everything is working again! To check if youâre indeed running kernel Linux 5.4, you can run uname --kernel-release in a console, and to check if youâre running the driver you just compiled, you can run inxi --graphics --display OR nvidia-smi
Note 1: to choose which kernel to boot on, you need to edit those two lines in /etc/default/grub to match those (5 as in 5 seconds to make your choice on the menu, you can put whatever):
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=menu
Then, run sudo update-grub. When booting, youâll now see a menu with all installed kernels so you can choose which one to use for this session.
Then finally execute the reboot command:
sudo reboot
Note 2: During step 5 and 6: If you already have compiled the nvidia driver during last update, you can skip cloning nvidia-450xx-utils and lib32-nvidia-450xx-utils (you already have the sources, you just need to compile them again), but I suggest you remove your older nvidia-450xx folder (rm -rf nvidia-450xx) and clone it again before compiling this one, otherwise you will get an error like âfolder already existsâ when trying to compile.
Note 3: When trying to compile the driver, you might get an error with two nvidia packages creating conflicts (I think lib32-nvidia-utils was one of them, I donât remember the other one). To fix that, just uninstall those packages with pamac remove <package>.
Iâm still running on nvidia-450 and I want to upgrade to 460 (Kernel 5.10):
Please click the âș at the beginning of this line to view this solution
Print this page so you have it as a reference while in TTY2
Log off
Switch to TTY2 by pressing Ctrl+Alt+F2
Log in there
Execute:
pamac remove nvidia-450xx-utils
#you will get some warnings about optional components needing this:
# no worries, you'll install 460 in the next line
sudo mhwd --install pci video-nvidia
sudo reboot
Recent Arch Linux news:
PHP 8.0 and PHP 7 legacy packages are available
PHP 8.0 and PHP 7 legacy packages are available
2021-01-28 - Pierre Schmitz
The php package has been updated to version 8.0. Please refer to the upstream migration guide. As some applications are not compatible with PHP 8 yet we provide a php7 package which can be installed alongside version 8. Packages that depend on PHP reflect this update and will require php7 if needed. You might need to update your configuration accordingly. PHP 7 binaries and configuration have the â7â suffix:
Note that support for php7 will be limited and likely be dropped in about a year depending on how soon the majority of applications will be compatible with version 8.
Google has announced that they are going to block everything but Chrome from accessing certain Google features (like Chrome sync) starting on March 15. This decision by Google is going to affect Archâs chromium package a bit earlier, on March 2, when Chromium 89 gets released.
We know for sure that data syncing will stop working (passwords, bookmarks, etc.). Other features such as geolocation or enhanced spell check might continue to function for a bit longer. Extensions integrating with Google Drive might misbehave and LibreOffice will lose access to documents stored there.
Other distros such as openSUSE and Fedora have already removed the soon-to-be-limited API keys from their Chromium 88 packages. Fedoraâs advisory provides a great deal of perspective on this and I also found this Hackaday post to be quite informative.
Moving to Zstandard images by default on mkinitcpio
Moving to Zstandard images by default on mkinitcpio
2021-02-19 - Giancarlo Razzolini
As linux-lts moved to the 5.10 version, all official kernels of Arch Linux now support zstd compressed initramfs images, so mkinitcpio is switching to zstd compressed images by default with version 30, which is currently on [testing].
If, for any reason, you are using a kernel version prior to 5.9, make sure to change mkinitcpio.conf COMPRESSION to use one of the compressors supported, like gzip, otherwise you will not be able to boot images generated by mkinitcpio.
We recommend to switch over to Nouveau drivers if your card is mentioned here and the feature you need is not in red TO DOhere for your particular card.
If you however still need proprietary drivers, you may want to execute the following to ensure all parts of the nVidia drivers get installed properly:
sudo mhwd -a pci nonfree 0300
If proprietary drivers don't fix everything, please click the âș at the beginning of this line to view more info
For AMD GPU users having a black screen with kernel 5.10
Please click the âș at the beginning of this line to view more info
Due to a bug in the AMD drivers, please try the following first:
For GRUB:
Open a terminal or a TTY
Open /etc/default/grub in your favourite CLI editor (nano vi, emacs`)
Find the line: GRUB_CMDLINE_LINUX_DEFAULT="
Add amdgpu.dc=0
Save
Execute sudo update-grub and reboot
For systemd-boot:
Open a terminal or a TTY
Open /boot/loader/entries/manjarolinux5.10.conf in your favourite CLI editor (nano vi, emacs`)
Add amdgpu.dc=0 to the end of the line options
Save & reboot
For rEFInd:
Open a terminal or a TTY
Open /boot/refind_linux.conf in your favourite CLI editor (nano vi, emacs`)
Find the line: "Boot using default options" "root=
Add amdgpu.dc=0
Save & reboot
Possible 2 Min delay on shutdown with Gnome
Please click the âș at the beginning of this line to view more info
If you got the problem with shutdown delay (about 2min) on Gnome, here is a workaround:
Edit /usr/lib/systemd/user/gnome-session-restart-dbus.service in your favourite editor as root and add Slice=-.slice as a line all by itself like this:
You get [PKGNAME] warning: directory permissions differ on [Directory name]
followed by:
Filesystem: NNN package MMM
Please click the âș at the beginning of this line to view this solution
The solution:
sudo chmod MMM DirectoryName
Where obviously MMM is the second number you see (the correct one)
The explanation:
Your package expects the security permissions to be MMM but your system is set to NNN. This is just a warning (today) but to ensure you remain up-to-date with the latest and greatest security rules itâs advised to execute the above command.
Systemd error message: .slice: Failed to migrate controller cgroups
If you have a similar error message like this:
systemd[1004]: -.slice: Failed to migrate controller cgroups from /user.slice/user-1000.slice/user@1000.service, ignoring: Permission denied
⊠you may need to add this Grub parameter to your /etc/default/grub file in line GRUB_CMDLINE_LINUX_DEFAULT: systemd.unified_cgroup_hierarchy=true. To update your grub menu, call: sudo update-grub. For more information on that issue, see also Arch Forum.
CUPS update need manual intervention
After you update your system, update your systemd services like this:
xf86-video-intel already exists in filesystem errors
Please click the âș at the beginning of this line to view this solution
If you get something like this:
error: failed to commit transaction (conflicting files)
xf86-video-intel: /usr/bin/intel-virtual-output exists in filesystem
xf86-video-intel: /usr/lib/libI810XvMC.so exists in filesystem
...
xf86-video-intel: /usr/share/man/man4/intel.4.gz exists in filesystem
xf86-video-intel: /usr/share/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy exists in filesystem
Errors occurred, no packages were upgraded.
Just delete the files that are in conflictand perform the upgrade again.
nvidia-450xx-utils and nvidia-440xx-utils are in conflict
Please click the âș at the beginning of this line to view this solution
If you get the following error message:
resolving dependencies...
looking for conflicting packages...
:: nvidia-450xx-utils and nvidia-440xx-utils are in conflict (nvidia-libgl). Remove nvidia-440xx-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'nvidia-440xx-utils=440.100' required by linux54-nvidia-440xx
:: removing nvidia-440xx-utils breaks dependency 'nvidia-440xx-utils=440.100' required by linux58-nvidia-440xx
Warning: do not reboot until this procedure tells you to starting from the next step!
Please note the exact nVidia driver you have running by executing:
mhwd --listinstalled
Please note the kernel(s) youâve got installed and remove anything 440-related, including CUDA by executing:
pamac remove nvidia-440xx-utils linuxZZ-nvidia-440xx cuda nvtop
where ZZ is/are the kernel version(s) youâre running.
Repeat for all the kernel versions you have
How do I know which kernel versions I have?
execute ls /boot/linux*
any nulber after linuxbefore the - (minus sign) are the kernel(s) you have installed
If you would have any other old nVidia drivers that you donât need any more because your card is supported by the 450 series get rid of them as well.
now install the same family of 450 driver you had for the 440 driver, by executing:
mhwd --install pci Your450Family
where Your450Family is obviously one of video-hybrid-amd-nvidia-440xx-primeORvideo-nvidia-440xx that you noted above
And finally:
sudo reboot
If this would not have solved your issue, please open a new issue here and state that you followed this procedure already.
Warning: directory permissions differ on /var/lib/dhcpcd/
followed by:
filesystem: 700 package: 755
Please click the âș at the beginning of this line to view this solution
The solution:
sudo chmod 755 /var/lib/dhcpcd/
The explanation:
The DHCP Daemon expects the security permissions to be 755 but your system is set to 700. This is just a warning (today) but to ensure you remain up-to-date with the latest and greatest security rules itâs advised to execute the above command.
virtualbox NS_ERROR_FAILURE (0x80004005)
Please click the âș at the beginning of this line to view this solution
The solution:
You need to add your user back into the virtualbox user group
sudo usermod --append --groups vboxusers $USER
(Change $USER to the correct user name if not for yourself)
Upgrade the VirtualBox extension pack to the latest version by executing:
pamac build virtualbox-ext-oracle
PAM and PAMBASE got updated, which might prevent you from login
Please click the âș at the beginning of this line to view more detailed information
Due to updates from pambase and pam you might take care about any .pacnew files in /etc/pam.d as for example pam_tally, pam_tally2 and pam_cracklib got deprecated. Read in the ArchWiki about managing those files.
Typical issue:
For recovery, it is enough to boot with kernel option âsystemd.unit=rescue.targetâ, then proceed into /etc/pam.d and merge âsystem-authâ and âsystem-auth.pacnewâ
Bad font rendering after freetype2 upgrade
Please click the âș at the beginning of this line to view more detailed information
There were some changes in the freetype2 version 2.10.3 which enable subpixel rendering.
This might look ugly without enabling lcdfilter at the same time.
You can create a symlink in /etc/fonts/conf.d/ to enable âlcddefaultâ as filter.
If youâve got errors like Failed to start Network Manager Wait Online. you can try removing systemd from passwd and group in /etc/nsswitch.conf as described here Update: If you can see the line dbus-daemon[1453]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 45146ms)
in in your dbus log ( journalctl -b -u dbus ), the new/better workaround is to switch cups from service to socket as described here: systemctl disable cups.service systemctl enable cups.socket
I think Iâve some font problems
With the update of fontconfig some major rules how fonts get applied changed. Make sure that your system has ttf-dejavu installed. A more in depth explanation can be found here.
Gnome-shell-extension-pop-shell is currently incompatible with wayland
⊠and causes the system to freeze when the first window is tiled and can render it unbootable. Solution is a hard reset and disabling either pop shell or wayland. If the system becomes unbootable, use a live USB to edit /etc/gdm/custom.conf to disable wayland and reboot.
Iâm sure they give it a bit of time after they upload the update so that the mirrors have time to sync. As of right now there are still 32 mirrors that arenât fully in sync. It takes time, they donât want to announce it and then have a thread full of people complaining that they canât update.
The issue seems to be that gdm doesnât start when the bootsplash is enabled for me, specifically it seems the bootsplash doesnât release /dev/dri/card0 properly:
apr 18 16:24:24 harman /usr/lib/gdm-x-session[928]: (II) xfree86: Adding drm device (/dev/dri/card0)
apr 18 16:24:24 harman /usr/lib/gdm-x-session[928]: (EE) systemd-logind: failed to take device /dev/dri/card0: Device or resource busy
apr 18 16:24:24 harman /usr/lib/gdm-x-session[928]: (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
This doesnât happen when splash is removed from the kernel line:
apr 18 17:00:16 harman /usr/lib/gdm-x-session[1078]: (II) xfree86: Adding drm device (/dev/dri/card0)
apr 18 17:00:16 harman /usr/lib/gdm-x-session[1078]: (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
apr 18 17:00:16 harman /usr/lib/gdm-x-session[1078]: (II) xfree86: Adding drm device (/dev/dri/card1)
apr 18 17:00:16 harman /usr/lib/gdm-x-session[1078]: (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 12 paused 0
E: Downgrading plymouth doesnât solve the problem.