Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Unable to install in Ubuntu 18.04 #14338

Open
G0x209C opened this issue May 17, 2018 · 15 comments
Open

Unable to install in Ubuntu 18.04 #14338

G0x209C opened this issue May 17, 2018 · 15 comments

Comments

@G0x209C
Copy link

G0x209C commented May 17, 2018

Unable to install Brackets in Ubuntu 18.04 because it relies on libcurl3
and Ubuntu 18.04 uses libcurl4, it would break some of my programs and part of the system if I'd install libcurl3 and remove 4.

Perhaps it's possible to symlink to libcurl4, but I'm not sure how stable that would be.

@PlamenSh
Copy link

PlamenSh commented May 25, 2018

+1 on this. Also for some reason it was missing upon ubuntu 18.04 upgrade. After trying to install it via gdebi I got this as question:
"Requires the REMOVAL of the following packages: curl libcurl4 playonlinux steam-launcher "
Why does it need to remove playonlinux and steam. I kinda need those..

@superawesomeme
Copy link

Mine installs but is unusable. Buggy and crashes all the time. Can't even open and save.

@PlamenSh
Copy link

PlamenSh commented Jun 4, 2018

@jsanta from this post #14171
rebuild it with a small change. His solution worked for me.

@Qussayyon
Copy link

@Rebitteration
I have reported the same issue here #14171 , and as @PlamenSh mentioned, the workaround is available at: #14171 (comment) but the steps are from: #14171 (comment)

I'll add them here for ease of access:

  1. Download the .deb installer file.
  2. Inside the folder where you downloaded the file run
    dpkg-deb -R ./Brackets.Release.1.12.64-bit.deb Brackets
  3. Edit file Brackets/DEBIAN/control and replace libcurl3 with libcurl3|libcurl4
  4. Rebuild .deb installer running
    dpkg-deb -b Brackets Brackets-fixed.deb
  5. Install Brackets using the fixed installer running
    sudo dpkg -i Brackets-fixed.deb

@mbougarne
Copy link

@Qussayyon Thank you, it works for me, the issue was the Ubuntu Beaver support the V14 of libcurl

@iRomanyshyn
Copy link

Same situation on 18.10. Fixed with Brackets/DEBIAN/control editing.

@bpanatta
Copy link

To me it was a matter of missing dependencies, and doing: apt --fix-broken install after the failed install attempt solved the problem.

@555STi
Copy link

555STi commented Nov 29, 2018

@Rebitteration
I have reported the same issue here #14171 , and as @PlamenSh mentioned, the workaround is available at: #14171 (comment) but the steps are from: #14171 (comment)

I'll add them here for ease of access:

1. Download the `.deb` installer file.

2. Inside the folder where you downloaded the file run
   `dpkg-deb -R ./Brackets.Release.1.12.64-bit.deb Brackets`

3. Edit file `Brackets/DEBIAN/control` and replace `libcurl3` with `libcurl3|libcurl4`

4. Rebuild `.deb` installer running
   `dpkg-deb -b Brackets Brackets-fixed.deb`

5. Install Brackets using the fixed installer running
   `sudo dpkg -i Brackets-fixed.deb`

Worked for me, had to "install" the original package and keep the compatibility error, later, did what you said and worked flawlessly.
Thank you!

@Al3nMicL
Copy link

Al3nMicL commented Dec 15, 2018

@Rebitteration
I have reported the same issue here #14171 , and as @PlamenSh mentioned, the workaround is available at: #14171 (comment) but the steps are from: #14171 (comment)
I'll add them here for ease of access:

1. Download the `.deb` installer file.

2. Inside the folder where you downloaded the file run
   `dpkg-deb -R ./Brackets.Release.1.12.64-bit.deb Brackets`

3. Edit file `Brackets/DEBIAN/control` and replace `libcurl3` with `libcurl3|libcurl4`

4. Rebuild `.deb` installer running
   `dpkg-deb -b Brackets Brackets-fixed.deb`

5. Install Brackets using the fixed installer running
   `sudo dpkg -i Brackets-fixed.deb`

Worked for me, had to "install" the original package and keep the compatibility error, later, did what you said and worked flawlessly.
Thank you!

