On 27.02.20 at 08:05 Johannes Kastl wrote:
Good morning ladies and gentlemen,
is there any documentation on how to exactly require a specific version of go1.X (use go1.10, not any later version? Use go1.12 or later?)?
On Leap 15.2 something is strange, as can be seen here: https://build.opensuse.org/package/show/home:donvipre:influxdb/influxdb (I cannot reproduce this due to all packages being "blocked" at the moment") ####
[ 18s] [127/142] cumulate go1.11-1.11.5-lp152.2.48 ... [ 18s] [131/142] cumulate go-1.12-lp152.1.2 ... [ 98s] go1.11-1.11.5-lp152.2.48 ######################################## [ 99s] update-alternatives: using /usr/lib64/go/1.11/bin/go to provide /usr/bin/go (go) in auto mode ... [ 105s] go-1.12-lp152.1.2 ######################################## ... [ 143s] Copying deps to /home/abuild/rpmbuild/BUILD/contrib [ 143s] ++ get_gocontrib_path [ 143s] +++ rpm --eval '%{_datadir}' [ 143s] +++ rpm --eval %go_api_ver [ 143s] ++ echo /usr/share/go/1.11/contrib
#### Why is go1.12 installed but not being used as alternative for /usr/bin/go? What is this strange go1.11 package and how to get rid of it? I know Leap 15.2 is not yet released, but wanted to mention this in case this needs fixing... Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537