A new user interface for you! Read more...

File go-1.5-install-dont-reinstall-stdlibs.patch of Package go1.9

diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go
index 07aa3ff..3f4836b 100644
--- a/src/cmd/go/internal/load/pkg.go
+++ b/src/cmd/go/internal/load/pkg.go
@@ -1457,6 +1457,13 @@ func isStale(p *Package) (bool, string) {
 		return false, "standard package in Go release distribution"
 	}
 
+	// openSUSE bnc#776058
+	// Only root user can reinstall a std library from a dependancy, all other
+	// users should *never* have to do this.
+	if os.Getuid() != 0  && p.Standard {
+		return false, "only root can reinstall a std library from a dependency"
+	}
+
 	// Time-based staleness.
 
 	built := fi.ModTime()