adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.26k stars 7.63k forks source link

Brackets fails to install on Fedora 28 #14293

Open krigbaum opened 6 years ago

krigbaum commented 6 years ago

I'm installing Brackets on an upgrade to Fedora 28 from Fedora 27. I've made repeated attempts to install and followed some of the more reasonable suggestions on the web, but nothing seems to help. The error itself in detail is included below

[krigbaum@krigbaum Downloads]$ sudo dnf copr enable mosquito/brackets

You are about to enable a Copr repository. Please note that this repository is not part of the main distribution, and quality may vary.

The Fedora Project does not exercise any power over the contents of this repository beyond the rules outlined in the Copr FAQ at https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr, and packages are not held to any quality or security level.

Please do not file bug reports about these packages in Fedora Bugzilla. In case of problems, contact the owner of this repository.

Do you want to continue? [y/N]: y Repository successfully enabled. [krigbaum@krigbaum Downloads]$ sudo dnf install brackets
Failed to synchronize cache for repo 'mosquito-brackets', disabling. Last metadata expiration check: 0:00:43 ago on Wed 02 May 2018 09:54:21 AM EDT. No match for argument: brackets Error: Unable to find a match

NeoFromMatrix commented 6 years ago

same behavior on a machine with f25->f26->f27->f28 upgrade history

appears that the copr repo has only a release for f26 ?

imilos commented 6 years ago

You can use a snap package https://snapcraft.io/brackets. It works for me on F28.

heliagat commented 6 years ago

You could modify your repo file to install the last stable brackets version for fedora... the 26:

Edit:

_vi /etc/yum.repos.d/_coprmosquito-brackets.repo

Then change from:

[mosquito-brackets] name=Copr repo for brackets owned by mosquito baseurl=https://copr-be.cloud.fedoraproject.org/results/mosquito/brackets/fedora-$releasever-$basearch/ ...

to:

[mosquito-brackets] name=Copr repo for brackets owned by mosquito baseurl=https://copr-be.cloud.fedoraproject.org/results/mosquito/brackets/fedora-26-$basearch/ ...

This way you could work with it until will be supported in new versions. Doesn't matters if fedora is upgraded or not.

I hope it help you. It worked for me.

muayyad-alsadi commented 6 years ago

You can use a snap package

@imilos or flatpak, which is the way to go

https://flathub.org/apps/details/io.brackets.Brackets

stefhol commented 5 years ago

flatpak and snapcraft had some problems and mosquito/brackets is outdated So i managed to get a up to date (1.3 )and good running brackets version for fedora 29 and 28 I used a different unofficial repository sudo dnf copr enable pyra/brackets but it only supports fedora 28 for 29 sudo nano /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:pyra:brackets.repo and change the lines like @heliagat said and instead of fedora-26-$basearch/ you use fedora-28-$basearch/ sudo install brackets works for me

erdmann040 commented 5 years ago

Thanks to wetOrat it finally works!

I've spent hours making Brackets run under Fedeora. I also tryed flatpak and snap. Either no pluggins could be installed or the browser preview didn't work ... But the suggestion of wetOrat finaly works fine - even under Fedora 30. Thank you very much! There is just a small copy'n'past error in the discription:

sudo dnf copr enable pyra/brackets sudo nano /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:pyra:brackets.repo

replace:

`#baseurl=https://copr-be.cloud.fedoraproject.org/results/pyra/brackets/fedora-$releasever-$basearch/`
`baseurl=https://copr-be.cloud.fedoraproject.org/results/pyra/brackets/fedora-28-$basearch/`

save and quit Nano-Editor by [Cntr]+[O], [Enter], [Cntr]+[X]

and run

sudo dnf install brackets

This will install brackets an older version of brackets (1.13 June 2018), but plugins and the Live-Browser-Preview are working fine!

erdmann040 commented 4 years ago

I've now updated to Fedora 31 and the COPR didn't work anymore. Anyway, if found a solution to make the spap image work: Thanks to the post here: https://github.com/adobe/brackets/issues/13730

Step 1: install snap if you do not have spap allready. For instructions go to: https://snapcraft.io/docs/installing-snap-on-fedora

Step 2: Get ride of all the none working installations you might have

Step 3: Install brackets via snap

$ sudo snap install brackets --classic

Step 4: Language Settings

Start Brackets. The Preview will work but the extention manager doesn't load. Go to "Debug (in the main menu) -> Switch Language

Instead of "Default System Language" chose the one you prefere. Now the Extention Manager will work correctly.