I just did a fresh install of 12.04 Precise. In Eclipse, if I do "Help" > "Check for updates" I see 8 packages which are grayed out with the message "Insufficient access privileges to apply this update." Any idea how I fix this?
|
|
If you install Eclipse from the Ubuntu repository, the Eclipse install will be owned by root. The proper way to update base packages is to use the Ubuntu upgrade tools, not the Eclipse update tools. I believe it is possible to install addons in your Workspace but I would not recommend mixing package managers. If you want to use the Eclipse update process you need to download the Eclipse from the Eclipse download site. When I do that, I install under /opt after setting the privileges to my user id to write there. Unpackage as the user you will be using to run Eclipse. EDIT: I often the permissions on |
||||
|
|
Did the job for me, I was able to install new software (eclipse add-ons) and work with it after restart of eclipse. |
||||
|
|
|
I'm not a big expert in Eclipse, but my understanding is that Eclipse's own update system is sort of concurrent to Ubuntu update system (this is also true for many other packages which have their own update methods, for example Python modules - you can either install them from Ubuntu repos using In those cases, the other, non-Ubuntu update mechanism will try to override files installed from Ubuntu repositories, which, naturally, would require root privileges. Also, I'm not sure it is a good idea - it is likely to create a total mess of files partially installed from Ubuntu repositories and partially using the application's update system. The point is - if you installed Eclipse from Ubuntu repositories, it is better to stick with updates available from Ubuntu repositories and ignore the "Check for updates" option in Eclipse. If you require some Eclipse plugin/extension, you also should install it from Software Center. If Ubuntu versions of Eclipse packages are not bleeding edge enough for you, I'd recomment to download a separate copy of Eclipse from their website (you can also choose the version of Eclipse this way) and run it from your home directory - this actually is quite easy. Then you will be able to update that copy of Eclipse using its own update mechanism and install any plugines, even if they're not available in Ubuntu repos. |
|||
|
|
Ubuntu Software CenterIf you are installing a package through the Ubuntu Software Center, then you should not update from within Eclipse (the OS software-update service would make those changes). If you would like to manage your own application versioning, you need to download the tar from Eclipse directly (recently, you can download a specialized version for Android Development). Manual Installation
For single-user only (easiest)
Installation for all users
|
||||
|
|
|
Eclipse's update mechanism doesn't know about or communicate with Ubuntu's package management system (PMS). Thus, if you update through Eclipse's update mechanism you can cause problems between it and Ubuntu's PMS (files out of sync, botched configurations, etc.). If you're a serious developer and need later versions of Eclipse, you're better off installing Eclipse outside of Ubuntu's PMS as the PMS is always so laughably out of date where Eclipse is concerned. Example: I'm on Ubuntu 14.04 LTS and even after doing |
|||
|
|