yay
yay copied to clipboard
Discrepancy of output
Affected Version
yay -V
yay v10.3.0 - libalpm v13.0.0
Describe the bug
2 issues are there-
- I had installed custom packages using makepkg and pkgbuild without helpers.
Eg -
linux-zen-custom, linux-zen-custom-headers, picom-custom
But yay is only detectingpicom-custom
as can be seen in the screenshot (missing AUR Packages
) - Only
-> virtualbox-ext-oracle: ignoring package upgrade (6.1.16-1 => 6.1.22-1)
line have some color while colors are missing in rest.
Reproduction Steps
1.Install packages using makepkg and pkgbuild without helpers. 2.yay -Syua
Expected behavior
- Yay should detect all missing AUR packages.
- Every output should be colored or none colored
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Same issue. I'm using IgnorePkg directive in pacman.conf too. The non-colored version numbers come from the packages I added to this directive. The non-ignored packages are colored as expected. It only happens with ordinary packages (non-AUR). Updatable AUR packages are showed colored as expected even if they are in the IgnorePkg list.
yay v11.2.0 - libalpm v13.0.1
https://github.com/Jguer/yay/blob/3ef4664d992aaabcf9497714b18da2eade4afb5d/pkg/upgrade/sources.go#L56 requires a bunch of refactoring before being able to remove the color when color is enabled from the version diff>
Closing for now, unless someone wants to handle it