Need guidance about update and problems after. (picom, polkit, replace kernel?)

Welcome to the forum! :vulcan_salute:

Absolutely not. yay is an AUR helper, and it is strongly advised to not use any AUR helpers for updating your system packages, due to the possibility that they will pull in an AUR package with the same title as a repository package when both exist at the same time.

Update your system with pacman instead, and you can update the AUR packages afterwards — I use the command-line version of pamac for that. Also, always refresh your mirrors before running a major update. :backhand_index_pointing_down:

sudo pacman-mirrors -f && sudo pacman -Syu && pamac update --aur --devel

Recommended reading… :backhand_index_pointing_down:

If you use btrfs with snapshots, then you may need to delete some of the older snapshots.

There is if you use pacman.

If you have an empty partition with a Linux-native filesystem, then you can mount this volume to /var/cache/pacman/pkg before updating, and then this will be where your downloaded packages will be stored. You could even make this permanent by adding the empty partition to /etc/fstab with /var/cache/pacman/pkg as the mountpoint.

Some recommended literature to help you on your way… :backhand_index_pointing_down:

No, but — again — if you are on btrfs, then it may pay to check the usage of your filesystem, and if necessary, run a balance operation. :backhand_index_pointing_down:

It is advisable to completely log out of the graphical environment and log into a tty for updating the system — see my HowTo higher up this post.

AMD graphics commonly don’t require any additional configuration. They should work out-of-the-box, because the driver is in the kernel.

The recommended kernel is 6.18, which is an LTS kernel — it will be supported until (at least) December 2028.

Not if you stick to LTS kernels.

That is a very bad strategy. I would advise you to unmask it again and use a newer kernel.

The other solution, if you were to want to stick to 6.1, would be to set the SUID bit on /usr/lib/polkit-1/polkit-agent-helper-1.

sudo chmod 4755 /usr/lib/polkit-1/polkit-agent-helper-1

Note that this is only needed if you stick with the older kernel. On newer kernels it is advised to not have the SUID bit set on that file, because doing so is a security risk. That’s why the change was implemented in the first place.

See my reply here-above. :wink:

The forum has a built-in search function, albeit that — admittedly — it’s not exactly a good one. :face_with_diagonal_mouth:

5 Likes