Some conflicts were found in the installation area: jbr/bin/java is modified
Asked Answered
C

6

44

On Ubuntu, can't update to IntelliJ IDEA 2020.3 because of this conflict. What's going on? How do I resolve it?

enter image description here

Image transcript:

Some conflicts were found in the installation area.

Some of the conflicts below do not have a solution, so the patch cannot be applied. Please download this version from developer Web site and reinstall it from scratch.
Press 'Cancel' to exit.

Cochran answered 5/12, 2020 at 11:26 Comment(1)
nice. thanks for the transcript.Cochran
H
48

update with the tool https://www.jetbrains.com/toolbox-app/ worked for me

Hallam answered 11/1, 2021 at 8:24 Comment(7)
This is a better answer.Inwardness
For me there is no choice to update IntelliJ in that tool. I can only install IntelliJ which install a new separate IntelliJ instance anywhere into ~/.local/share/JetBrains/Toolbox/apps/IDEA-U/. For me the answer of "lyind" is the right ...Sclerophyll
Worked for me, thank you. I had about 100+ errors like in the subject post when updating from IDEA (2021.12021.2). The Toolbox App appied the update from the 1st attempt.Monotint
It works. Will need to click "uninstall" the old version manually.Caladium
On Windows 10, the toolbox didn't actually update, it installed in a new user folder C:\Users\Angelos\AppData\Local\JetBrains\Toolbox\apps\WebStorm\ch-0\232.8660.143 which is ludicrous. I wanted an installation for all users, it didn't even ask me.Diaconicum
Thank you! Toolbox has not only solved my update issue but it's an awesome app to have running when you run multiple Jetbrains products for multiple projectsTired
you need to run the tool as admin in windows to give it write permissions to the installed IDEA pathIntentional
G
6

I fought with this for a while. There's a long thread here that suggested several things, none of which worked for me. In summary:

  • launching IDEA from a symlinked directory caused this for some people
  • some people were able to close all existing projects and apply the update from the welcome screen (it's available from a Configure | Check for Updates menu item on the bottom of the welcome screen).

None of that worked for me, so I eventually just downloaded a fresh full install instead of the patch :|

Gorga answered 5/12, 2020 at 21:11 Comment(3)
a fresh full install cannot update to 2020.3.1 for meUnshod
"a fresh full install worked (also) for me"Chiliad
removing the jbr directory seems to helpOliviero
S
5

As @paul-praet commented, the following seems to work:

  1. close IDE and terminate all java/gradle processes
  2. delete or move the jbr sub-directory from the idea-IU-*** directory
  3. start the IDE
  4. perform the update using "Check for Updates" menu entry
Scheer answered 22/2, 2021 at 17:53 Comment(2)
works well for me, easy although one might think it's a bit hacky, but what the ... ;)Japeth
Worked for me, but after I moved the jbr folder, the fonts in the IDE looked really weird. That's why I re-added the jbr folder after the update.Indelicate
B
2

I did this before updating and it worked perfectly:

$ chmod 777 jbr/bin/java
Bandsman answered 19/4, 2021 at 15:30 Comment(0)
L
0

Had the same issue when updating to 2021.2 For me none of the answers worked. The only thing that worked for me was to download Intellij from Jetbrains website and install it over the old one (replace)

Letaletch answered 29/7, 2021 at 7:58 Comment(0)
F
0

I encounter similar issue for updating Android studio in Ubuntu. Perhaps I have used IDE's java in JAVA_HOME environment variable, there are some running java process. Here is the solution works for me.

By executing killall java, then launch Android studio with the script studio.sh, then check and perform update, the updating process can go smoothly without error.

Flatways answered 19/7 at 7:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.