TablePlus-Linux icon indicating copy to clipboard operation
TablePlus-Linux copied to clipboard

Error during installation: libgtksourceview-3.0-dev but it is not going to be installed

Open fox000 opened this issue 5 years ago • 12 comments

TablePlus version: 0.1.36 Linux distro: Ubuntu 16.04 The steps to reproduce this issue: sudo apt install tableplus

I cannot install TablePlus-Linux on my Ubuntu 16.04 because I get this error:

Reading package lists... Done Building dependency tree
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: tableplus : Depends: libgtksourceview-3.0-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages.

fox000 avatar Jan 10 '20 14:01 fox000

+1

Linux distro: Ubuntu 18.04 The steps to reproduce this issue: sudo apt install tableplus

Cant install on Ubuntu

proweb avatar Jan 22 '20 11:01 proweb

+1

Pop-OS 19.10 (which is basically Ubuntu)

kpost avatar Jan 24 '20 13:01 kpost

+1 Ubuntu 18.04.3 LTS

It also states: Depends: libgee-0.8-dev but it is not going to be installed

warkior avatar Jan 27 '20 22:01 warkior

+1 ubuntu 18.04 is there any improvement?

kimploo avatar Feb 07 '20 02:02 kimploo

I solved this problem via using aptitude https://askubuntu.com/questions/363200/e-unable-to-correct-problems-you-have-held-broken-packages

install aptitude sudo apt-get install aptitude

install tableplus sudo aptitude install tableplus

you will encounter dependencies problems, I would rather downgrade some of packages. decline first solution and accept second solution

Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

      Downgrade the following packages:                                                       
1)      gir1.2-gtk-3.0 [3.22.30-1ubuntu4 (now) -> 3.22.30-1ubuntu1 (bionic)]                  
2)      libcairo-gobject2 [1.15.10-2ubuntu0.1 (now) -> 1.15.10-2 (bionic)]                    
3)      libcairo2 [1.15.10-2ubuntu0.1 (now) -> 1.15.10-2 (bionic)]                            
4)      libegl1 [1.0.0-2ubuntu2.3 (now) -> 1.0.0-2ubuntu2 (bionic)]                           
5)      libgail-3-0 [3.22.30-1ubuntu4 (now) -> 3.22.30-1ubuntu1 (bionic)]                     
6)      libgl1 [1.0.0-2ubuntu2.3 (now) -> 1.0.0-2ubuntu2 (bionic)]                            
7)      libgles2 [1.0.0-2ubuntu2.3 (now) -> 1.0.0-2ubuntu2 (bionic)]                          
8)      libglvnd0 [1.0.0-2ubuntu2.3 (now) -> 1.0.0-2ubuntu2 (bionic)]                         
9)      libglx0 [1.0.0-2ubuntu2.3 (now) -> 1.0.0-2ubuntu2 (bionic)]                           
10)     libgtk-3-0 [3.22.30-1ubuntu4 (now) -> 3.22.30-1ubuntu1 (bionic)]                      
11)     libgtk-3-bin [3.22.30-1ubuntu4 (now) -> 3.22.30-1ubuntu1 (bionic)]                    
12)     libx11-xcb1 [2:1.6.4-3ubuntu0.2 (now) -> 2:1.6.4-3ubuntu0.1 (bionic-security)]        
13)     libxcb-dri2-0 [1.13-2~ubuntu18.04 (now) -> 1.13-1 (bionic)]                           
14)     libxcb-dri3-0 [1.13-2~ubuntu18.04 (now) -> 1.13-1 (bionic)]                           
15)     libxcb-glx0 [1.13-2~ubuntu18.04 (now) -> 1.13-1 (bionic)]                             
16)     libxcb-present0 [1.13-2~ubuntu18.04 (now) -> 1.13-1 (bionic)]                         
17)     libxcb-randr0 [1.13-2~ubuntu18.04 (now) -> 1.13-1 (bionic)]                           
18)     libxcb-render0 [1.13-2~ubuntu18.04 (now) -> 1.13-1 (bionic)]                          
19)     libxcb-shape0 [1.13-2~ubuntu18.04 (now) -> 1.13-1 (bionic)]                           
20)     libxcb-shm0 [1.13-2~ubuntu18.04 (now) -> 1.13-1 (bionic)]                             
21)     libxcb-sync1 [1.13-2~ubuntu18.04 (now) -> 1.13-1 (bionic)]                            
22)     libxcb-xfixes0 [1.13-2~ubuntu18.04 (now) -> 1.13-1 (bionic)]                          
23)     libxkbcommon-x11-0 [0.8.2-1~ubuntu18.04.1 (now) -> 0.8.0-1ubuntu0.1 (bionic-security)]
24)     libxkbcommon0 [0.8.2-1~ubuntu18.04.1 (now) -> 0.8.0-1ubuntu0.1 (bionic-security)]     
Accept this solution? [Y/n/q/?] Y

accept this solution and you are good to go :)

kimploo avatar Feb 07 '20 03:02 kimploo

Hi guys, sorry for the experience. I myself also faced this sometimes, and the aptitude solution in the stackoverflow link does help. Please try that.

Moving forward, we are looking into some ways to simplify our distribution to avoid these issues.

thien-do avatar Feb 29 '20 09:02 thien-do

lsb_release -a

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 19.10 Release: 19.10 Codename: eoan

sudo apt install tableplus

Reading package lists... Done Building dependency tree
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: tableplus : Depends: libgtksourceview-3.0-dev but it is not going to be installed Depends: libgee-0.8-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages.

nisanov avatar Apr 15 '20 22:04 nisanov

No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal

+1

cfcarvalho avatar Jul 02 '20 23:07 cfcarvalho

lsb_release -a

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal

sudo apt install tableplus

Reading package lists... Done
Building dependency tree       
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:
 tableplus : Depends: libgtksourceview-3.0-dev but it is not going to be installed
             Depends: libgee-0.8-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

+1

duncte123 avatar Oct 15 '20 08:10 duncte123

+1 on MX Linux 19.3

halotukozak avatar May 11 '21 14:05 halotukozak

[SOLVED ] Hi guys . Im using Ubuntu 20.04.3 and I had the same error while installing tableplus by the way showed on the official site AND THEN I GOT ERROR : tableplus : Depends: libgtksourceview-3.0-dev but it is not going to be installed E: Unable to correct problems, you have held broken packages.

[ SOLUTION ] I just changed the way of installation for Ubuntu 18.04

Add TablePlus gpg key

wget -qO - http://deb.tableplus.com/apt.tableplus.com.gpg.key | sudo apt-key add -

Add TablePlus repo

sudo add-apt-repository "deb [arch=amd64] https://deb.tableplus.com/debian/18 tableplus main"

Install

sudo apt update sudo apt install tableplus

IT FIXED MY PROBLEM AND IT INSTALLED . HOPE U GUYS IT WILL WORK FOR U TOO.

P.S. sudo apt-get install aptitude didn't work for me

SamoiddinSalokhiddinov avatar Feb 16 '22 10:02 SamoiddinSalokhiddinov