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

Brackets is forcing to have libcurl3, and does not accept libcurl4 #14171

Open
3 tasks done
Qussayyon opened this issue Mar 25, 2018 · 69 comments
Open
3 tasks done

Brackets is forcing to have libcurl3, and does not accept libcurl4 #14171

Qussayyon opened this issue Mar 25, 2018 · 69 comments

Comments

@Qussayyon
Copy link

Qussayyon commented Mar 25, 2018

Prerequisites

  • Can you reproduce the problem with Debug -> Reload Without Extensions?
  • Did you perform a cursory search to see if your bug or enhancement is already reported?
  • Did you read the Troubleshooting guide?

Description

I have Ubuntu 18.04, and the program curl recently requires libcurl4, when I tried to install brackets it asked me to remove libcurl4 and install libcurl3 so I had to remove curl in order to remove libcurl4.

Steps to Reproduce

On Ubuntu with latest curl 7.58.0, if I try to install brackets I have to remove curl.

Expected behavior:
I thought brackets depends on libcurl3 or more, so it should be happy with newer version of libcurl (i.e. version 4 libcurl4).

Actual behavior:
I had to choose between brackets 1.12 OR curl.
For time being I did choose to remove curl and have brackets

Versions

OS: Ubuntu 18.04 (develpoment branch, will be released next month).

Release 1.12 build 1.12.0-17621 (release d3b783b99) 
build timestamp: Thu Feb 01 2018 12:36:24 GMT+0000
@ghost
Copy link

ghost commented Mar 27, 2018

Same issue on my Ubuntu 18.04. I have to remove Virtualbox to install Brackets.

@avidwriter
Copy link

Even worse on Ubuntu Server version it asks to remove package ubuntu-server when trying to install libcurl3

@alherrera42
Copy link

Same here. I can't even install Virtualbox on Ubuntu 18.04 because it asks for libcurl4, but I also need Brackets that much.

@elhoir
Copy link

elhoir commented Apr 29, 2018

I can confirm this issue too.

@ghost
Copy link

ghost commented May 2, 2018

On Ubuntu 18.04 Bionic it asks to remove Virtualbox 5.2.10 and libcurl4.

Removing virtualbox-5.2 (5.2.10-122088~Ubuntu~bionic) ...
Removing libcurl4:amd64 (7.58.0-2ubuntu3) ..

@pmario
Copy link

pmario commented May 3, 2018

That's a real deal-breaker. Is there any solution in sight?

@joshmckibbin
Copy link

samesies

@jsanta
Copy link

jsanta commented May 16, 2018

I just fixed it but had to rebuild the deb package.

  1. Download the .deb installer file
  2. Inside the folder your 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 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

At least the program opens. Don't know if there's anything broken though.

@Qussayyon
Copy link
Author

Qussayyon commented May 19, 2018

@jsanta
Thanks, it get installed, but extensions manager is not retrieving anything!

@jsanta
Copy link

jsanta commented May 23, 2018

@Qussayyon that's weird 'cause I installed a few extensions on my own installation of Brackets. I suspect mileage will vary depending on other factors (OS, other packages, any running firewalls, or else).
Sorry I can't give you any other hints.

@Qussayyon
Copy link
Author

@jsanta,
Thanks, I figured it out, as I don't have any firewall or anything. also, I was unable to see files in files tree. It turns out that it needs to run as: sudo brackets
I thought I was not the only who facing the issue.

@marc-portier
Copy link

trick suggested by @jsanta worked for me too
installing extra modules works
no sudo required

slight modification though: I replaced "libcurl3" by the statement "libcurl3|libcurl4"
(seems less intrusive, and a possibility to have a Brackets deb that can work for more people accross the board (independt of them having either of those packages on board)

got the suggestion from reading this comment: https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1754294/comments/55

@Qussayyon
Copy link
Author

@marc-portier
gr8 trick, I was looking for a way to include either, but I didn't know how deb packages represent OR operation.

@koudeIka
Copy link

Confirmed on Debian Buster. Can't install Brackets because libcurl4 issue.
Trick suggested by @jsanta worked tough

@Eskander
Copy link

For now, Brackets version provided in WebUpd8 PPA works with libcurl4. https://launchpad.net/~webupd8team/+archive/ubuntu/brackets

@slipttees
Copy link

trick suggested by @jsanta worked for me too!

@lloony
Copy link

lloony commented Aug 15, 2018

Confirmed and fix @jsanta worked 4 me too.

@Gabrock94
Copy link

Same issue on Linux Mint 19., asked me to remove R-cran and relative packages.
@jsanta solution worked for me, including installing extra modules.

@louis993546
Copy link

louis993546 commented Oct 19, 2018

Same issue on elementary 5.0 Juno, and @jsanta 's solution works great!

@disorder75
Copy link

@jsanta it works perfectly :-)

@RustyRaptor
Copy link

Question: Why don't we just fix the deb release to allow both versions of libcurl? This has been on for a while and it's really silly to have to repackage the deb yourself when it's such a simple fix.

@PlamenSh
Copy link

PlamenSh commented Dec 5, 2018

Perhaps a noobish observation but checking the code I cant find libcurl3 (or libcurl4) in it. Is this added during packaging? Im trying to make it work with both libcurl3 and libcurl4 as @marc-portier and @RustyRaptor suggested.

UPDATE
nvm I found it. The build instruction are here: https://github.com/adobe/brackets-shell/blob/master/installer/linux/debian/control

@RustyRaptor
Copy link

