What is the difference between rebuilding, and updating?

If there is any difference.

Building is the process of compiling software.

You are never building repo packages.

Any AUR (or foreign) package that is not just deploying a binary (-bin or similar) will need to be built. It will similarly need to be rebuilt against current system libraries after regular system upgrades.

These kinds of builds are not part of the regular update procedure unless you use some sort of extra script, logic, or included option such as those for --devel in yay/paru .. but those will likely only apply to certain changes and only to VCS packages (-git). You may be better informed about when manual rebuilds are required if you use a utility like rebuild-detector.

1 Like

That s what I used to see that a few packages need to be rebuilt. Mainly librewolf. I ran checkrebuild and it showed three apps that need rebuilding;

$ checkrebuild
foreign|librewolf-bin
foreign|pdf4qt-bin
foreign|zen-browser-bin

I thought running a yay update would fix it, but checkrebuild still shows librewolf needing to be rebuilt. I ve actually never rebuilt an app, so I m not sure how to proceed.

Note: I just found this thread. I guess I will ignore what rebuild-detector is saying.

1 Like

$ checkrebuild
foreign librewolf-bin

just updated system and librewolf a couple hours ago. Can confirm that checkrebuild same as what you got message but yay did not and that’s where the ā€˜foreign’ package things announce themselves

I didn’t read your link. Evidently something is not talking to something fast enough. but good all the same.

1 Like