ubuntu 22.04 bug prevent me to install galera manager

167 views
Skip to first unread message

Roberto D. Maggi

unread,
Dec 14, 2023, 4:23:16 AM12/14/23
to codership
Hi you all,
I'm facing a really stupid issue that I cannot solve:
I'm trying to install a galera cluster on 3vm running ubuntu 22.04 ( have to use this distro and version ), in data center.
This distro and version has a stupid bug using apt ( !! ) that can be bypassed preceding the command with the string "GNUTLS_CPUID_OVERRIDE=0x1"
The point is that I set the "alias apt-get='GNUTLS_CPUID_OVERRIDE=0x1 apt-get'" in /etc/environment and for the "human" sessions works fine, as you can see

root@mysqlclusterdev01:/opt# apt-get update
Get:1 https://repos.influxdata.com/ubuntu jammy InRelease [7,046 B]
Hit:2 http://de.archive.ubuntu.com/ubuntu jammy InRelease                                                   
Get:3 https://repos.influxdata.com/ubuntu jammy/stable amd64 Packages [7,953 B]    
Hit:4 https://releases.galeracluster.com/galera-4/ubuntu jammy InRelease          
Hit:5 https://releases.galeracluster.com/mysql-wsrep-8.0/ubuntu jammy InRelease
Get:6 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:7 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Get:8 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:9 http://de.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1,262 kB]
Get:10 http://de.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [259 kB]
Get:11 http://de.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1,250 kB]
Get:12 http://de.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [203 kB]
Get:13 http://de.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,018 kB]
Get:14 http://de.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [226 kB]
Get:15 http://de.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [41.6 kB]
Get:16 http://de.archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [41.7 kB]
Get:17 http://de.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [24.3 kB]
Get:18 http://de.archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16.5 kB]
Get:19 http://de.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1,050 kB]
Get:20 http://de.archive.ubuntu.com/ubuntu jammy-security/main Translation-en [200 kB]
Get:21 http://de.archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1,226 kB]
Get:22 http://de.archive.ubuntu.com/ubuntu jammy-security/restricted Translation-en [200 kB]
Get:23 http://de.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [815 kB]
Get:24 http://de.archive.ubuntu.com/ubuntu jammy-security/universe Translation-en [152 kB]
Get:25 http://de.archive.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [36.5 kB]
Fetched 8,375 kB in 3s (3,297 kB/s)                          
Reading package lists... Done
root@mysqlclusterdev01:/opt#

while when I use gm-installer it falls in error

root@mysqlclusterdev01:/opt# ./gm-installer uninstall
INFO[0000] OS Detected: Debian / Ubuntu / Linux / jammy / 22.04
Do you want to remove Galera Manager data as well? [y/N] y
▁INFO[0004] Updating the package index                  
INFO[0004] Executing: apt-get update                    
▎INFO[0005] Got an error and attepts = 0                
The deinstallation log is located at /tmp/gm-installer-uninstall.log
ERRO[0005] Failed to complete uninstallation: command failed (stepName=update_package_index, commandId=1, commandType=ExecCommand): exit status 100
root@mysqlclusterdev01:/opt# cat /tmp/gm-installer-uninstall.log
Hit:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease
Reading package lists...
E: Method https has died unexpectedly!
E: Sub-process https received signal 4.

Is there any way to bypass this issue?
can I install it manually and then run it ?
thanks in advance
Kind regards, 
Rob

Reply all
Reply to author
Forward
0 new messages