I installed IntelliJ Idea using Ubuntu Software Centre, but now Idea's build-in update manager notifies me that there is an update available, but the app does not have the permission to update it.
If I click ok to Idea's build in update manager, then the update downloads, but I get an error: "There are some confilecs found in the installation".
Looking at the detail, you can see that it's trying to install a whole bunch of jar files, but that it results in "access denied" failures.
I can update the app as root, using sudo idea.sh
, but then it only update's the version started as root, so when I run the app as my local user again, then it's back at the old version.
Is there a way to run an app as local user, but at the same time give it root permission? This should solve the problem?
gksudo nameOfApp
and then use it's internal update mechanism. However this is not recommended, essentially because you have no way of knowing what harmful things the app might do to your system. Waiting for an update in the Sotware Center of Ubuntu is way safer.