You are not logged in.
this is the error:
$ yay -S dislocker-git
...
Packages (49) ruby-3.0.4-20 ruby-abbrev-0.1.0-3 ruby-base64-0.1.1-3 ruby-benchmark-0.2.0-3 ruby-bigdecimal-3.1.2-3 ruby-bundledgems-3.0.4-20 ruby-bundler-2.3.23-1
ruby-cgi-0.3.3-1 ruby-csv-3.2.5-3 ruby-date-3.2.2-3 ruby-delegate-0.2.0-3 ruby-did_you_mean-1.6.1-3 ruby-digest-3.1.0-5 ruby-drb-2.1.0-4
ruby-english-0.7.1-3 ruby-erb-2.2.3-4 ruby-etc-1.3.0-5 ruby-fcntl-1.0.1-3 ruby-fiddle-1.1.0-3 ruby-fileutils-1.6.0-3 ruby-find-0.1.1-3
ruby-forwardable-1.3.2-5 ruby-getoptlong-0.1.1-2 ruby-io-console-0.5.11-2 ruby-io-nonblock-0.1.0-2 ruby-io-wait-0.2.3-3 ruby-ipaddr-1.2.4-2
ruby-irb-1.4.2-1 ruby-json-2.6.2-2 ruby-logger-1.5.1-2 ruby-minitest-5.16.3-1 ruby-mutex_m-0.1.1-2 ruby-net-http-0.2.2-2 ruby-open-uri-0.2.0-3
ruby-power_assert-2.0.2-1 ruby-psych-4.0.6-1 ruby-racc-1.6.0-3 ruby-rake-13.0.6-1 ruby-rdoc-6.4.0-4 ruby-reline-0.3.1-2 ruby-rexml-3.2.5-1
ruby-ruby2_keywords-0.0.5-1 ruby-stdlib-3.0.4-20 ruby-stringio-3.0.2-4 ruby-test-unit-3.5.5-1 ruby-time-0.2.0-4 ruby-tmpdir-0.1.2-3 ruby-uri-0.11.0-5
rubygems-3.3.25-1
Total Removed Size: 25.35 MiB
:: Do you want to remove these packages? [Y/n]
:: Processing package changes...
( 1/49) removing rubygems [#############################################################] 100%
( 2/49) removing ruby [#############################################################] 100%
( 3/49) removing ruby-bundledgems [#############################################################] 100%
( 4/49) removing ruby-test-unit [#############################################################] 100%
( 5/49) removing ruby-rexml [#############################################################] 100%
( 6/49) removing ruby-rake [#############################################################] 100%
( 7/49) removing ruby-power_assert [#############################################################] 100%
( 8/49) removing ruby-minitest [#############################################################] 100%
( 9/49) removing ruby-stdlib [#############################################################] 100%
(10/49) removing ruby-tmpdir [#############################################################] 100%
(11/49) removing ruby-rdoc [#############################################################] 100%
(12/49) removing ruby-racc [#############################################################] 100%
(13/49) removing ruby-psych [#############################################################] 100%
(14/49) removing ruby-open-uri [#############################################################] 100%
(15/49) removing ruby-time [#############################################################] 100%
(16/49) removing ruby-stringio [#############################################################] 100%
(17/49) removing ruby-net-http [#############################################################] 100%
(18/49) removing ruby-uri [#############################################################] 100%
(19/49) removing ruby-mutex_m [#############################################################] 100%
(20/49) removing ruby-logger [#############################################################] 100%
(21/49) removing ruby-json [#############################################################] 100%
(22/49) removing ruby-irb [#############################################################] 100%
(23/49) removing ruby-reline [#############################################################] 100%
(24/49) removing ruby-ipaddr [#############################################################] 100%
(25/49) removing ruby-io-wait [#############################################################] 100%
(26/49) removing ruby-io-nonblock [#############################################################] 100%
(27/49) removing ruby-io-console [#############################################################] 100%
(28/49) removing ruby-getoptlong [#############################################################] 100%
(29/49) removing ruby-forwardable [#############################################################] 100%
(30/49) removing ruby-find [#############################################################] 100%
(31/49) removing ruby-fileutils [#############################################################] 100%
(32/49) removing ruby-fiddle [#############################################################] 100%
(33/49) removing ruby-fcntl [#############################################################] 100%
(34/49) removing ruby-etc [#############################################################] 100%
(35/49) removing ruby-erb [#############################################################] 100%
(36/49) removing ruby-english [#############################################################] 100%
(37/49) removing ruby-drb [#############################################################] 100%
(38/49) removing ruby-ruby2_keywords [#############################################################] 100%
(39/49) removing ruby-digest [#############################################################] 100%
(40/49) removing ruby-did_you_mean [#############################################################] 100%
(41/49) removing ruby-delegate [#############################################################] 100%
(42/49) removing ruby-date [#############################################################] 100%
(43/49) removing ruby-csv [#############################################################] 100%
(44/49) removing ruby-cgi [#############################################################] 100%
(45/49) removing ruby-bundler [#############################################################] 100%
(46/49) removing ruby-bigdecimal [#############################################################] 100%
(47/49) removing ruby-benchmark [#############################################################] 100%
(48/49) removing ruby-base64 [#############################################################] 100%
(49/49) removing ruby-abbrev [#############################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
-> runtime error: invalid memory address or nil pointer dereference
goroutine 1 [running]:
runtime/debug.Stack()
runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
runtime/debug/stack.go:16 +0x19
main.main.func2()
github.com/Jguer/yay/v11/main.go:138 +0x53
panic({0x5594872c6ee0, 0x559487533dd0})
runtime/panic.go:884 +0x212
main.buildInstallPkgbuilds({0x55948732cf70?, 0xc000120000}, 0xc0001c9b00, {0x559487330c18, 0xc0001f2090}, 0xc00018e100, 0xc00047dfc0, 0x0?, 0x1, 0xc0000e9fb0, ...)
github.com/Jguer/yay/v11/install.go:787 +0x1fed
main.install({0x55948732cf70?, 0xc000120000}, 0xc0001c9b00, {0x559487330c18?, 0xc0001f2090}, 0x11?)
github.com/Jguer/yay/v11/install.go:349 +0x26f4
main.handleSync({0x55948732cf70, 0xc000120000}, 0xc0001c9b00, {0x559487330c18, 0xc0001f2090})
github.com/Jguer/yay/v11/cmd.go:373 +0x79d
main.handleCmd({0x55948732cf70, 0xc000120000}, 0xc0001c9b00, {0x559487330c18?, 0xc0001f2090?})
github.com/Jguer/yay/v11/cmd.go:177 +0x3fd
main.main()
github.com/Jguer/yay/v11/main.go:144 +0x87a
$ pacman -Q yay
yay-git 11.3.1.r60.g7612bb5-1
Any ideas?
Offline
You should report this upstream: https://github.com/Jguer/yay/issues
If you do not want to do that you should not be running experimental git releases but stable releases instead.
Online
I fixed it using pamac instead of yay.
Offline
That is not a fix, but a (stupid) workaround.
Offline
Don't use yay-git, use yay. Never use -git packages, if you're not in for the ride or have a special reason to do so.
Offline
It has been reported already:
runtime error: invalid memory address or nil pointer dereference
Offline
You should report this upstream: https://github.com/Jguer/yay/issues
If you do not want to do that you should not be running experimental git releases but stable releases instead.
Did you see HOW MANY bug reports there are? yay will never be stable at this pace, it's always completely broken.
Offline
"stable" doesn't mean "bug free", but "not full of untested, intermittent commits"
But yeah, if you figured that AUR helpers are mostly of questionable quality and certainly value - maybe just don't use them.
Offline
I didn't think I'd see the day I'd speak up on behalf of yay, but...
Did you see HOW MANY bug reports there are? yay will never be stable at this pace, it's always completely broken.
There are 55 open and 247 closed bugs. The project is five years old. Some issues on that tracker refer to adventurous PKGBUILDS.
Example:
Package Details: powerpc-linux-gnu-gcc 9.1.0-1
Conflicts: powerpc-linux-gnu-gcc-stage1, powerpc-linux-gnu-gcc-stage2
Provides: powerpc-linux-gnu-gcc-stage1, powerpc-linux-gnu-gcc-stage2
Replaces: powerpc-linux-gnu-gcc-stage1, powerpc-linux-gnu-gcc-stage2
It then chokes during the version resolution, because the packages it Conflovideplaces exist elsewhere on the AUR.
A good number of issues seems to be "yay thinks if git is the source, it must be a -git package. I also found a number of bugs, that are fixed but due to the lack of being bumped got forgotten. One bug has a user breaking git by setting weird ENV stuff for dotfile management and broke git in the process, resulting in a lengthy discussion about something that yay already does.
Suffice it to say, you using yay-git in production is the problem here that can be solved by using yay instead.
Offline