Closed goldcoders closed 3 years ago
Looks like go
package hasn't been updated to 1.14 yet
That's a partial upgrade. Don't do that.
The gcc-go package from core repo is currently at 1.12, so this doesn't necessarily means that's a partial upgrade.
A workaround is install the go
package, update Yay ant then reinstall gcc-go
.
Workaround:
yay --editmenu -S yay
Edit the PKGBUILD
and replace -modcacherw
with -mod=readonly
in the EXTRA_GOFLAGS
section. Worked for me thanks to menta on the AUR page of yay
Anyway to avoid this in the future.
-mod=readonly
makes yay unable to clean the repository after installing which is why I don't recommend it outright unless you know the implications
I had the same issue even though pacman told me that go 1.14 was installed. Checked PATH and which binary I was actually using, and found out that I was using a go binary installed by linuxbrew.
❯ type go
go is /home/linuxbrew/.linuxbrew/bin/go
❯ go version
go version go1.12 linux/amd64
After removing the go
-binary installed in brew, installation started working:
❯ brew remove go
...
❯ yay -Syu
...
==> Finished making: yay-git 9.4.6.r0.g352667f-3 (Thu 05 Mar 2020 11:34:26 AM CET)
==> Cleaning up...
==> Found git repo: github.com/Jguer/yay.git
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) yay-git-9.4.6.r0.g352667f-3
Total Installed Size: 6.26 MiB
Net Upgrade Size: -0.05 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [################################] 100%
(1/1) checking package integrity [################################] 100%
(1/1) loading package files [################################] 100%
(1/1) checking for file conflicts [################################] 100%
(1/1) checking available disk space [################################] 100%
:: Processing package changes...
(1/1) upgrading yay-git [################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
manage to fix this , by using downgrade but i installed go latest version which is 1.14.1
downgrade go
choose 1.14-1 then do yay again
then after that upgrading yay will be ok
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.
when i update yay
type
yay
i get this