ZhangZhihui's Blog  

Install Tableplus (https://tableplus.com/blog/2019/10/tableplus-linux-installation.html):

Ubuntu 24.04 X86_64

# Add TablePlus gpg key
wget -qO - https://deb.tableplus.com/apt.tableplus.com.gpg.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/tableplus-archive.gpg > /dev/null

# Add TablePlus repo
sudo add-apt-repository "deb [arch=amd64] https://deb.tableplus.com/debian/24 tableplus main"

# Install
sudo apt update
sudo apt install tableplus

 

zzh@ZZHPC:~$ wget -qO - https://deb.tableplus.com/apt.tableplus.com.gpg.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/tableplus-archive.gpg > /dev/null
gpg: no valid OpenPGP data found.

 

Separating the command into two commands can fix the issue:

zzh@ZZHPC:~/Downloads$ wget https://deb.tableplus.com/apt.tableplus.com.gpg.key
--2024-08-30 13:27:24--  https://deb.tableplus.com/apt.tableplus.com.gpg.key
Resolving deb.tableplus.com (deb.tableplus.com)... 2606:4700:3031::ac43:c18a, 2606:4700:3033::6815:31d0, 104.21.49.208, ...
Connecting to deb.tableplus.com (deb.tableplus.com)|2606:4700:3031::ac43:c18a|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3147 (3.1K) [application/octet-stream]
Saving to: ‘apt.tableplus.com.gpg.key’

apt.tableplus.com.gpg.key                 100%[==================================================================================>]   3.07K  --.-KB/s    in 0s      

2024-08-30 13:27:25 (13.3 MB/s) - ‘apt.tableplus.com.gpg.key’ saved [3147/3147]


zzh@ZZHPC:~/Downloads$ gpg --dearmor apt.tableplus.com.gpg.key | sudo tee /etc/apt/trusted.gpg.d/tableplus-archive.gpg > /dev/null

 

zzh@ZZHPC:~/Downloads$ sudo add-apt-repository "deb [arch=amd64] https://deb.tableplus.com/debian/24 tableplus main"
......
Err:10 https://deb.tableplus.com/debian/24 tableplus InRelease                                                                                                      
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2A17818B38772786
......
W: GPG error: https://deb.tableplus.com/debian/24 tableplus InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2A17818B38772786
E: The repository 'https://deb.tableplus.com/debian/24 tableplus InRelease' is not signed

 

zzh@ZZHPC:/etc/apt/trusted.gpg.d$ lh tableplus-archive.gpg
-rw-r--r-- 1 root root 0 Aug 30 13:28 tableplus-archive.gpg

 

Finally, this command succeeded:

zzh@ZZHPC:~$ wget -qO - https://deb.tableplus.com/apt.tableplus.com.gpg.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/tableplus-archive.gpg > /dev/null

 

zzh@ZZHPC:~$ sudo add-apt-repository "deb [arch=amd64] https://deb.tableplus.com/debian/24 tableplus main"
Repository: 'deb [arch=amd64] https://deb.tableplus.com/debian/24 tableplus main'
Description:
Archive for codename: tableplus components: main
More info: https://deb.tableplus.com/debian/24
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/archive_uri-https_deb_tableplus_com_debian_24-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/archive_uri-https_deb_tableplus_com_debian_24-jammy.list
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease                                                                                                    
Hit:1 https://packages.microsoft.com/repos/code stable InRelease                                                                                                    
Get:4 https://deb.tableplus.com/debian/24 tableplus InRelease [1,794 B]                                                                                             
Hit:3 https://packagecloud.io/golang-migrate/migrate/ubuntu jammy InRelease                                                                                         
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                       
Get:6 https://deb.tableplus.com/debian/24 tableplus/main amd64 Packages [354 B]                                                                       
Get:7 https://cli.github.com/packages stable InRelease [3,917 B]                                                                   
Ign:8 http://cn.archive.ubuntu.com/ubuntu jammy InRelease                                                                                                           
Ign:9 http://cn.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:8 http://cn.archive.ubuntu.com/ubuntu jammy InRelease
Ign:9 http://cn.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:8 http://cn.archive.ubuntu.com/ubuntu jammy InRelease
Ign:9 http://cn.archive.ubuntu.com/ubuntu jammy-updates InRelease
Err:8 http://cn.archive.ubuntu.com/ubuntu jammy InRelease
  Could not connect to cn.archive.ubuntu.com:80 (2403:2c80:5::6), connection timed out Could not connect to cn.archive.ubuntu.com:80 (45.125.0.6), connection timed out
Err:9 http://cn.archive.ubuntu.com/ubuntu jammy-updates InRelease
  Unable to connect to cn.archive.ubuntu.com:http:
Fetched 6,065 B in 38s (161 B/s)
Reading package lists... Done
W: https://packagecloud.io/golang-migrate/migrate/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/jammy/InRelease  Could not connect to cn.archive.ubuntu.com:80 (2403:2c80:5::6), connection timed out Could not connect to cn.archive.ubuntu.com:80 (45.125.0.6), connection timed out
W: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease  Unable to connect to cn.archive.ubuntu.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
zzh@ZZHPC:~$ sudo apt update
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease                                                                                                    
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                       
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease                                                                                            
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease                                                                                                    
Hit:3 https://packages.microsoft.com/repos/code stable InRelease                                                                            
Hit:7 https://deb.tableplus.com/debian/24 tableplus InRelease       
Hit:6 https://packagecloud.io/golang-migrate/migrate/ubuntu jammy InRelease
Get:8 https://cli.github.com/packages stable InRelease [3,917 B]
Fetched 3,917 B in 4s (998 B/s)      
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: https://packagecloud.io/golang-migrate/migrate/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

 

Successfully installed Tableplus:

zzh@ZZHPC:~$ sudo apt install tableplus
......
Setting up tableplus (0.1.254) ...

 

The installed Tableplus is not working. There's no response when click the tableplus icon.

zzh@ZZHPC:~$ tableplus
tableplus: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by tableplus)
tableplus: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by tableplus)
tableplus: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by tableplus)

 

zzh@ZZHPC:~$ sudo apt install libc6
[sudo] password for zzh: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libc6 is already the newest version (2.35-0ubuntu3.8).
libc6 set to manually installed.

 

zzh@ZZHPC:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libheif1 imagemagick libopusfile0 libjs-jquery-ui libpathplan4 graphviz
  libavdevice58 libgvpr2 libgvc6 ffmpeg libopenexr25 python3-scipy
  libpostproc55 libcgraph6 libmagickcore-6.q16-6-extra libcdt5 libavcodec58
  libmagickwand-6.q16-6 libavutil56 imagemagick-6.q16 libswscale5
  libmagickcore-6.q16-6 liblab-gamut1 libswresample3 imagemagick-6-common
  libavformat58 libde265-0 libavfilter7
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages have been kept back:
  shim-signed ubuntu-advantage-tools ubuntu-pro-client ubuntu-pro-client-l10n
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

 

 

 

 

zzh@ZZHPC:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  shim-signed ubuntu-advantage-tools ubuntu-pro-client ubuntu-pro-client-l10n
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

 

Still not working:

zzh@ZZHPC:~$ tableplus
tableplus: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.38' not found (required by tableplus)
tableplus: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by tableplus)
tableplus: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by tableplus)

 

Glibc is a library that the entire operating system and almost all packages depend on.
In a fixed version of the Ubuntu LTS, the Glibc version is fixed and all packages are compiled with that version.
Messing with the Glibc version of your system can break... pretty much the entire system. Like everything.

The tableplus is newer and requires a higher version of Glibc. There's no old build for Linux to download.

posted on 2024-08-30 13:38  ZhangZhihuiAAA  阅读(54)  评论(0编辑  收藏  举报