can someone write a .sh script to do this process automatically?
So it runs like: $ ./libcurl_18.x_fix.sh Brackets.Release.1.12.64-bit.deb ?

specifically steps 2 thru 4

@thunderamur
Copy link

Have this issue too.

@iNoSec
Copy link

iNoSec commented Jan 11, 2019

@Rebitteration
I have reported the same issue here #14171 , and as @PlamenSh mentioned, the workaround is available at: #14171 (comment) but the steps are from: #14171 (comment)
I'll add them here for ease of access:

1. Download the `.deb` installer file.

2. Inside the folder where you downloaded the file run
   `dpkg-deb -R ./Brackets.Release.1.12.64-bit.deb Brackets`

3. Edit file `Brackets/DEBIAN/control` and replace `libcurl3` with `libcurl3|libcurl4`

4. Rebuild `.deb` installer running
   `dpkg-deb -b Brackets Brackets-fixed.deb`

5. Install Brackets using the fixed installer running
   `sudo dpkg -i Brackets-fixed.deb`

Worked for me, had to "install" the original package and keep the compatibility error, later, did what you said and worked flawlessly.
Thank you!

can someone write a .sh script to do this process automatically?
So it runs like: $ ./libcurl_18.x_fix.sh Brackets.Release.1.12.64-bit.deb ?

specifically steps 2 thru 4

Please you dont know just copy and paste??? generation of dumb...

@jiggneshhgohel
Copy link

jiggneshhgohel commented Feb 11, 2019

An alternate way I found to get past this issue is

sudo snap install brackets --classic

Reference: https://www.ubuntu18.com/install-brackets-code-editor-ubuntu/

@ghost ghost added this to the Release 1.15 milestone May 2, 2019
@TharukaDananjaya
Copy link

@Rebitteration
I have reported the same issue here #14171 , and as @PlamenSh mentioned, the workaround is available at: #14171 (comment) but the steps are from: #14171 (comment)

I'll add them here for ease of access:

Download the .deb installer file.
Inside the folder where you downloaded the file run
dpkg-deb -R ./Brackets.Release.1.12.64-bit.deb Brackets
Edit file Brackets/DEBIAN/control and replace libcurl3 with libcurl3|libcurl4
Rebuild .deb installer running
dpkg-deb -b Brackets Brackets-fixed.deb
Install Brackets using the fixed installer running
sudo dpkg -i Brackets-fixed.deb

this is not working for me. i have this problem??

Selecting previously unselected package brackets.
(Reading database ... 176306 files and directories currently installed.)
Preparing to unpack Brackets-fixed.deb ...
Unpacking brackets (1.14.0-17740) ...
dpkg: dependency problems prevent configuration of brackets:
brackets depends on gconf-service; however:
Package gconf-service is not installed.
brackets depends on libgconf-2-4 (>= 2.31.1); however:
Package libgconf-2-4 is not installed.
brackets depends on libpango1.0-0 (>= 1.22.0); however:
Package libpango1.0-0 is not installed.

dpkg: error processing package brackets (--install):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
brackets

@ghost ghost removed this from the Release 1.15 milestone Aug 1, 2019
@i0x915
Copy link

i0x915 commented Sep 4, 2019

  • Download the .deb installer file.
  • Inside the folder where you downloaded the file run
    dpkg-deb -R ./Brackets.Release.1.12.64-bit.deb Brackets
  • Edit file Brackets/DEBIAN/control and replace libcurl3 with libcurl3|libcurl4
  • Rebuild .deb installer running
    dpkg-deb -b Brackets Brackets-fixed.deb
  • Install Brackets using the fixed installer running
    sudo dpkg -i Brackets-fixed.deb

On debian buster (10) these steps along with a combination of apt-get --fix-broken install
have fixed the missing gconf-service ..... libpango1.0-0 and the rest of the dependency issues.

Please atleast fix the libcurl4 change in the new release, its been over a year and this is still a problem.

@jazari-akuna
Copy link

Here is a link (maybe temporary) to the repackaged deb that works on linux (It is possible to verify that I only touched the control file via unzipping and md5ing). 2020.10.02 version.
http://c.raph.io/index.php/s/9s86JB9RqPwgqfN

Please fix this it is easy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests