Skip to content

FTBFS on Ubuntu 22.04: go.mod:3: invalid go version '1.22.1': must match format 1.23 #1

@d33tah

Description

@d33tah
root@16f207774440:/# git clone https://github.com/ProfoundNetworks/domainify.git
Cloning into 'domainify'...
remote: Enumerating objects: 28, done.
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 28 (delta 7), reused 27 (delta 6), pack-reused 0
Receiving objects: 100% (28/28), 9.22 KiB | 9.22 MiB/s, done.
Resolving deltas: 100% (7/7), done.
root@16f207774440:/# cd domainify/
root@16f207774440:/domainify# go build
go: errors parsing go.mod:
/domainify/go.mod:3: invalid go version '1.22.1': must match format 1.23

This one seems to go away by doing sed 's/1.22.1/1.22/g' -i go.mod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions