TablePlus / TablePlus-Linux

TablePlus Linux issue tracker
https://tableplus.com
293 stars 30 forks source link

libpcre3 Dependancy problem in Ubuntu 22.04 #164

Closed YoungMind1 closed 1 year ago

YoungMind1 commented 1 year ago

Linux distro: Ubuntu 22.04 I tried to follow the Linux installation guide; But there seems to be dependency problem with Ubuntu's one.

libpcre3-dev : Depends: libpcre3 (= 2:8.39-13ubuntu0.22.04.1) but 2:8.44-2+ubuntu20.04.1+deb.sury.org+1 is to be installed

bacalazin commented 1 year ago

Same issue here when trying to install it on ubuntu 22 inside wsl2:

sudo  apt -y install libnotify-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libpcre3-dev : Depends: libpcre3 (= 2:8.39-13ubuntu0.22.04.1) but 2:8.44-2+ubuntu20.04.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.
a4abs commented 1 year ago

I am also having the same issue on Ubuntu 22.04.1 LTS

The following packages have unmet dependencies: libpcre3-dev : Depends: libpcre3 (= 2:8.39-13ubuntu0.22.04.1) but 2:8.44-2+ubuntu20.04.1+deb.sury.org+1 is to be installed libxml2-dev : Depends: libxml2 (= 2.9.13+dfsg-1ubuntu0.1) but 2.9.14+dfsg-0+ubuntu20.04.1+deb.sury.org+1 is to be installed E: Unable to correct problems, you have held broken packages.

bacalazin commented 1 year ago

What I did to fix my issue was to downgrade the version of "libpcre3" to the version of ubuntu 22. sudo apt-get install libpcre3=2:8.39-13ubuntu0.22.04.1 Fixed my issue

Sultanul-Arefin commented 1 year ago

What I did to fix my issue was to downgrade the version of "libpcre3" to the version of ubuntu 22. sudo apt-get install libpcre3=2:8.39-13ubuntu0.22.04.1 Fixed my issue

I had a similar problem when I was trying to install table plus in ubuntu 22.04. I had 3 issues with libcre3, libcre2, and libxml2. Fixed it with the following command.