Comment 0 for bug 1794395

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

[impact]
To enable packages that are backported wholesale to all releases of Ubuntu (i.e. snapd) to stop depending on what is now a fairly ancient version of Go, we are going to upload 1.10 (the version of Go in 18.04 LTS) to xenial and trusty as well. This is an unusual "SRU" but the plan has been concocted with the approval of the Ubuntu security team (who I will ask to comment here to confirm their acceptance of the plan).

[test case]
$ apt install golang-1.10-go
$ PATH=/usr/lib/go-1.10/bin:$PATH
$ go version
< check it's 1.10 >
$ cat > trivial.go
package main
func main() {}
$ go run trivial.go
$ cat > trivialcgo.go
package main
import "C"
func main() {}
$ go run trivialcgo.go

[regression potential]
It's a new package so should not impact any existing behaviour. I'm not at all proposing to update the default version of Go in a stable release.