go list -u -m -json all

366 views
Skip to first unread message

Jérôme LAFORGE

unread,
Jul 25, 2021, 3:49:40 AM7/25/21
to golang-nuts

Hello,
I am currently testing `go1.17rc1 linux/amd64` in my dev env.

With this version `go list -u -m -json all` seems not work anymore (I use it to know which module is outdated thanks to https://github.com/psampaz/go-mod-outdated#usage)

I have this error even if I do `go mod tidy` before to do `go list -u -m -json all`
go: updates to go.sum needed, disabled by -mod=readonly


I don't know if it can be considered as issue with this rc.

Jérôme


Tamás Gulácsi

unread,
Jul 25, 2021, 4:35:55 AM7/25/21
to golang-nuts
go mod download
helped me.

Jérôme LAFORGE

unread,
Jul 25, 2021, 3:02:29 PM7/25/21
to golang-nuts
Unfortunately, it didn't help me.
I ran `go mod download` before `go list -u -m -json all` without change.

Jérôme LAFORGE

unread,
Jul 26, 2021, 3:11:53 AM7/26/21
to golang-nuts
FYI, I just seen an issue has been already opened : https://github.com/golang/go/issues/47377

Jérôme LAFORGE

unread,
Aug 4, 2021, 10:24:26 AM8/4/21
to golang-nuts
Go 1.17RC2 fixes this issue.
Thanks all contributors.
Reply all
Reply to author
Forward
0 new messages