Perhaps a noobish observation but checking the code I cant find libcurl3 (or libcurl4) in it. Is this added during packaging? Im trying to make it work with both libcurl3 and libcurl4 as @marc-portier and @RustyRaptor suggested.

UPDATE
nvm I found it. The build instruction are here: https://github.com/adobe/brackets-shell/blob/master/installer/linux/debian/control

scroll up. It's added into the .deb file configuration. There are insructions above in the comments on how to unpack, edit, then repack the deb file to have it use whatever version of curl you need.

@PlamenSh
Copy link

PlamenSh commented Dec 5, 2018

@RustyRaptor yea the idea is to avoid this in future installs. Pull req with fix is sent for it.

@thunderamur
Copy link

Confirm issue.

@amankakar
Copy link

amankakar commented Sep 18, 2019

ERROR

i had same issue while installing curl.
sudo apt-get install curl
curl : Depends: libcurl4 (= 7.58.0-2ubuntu3.8ppa2) but it is not going to be installed

when i try to install curl4 it give me error:
sudo apt-get install libcurl4 curl
mongodb-org-server : Depends: libcurl3 (>= 7.16.2) but it is not going to be installed

but i had already curl3 with latest version.

Solution

i have Ubuntu 18.04.2 LTS codname bionic
i execute following commands:
first i install curl4 required version:
sudo apt-get install libcurl4=7.58.0-2ubuntu3.8ppa2
above command will remove error of culr3 and curl4
then i execute command install curl
sudo apt-get install curl
curl installed successfully

@therayvoice
Copy link

Same issue here, I just installed Brackets (and loving it) on Ubuntu 18.04 LTS using the ".deb" package and it is working great! but Ubuntu is giving be an error/notification of unmet dependencies.

When I run "sudo apt upgrade" I get the following error:

The following packages have unmet dependencies:
brackets : Depends: libcurl3 but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

@therayvoice
Copy link

There is a duplicate issue #14667

@PeterNdomano
Copy link

I used @jsanta 's solution on Parrot OS and Brackets was installed but it never opens or start

@i0x71
Copy link

i0x71 commented Dec 5, 2019

I just fixed it but had to rebuild the deb package.

1. Download the .**_deb_** installer file

2. Inside the folder your 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 `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 `

At least the program opens. Don't know if there's anything broken though.

Its been over a year and people still have to google around for this solution, meanwhile 1.14.1 just got released. Why couldn't this have been already fixed ?

@rodrigofbm
Copy link

2020 overthere and this still here. They don't give a shi** for us. Moving for VS Code...

@LDLanagan
Copy link

For now, Brackets version provided in WebUpd8 PPA works with libcurl4. https://launchpad.net/~webupd8team/+archive/ubuntu/brackets

Can confirm it works on Bionic and it's my favorite editor ever, so loving this poster more than ice cream rn. <3 <3

@eaxode
Copy link

eaxode commented Jul 15, 2020

Not fixed by now :/
Xubuntu 20.04

@RustyRaptor
Copy link

Been using VSCode for the past 2 years. I'm still reminded every month by Github that this is still an issue. Tragic.

@ghost
Copy link

ghost commented Aug 31, 2020

August 31, 2020 4:51PM Chicago, IL USA

I've been looking for an answer to file tree not showing up and none of the solutions I've found haven't worked. 2.5 years from the first post and this issue is still an issue. I've wasted more time than I can count any more and I'm getting frustrated, I also tried to install an extension and the extension manager just spins and will not connect, I waited 15 minutes and nothing.

Can we still trust Brackets to be a valuable tool? Not me

I was using Brackets on Ubuntu 18.04 and had no issues and after the upgrade to Ubuntu 20.04 I lost the file tree

FIX IT NOW!

@M-DVD
Copy link

M-DVD commented Oct 16, 2020

I used @jsanta 's solution on Parrot OS and Brackets was installed but it never opens or start

Same here in Debian 10.

@alebg
Copy link

alebg commented Oct 18, 2020

Same issue on Linux Mint 19., asked me to remove R-cran and relative packages.
@jsanta solution worked for me, including installing extra modules.

Same for me, 2 years later (Linux Mint 19.2). I wanted to give Brackets a try since I'm learning some web development, but I need R so there's no way I'm installing Brackets. And I'm not an expert, but isn't curl like a very basic Bash program? (in the sense that it sounds like a bad idea to remove it)

@sk8807307
Copy link

thanks it works on MX_LINUX petito feo 19

@yonderbread
Copy link

I just fixed it but had to rebuild the deb package.

1. Download the .**_deb_** installer file

2. Inside the folder your 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 `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 `

At least the program opens. Don't know if there's anything broken though.

Tysm this worked

@Jieiku
Copy link

Jieiku commented Nov 20, 2020

I give up, this worked good for me:

sudo apt install kate

kate is actually a nice editor, I think I will see what I can do to change its appearance a bit, then I will be happy with it.

@Jieiku
Copy link

Jieiku commented Nov 20, 2020

Does anyone know if there are any Major forks of Brackets? ones with more active development?

@yonderbread
Copy link

Does anyone know if there are any Major forks of Brackets? ones with more active development?

i wasnt able to find any, but if youre looking for a good editor just use Notepad++

@eaxode
Copy link

eaxode commented Dec 19, 2020

Adobe Inc. is increasingly fighting against insignificance. Therefore it is not so tempting to try to get or keep a contract with them.
You can see that very well on https://github.com/adobe/brackets/graphs/contributors

I'm afraid you'll have to fix it yourself or switch to a software with active development. Keeping them up 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