Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 14266  / 1 Year ago, thu, february 16, 2023, 12:30:26

I install Eclipse from the Software Center so it links up and will be updated with the rest of my software. Because I am developing for Android, however, I have to install the ADT Plugin within Eclipse by going to Help > Install new software (or something to that effect). Now, I do understand that I can update Eclipse through the actual Ubuntu software center/system, but in order to update plugins and extensions within Eclipse, I have to go to Help > Check for Updates (which then scans all plugins for updates). The only issue, is that when I installed through the software center, the owner became root, and whenever I run it without root, I'm not able to update - I get the error message "Insufficient access privileges to apply this update." When I run it as root, all of my plugins disappear, because I guess I installed them as myself, not as root. I tried to install the plugins as root, but the Install New Software choice would not work.



Ubuntu 12.04 and Eclipse 3.7.2-1


More From » updates

 Answers
4

The best solution is to become root using su or by logging in as the root user from the start, if you have that ability (Ubuntu users don't, unless they fixed that defect). Anyhow, once you are root, do a chown -R user:group to the path for your eclipse installation.



Then your regular user should be able to install plugins. In the future, do not install eclipse as the root user. Root can still use eclipse when another user installs it and owns it.


[#38865] Friday, February 17, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ovierman

Total Points: 445
Total Questions: 108
Total Answers: 111

Location: Libya
Member since Fri, Oct 30, 2020
4 Years ago
;