When I install something from yay, I get following options:
Packages to cleanBuild?
[N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
Does anyone has an explanation about the options or could share a link?
Besides some people asking the same question, I couldn’t find any documentation about what each of these options do and which ones are recommended.
- Psynthesis ( @Psynthesis@beehaw.org ) 6•1 year ago
Yay keeps a cache of packages to help building go a bit faster. Sometimes it can cause issues if things have changed that the cached build system can’t detect. Clean build removes the cached files and re-downloads everything to install. None means don’t clean build, all means all listed packages that need upgrading. don’t know about installed vs installed I never used those flags. The numbers correspond to the number by the package if you want to only select specific ones.
- 🧟♂️ Cadaver ( @Ashiette@lemmy.one ) 3•1 year ago
I’ll add to what was said by others, but about [I] and [No]
When building there is a cache. Sometimes you remove make dependencies, which removes the program but keeps a copy in cache. (There are other ways to remove a program and still keep it in cache)
[I] means it will clen build all installed packages and use the cache for those that are not installed but were present.
[No] means it will leave installed packages untouched but will rebuild those that are in cache before reinstalling them.
Hope that solves it. And as said before - in 99.99% cases None is good enough.