Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse update error due to snap read-only system
Eclipse update error due to snap read-only system [message #1831892] Tue, 01 September 2020 21:43 Go to next message
Mohammad Mahdi Amirian is currently offline Mohammad Mahdi AmirianFriend
Messages: 3
Registered: September 2020
Junior Member
I tried to update eclipse in ubuntu 20.04 LTS, but was stopped by this error:
'Update Software' has encountered a problem. An error occurred while uninstalling
The detail is as follows:
An error occurred while uninstalling
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp_root 4.14.0.v20191210-0610 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).
Backup of file /snap/eclipse/48/readme/readme_eclipse.html failed.
File that was copied to backup could not be deleted: /snap/eclipse/48/readme/readme_eclipse.html

I guess it is due to the snap read-only system as I cannot remove the mentioned file manually. Running eclipse as root and updating also causes the same error obviously because the file cannot also be removed with the root permission.
Re: Eclipse update error due to snap read-only system [message #1831914 is a reply to message #1831892] Wed, 02 September 2020 14:24 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4035
Registered: July 2009
Senior Member

You'll need to talk to whomever created this snap package.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse update error due to snap read-only system [message #1832709 is a reply to message #1831892] Wed, 23 September 2020 16:51 Go to previous messageGo to next message
Rajat Dhanotiya is currently offline Rajat DhanotiyaFriend
Messages: 2
Registered: September 2020
Junior Member
Have you got any solution to this problem? I am also getting error exactly same as yours while upgrading eclipse version to 2020-09. if you have found any solution please share.

Thank you
Re: Eclipse update error due to snap read-only system [message #1832710 is a reply to message #1832709] Wed, 23 September 2020 17:12 Go to previous messageGo to next message
Mohammad Mahdi Amirian is currently offline Mohammad Mahdi AmirianFriend
Messages: 3
Registered: September 2020
Junior Member
Not yet, any solution would be appreciated.
Re: Eclipse update error due to snap read-only system [message #1832726 is a reply to message #1832710] Wed, 23 September 2020 20:58 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4035
Registered: July 2009
Senior Member

Are snap packages intended to be upgraded in ways other than picking up a newer version of the snap?

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse update error due to snap read-only system [message #1832731 is a reply to message #1832726] Thu, 24 September 2020 02:32 Go to previous messageGo to next message
Mohammad Mahdi Amirian is currently offline Mohammad Mahdi AmirianFriend
Messages: 3
Registered: September 2020
Junior Member
I really don't know what snap is and how it is upgraded. I haven't upgraded that manually. I use Ubuntu LTS and it is upgraded by the system (if it is!)
Re: Eclipse update error due to snap read-only system [message #1832735 is a reply to message #1832731] Thu, 24 September 2020 04:36 Go to previous message
Rajat Dhanotiya is currently offline Rajat DhanotiyaFriend
Messages: 2
Registered: September 2020
Junior Member
also I am not able to edit eclipse.ini file to increase heap size, how can I modify this file as root?
Previous Topic:Can't launch Eclipse after installing it on Ubuntu
Next Topic:eclipse would not launch
Goto Forum:
  


Current Time: Tue Apr 20 11:52:02 GMT 2021

Powered by FUDForum. Page generated in 0.02925 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top