Hi, i started getting the missing aur packages message on a pretty newly install.
yay seems to install a *-debug package for every aur package i install. DO you guys know what could cause this?
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
-> Missing AUR Debug Packages: pacseek-debug
there is nothing to do
It could be that pacnew files are only created if you modified the original file. In my case, I made changes in /etc/makepkg.conf to use more threads for compilation so I got a pacnew file and merged some of the changes manually.
If you never made any changes in /etc/makepkg.conf to begin with, the update could have just overwritten the file with all of the changes.
I also found it weird that creating a debug package is now enabled by default. The vast majority of people don’t need that and it only leads to confusion.
For each of the #Package backup files being upgraded, pacman cross-compares three md5sums generated from the file’s contents: one sum for the version originally installed by the package, one for the version currently in the filesystem, and one for the version in the new package. If the version of the file currently in the filesystem has been modified from the version originally installed by the package, pacman cannot know how to merge those changes with the new version of the file. Therefore, instead of overwriting the modified file when upgrading, pacman saves the new version with a .pacnew extension and leaves the modified version untouched. https://wiki.archlinux.org/title/Pacman/Pacnew_and_Pacsave#.pacnew
You’re right! Completely slipped my mind that it gets generated only if modified by user
Indeed. I dug a bit into the topic and kind of understand the logic behind enabling lto. What was the reasoning in case of enabled by default debug - still mystery.