U4-6703 - Upgrading from 7.2.5 to 7.2.6 via nuget fails when Forms 4.1.3 is installed

Created by Frederik Raabye 15 Jun 2015, 09:03:23 Updated by Shannon Deminick 26 Jun 2017, 07:13:12

Upgrading via nuget command line fails like this:

PM>Update-Package UmbracoCms ... Uninstalling 'UmbracoCms.Core 7.2.5'. Successfully uninstalled 'UmbracoCms.Core 7.2.5'. Update-Package : Unable to uninstall 'UmbracoCms 7.2.6' because 'UmbracoForms 4.1.3' depends on it. At line:1 char:1

  • Update-Package UmbracoCms
  •   + CategoryInfo          : NotSpecified: (:) [Update-Package], Exception
      + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.UpdatePackageCommand
    
    

One or more packages could not be completely uninstalled: UmbracoCms.Core.7.2.5. Restart Visual Studio to finish uninstall.

Forms was manually installed/updated previously via nuget.

Comments

Murray Roke 03 Aug 2015, 23:54:48

I get the same with later versions, despite this message the install seems to have worked correctly. the error message seems to be caused by an erroneous attempt to un-install umbraco again?

PM> Update-Package UmbracoCms
Updating 'UmbracoCms' from version '7.2.6' to '7.2.8' in project 'www.example.com'.
Removing 'UmbracoCms 7.2.6' from www.example.com.
Skipping 'Views\Partials\Grid\Bootstrap2.cshtml' because it was modified.
Skipping 'Views\Partials\Grid\Bootstrap3.cshtml' because it was modified.
Skipping 'Views\Partials\Grid\Bootstrap2.cshtml' because it was modified.
Skipping 'Views\Partials\Grid\Bootstrap3.cshtml' because it was modified.
Skipping 'Config\ClientDependency.config' because it was modified.
Skipping 'Config\Dashboard.config' because it was modified.
Skipping 'Config\log4net.config' because it was modified.
Skipping 'Config\tinyMceConfig.config' because it was modified.
Skipping 'Config\trees.config' because it was modified.
Skipping 'Config\umbracoSettings.config' because it was modified.
Skipping 'Config\UrlRewriting.config' because it was modified.
Skipping 'Global.asax' because it was modified.
Successfully removed 'UmbracoCms 7.2.6' from www.example.com.
Removing 'UmbracoCms.Core 7.2.6' from www.example.com.
Successfully removed 'UmbracoCms.Core 7.2.6' from www.example.com.
Removing 'Examine 0.1.63.0' from www.example.com.
Successfully removed 'Examine 0.1.63.0' from www.example.com.
Removing 'ClientDependency 1.8.3.1' from www.example.com.
Successfully removed 'ClientDependency 1.8.3.1' from www.example.com.
Removing 'MySql.Data 6.9.6' from www.example.com.
Successfully removed 'MySql.Data 6.9.6' from www.example.com.
Adding 'MySql.Data 6.9.7' to www.example.com.
Successfully added 'MySql.Data 6.9.7' to www.example.com.
Adding 'ClientDependency 1.8.4' to www.example.com.
Successfully added 'ClientDependency 1.8.4' to www.example.com.
Adding 'Examine 0.1.65.0' to www.example.com.
Successfully added 'Examine 0.1.65.0' to www.example.com.
Adding 'UmbracoCms.Core 7.2.8' to www.example.com.
Successfully added 'UmbracoCms.Core 7.2.8' to www.example.com.
Adding 'UmbracoCms 7.2.8' to www.example.com.
File Conflict
File 'Views\Partials\Grid\Bootstrap3.cshtml' already exists in project 'www.example.com'. Do you want to overwrite it?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "N"):a
Overwrite existing file 'Views\Partials\Grid\Bootstrap3.cshtml'.
Overwrite existing file 'Views\Partials\Grid\Bootstrap2.cshtml'.
Overwrite existing file 'Global.asax'.
Overwrite existing file 'Config\UrlRewriting.config'.
Overwrite existing file 'Config\umbracoSettings.config'.
Overwrite existing file 'Config\trees.config'.
Overwrite existing file 'Config\tinyMceConfig.config'.
Overwrite existing file 'Config\log4net.config'.
Overwrite existing file 'Config\Dashboard.config'.
Overwrite existing file 'Config\ClientDependency.config'.
Uninstalling 'UmbracoCms 7.2.6'.
Successfully uninstalled 'UmbracoCms 7.2.6'.
Uninstalling 'UmbracoCms.Core 7.2.6'.
Successfully uninstalled 'UmbracoCms.Core 7.2.6'.
Uninstalling 'Examine 0.1.63.0'.
Successfully uninstalled 'Examine 0.1.63.0'.
Uninstalling 'ClientDependency 1.8.3.1'.
Successfully uninstalled 'ClientDependency 1.8.3.1'.
Uninstalling 'MySql.Data 6.9.6'.
Successfully uninstalled 'MySql.Data 6.9.6'.
Update-Package : Unable to uninstall 'UmbracoCms 7.2.8' because 'UmbracoForms 4.1.4' depends on it.
At line:1 char:15
+ Update-Package <<<<  UmbracoCms
    + CategoryInfo          : NotSpecified: (:) [Update-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.UpdatePackageCommand
 


Shannon Deminick 26 Jun 2017, 07:13:12

Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/


Priority: Normal

Type: Bug

State: Closed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.2.5, 7.2.6, 7.2.8

Due in version:

Sprint:

Story Points:

Cycle: