Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1490] Titanium studio won't update to 3.4.0 beta

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2015-09-30T07:17:50.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelsn/a
ReporterSzymon Tomasz Stefanek
AssigneeMostafizur Rahman
Created2014-09-05T21:50:08.000+0000
Updated2016-03-08T07:37:56.000+0000

Description

Error encountered during update An error occurred while uninstalling session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]com.appcelerator.titanium.feature.rcp_root 3.2.3.201404290739-837YFA8FFBdX_z0Kz0x6oEDEGA48 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction). Backup of file /opt/titanium-studio/configuration/.settings/org.eclipse.equinox.p2.metadata.repository.prefs failed. File that was copied to backup could not be deleted: /opt/titanium-studio/configuration/.settings/org.eclipse.equinox.p2.metadata.repository.prefs

Comments

  1. Szymon Tomasz Stefanek 2014-09-05

    Deleting the file manually doesn't fix the issue.
  2. Ingo Muschenetz 2014-09-16

    Have you tried this more recently?
  3. Szymon Tomasz Stefanek 2015-02-14

    Yes. The problem happens also with the update to 3.5.0. Error encountered during update An error occurred while uninstalling session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]com.appcelerator.titanium.feature.rcp_root 3.4.0.201409261227-827bFA2FF7cLVuUtuFNtX8GB189I --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction). Backup of file /opt/titanium-studio/configuration/.settings/org.eclipse.equinox.p2.metadata.repository.prefs failed. File that was copied to backup could not be deleted: /opt/titanium-studio/configuration/.settings/org.eclipse.equinox.p2.metadata.repository.prefs Restarting Titanium Studio as root and performing the update seems to work.
  4. Fokke Zandbergen 2015-04-23

    This issue also happens with update to 4.0.0 https://community.appcelerator.com/topic/220/studio-update-windows-error
  5. Ingo Muschenetz 2015-04-23

    [~fokkezb] I believe the issue is people installed as administrator, and then need to update as administrator. It appears to be a permission issue. "Restarting Titanium Studio as root and performing the update seems to work."
  6. Fokke Zandbergen 2015-04-23

    So could we inform users about that when we don't have permission to delete that file? Suggest them to start Studio as root?
  7. Ingo Muschenetz 2015-04-23

    I don't know if that's the _only_ file that will cause that problem [~cwilliams], thoughts?

JSON Source