Unable to install current RavenDB.Database nuget package

1,802 views
Skip to first unread message

esskar .

unread,
Jan 30, 2014, 11:33:40 AM1/30/14
to rav...@googlegroups.com

Hi,

I am trying to install RavenDB.Database package, but it gives me an error regarding System.Spartial version mismatch.

PM> Install-Package RavenDB.Database
Attempting to resolve dependency 'Microsoft.CompilerServices.AsyncTargetingPack'.
Attempting to resolve dependency 'System.Spatial (≥ 5.2)'.
Attempting to resolve dependency 'WindowsAzure.Storage (≥ 2.0)'.
Attempting to resolve dependency 'Microsoft.Data.OData (≥ 5.2.0)'.
Attempting to resolve dependency 'Microsoft.Data.Edm (= 5.2.0)'.
Attempting to resolve dependency 'Microsoft.WindowsAzure.ConfigurationManager (≥ 1.8.0.0)'.
Installing 'System.Spatial 5.2.0'.
You are downloading System.Spatial from Microsoft Corporation, the license agreement to which is available at http://go.microsoft.com/?linkid=9809688. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'System.Spatial 5.2.0'.
Install failed. Rolling back...
Install-Package : Updating 'System.Spatial 5.2.0' to 'System.Spatial 5.0.2' failed. Unable to find a version of 'RavenDB.Database' that is compatible with 'System.Spatial 5.0.2'.
At line:1 char:1
+ Install-Package RavenDB.Database
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
 
PM> 

any idea what's wrong here?

Regards,
esskar

Oren Eini (Ayende Rahien)

unread,
Jan 30, 2014, 11:34:05 AM1/30/14
to ravendb
Hm... are you running this on 4.5? 4.0?

 RavenDB Conference

Oren Eini
CEO
Hibernating Rhinos
Office:    +972-4-674-7811
Fax:       +972-153-4622-7811





--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

esskar .

unread,
Jan 30, 2014, 11:37:59 AM1/30/14
to rav...@googlegroups.com
Does not make a difference. I tried 4.5 first, then switched to 4.0. Error is the same.

Oren Eini (Ayende Rahien)

unread,
Jan 30, 2014, 11:40:20 AM1/30/14
to ravendb
What is the version you are trying to install?

 RavenDB Conference

Oren Eini
CEO
Hibernating Rhinos
Office:    +972-4-674-7811
Fax:       +972-153-4622-7811





esskar .

unread,
Jan 30, 2014, 11:44:53 AM1/30/14
to rav...@googlegroups.com
The latest stable one, or one that works with ravendb server 2570.

Oren Eini (Ayende Rahien)

unread,
Jan 30, 2014, 12:02:05 PM1/30/14
to ravendb
You appears to be doing a reverse update:

Updating 'System.Spatial 5.2.0' to 'System.Spatial 5.0.2'

From 5.2.0 to 5.0.2

 RavenDB Conference

Oren Eini
CEO
Hibernating Rhinos
Office:    +972-4-674-7811
Fax:       +972-153-4622-7811





On Thu, Jan 30, 2014 at 6:33 PM, esskar . <ess...@gmail.com> wrote:

--

Oren Eini (Ayende Rahien)

unread,
Jan 30, 2014, 12:02:24 PM1/30/14
to ravendb
You probably have something else that have a dependency on that version.

 RavenDB Conference

Oren Eini
CEO
Hibernating Rhinos
Office:    +972-4-674-7811
Fax:       +972-153-4622-7811





esskar .

unread,
Jan 30, 2014, 12:29:42 PM1/30/14
to rav...@googlegroups.com
I know installed any dependency by hand (always the latest) and at the end i was able to install ravendb.database

strange.

Alexander Lapa

unread,
Feb 2, 2014, 6:25:48 AM2/2/14
to rav...@googlegroups.com
The same problem. Cannot instal RavenDB.Database. Clean project without dependencies.

Oren Eini (Ayende Rahien)

unread,
Feb 2, 2014, 9:33:01 AM2/2/14
to ravendb

What is the error?

On Feb 2, 2014 1:25 PM, "Alexander Lapa" <deadari...@gmail.com> wrote:
The same problem. Cannot instal RavenDB.Database. Clean project without dependencies.

--

Jan Šubrt

unread,
Feb 3, 2014, 2:21:01 PM2/3/14
to rav...@googlegroups.com
Had the same exact problem. Solved by downgrading nuget package manager from 2.8 to 2.7.2. Hope it helps

Mauro Servienti

unread,
Feb 3, 2014, 4:41:04 PM2/3/14
to rav...@googlegroups.com
nuget...my beloved nuget... :-\

Sent from my Amazing Yellow Lumia, typos are guaranteed ;-)

From: Jan Šubrt
Sent: ‎03/‎02/‎2014 20.21
To: rav...@googlegroups.com
Subject: [RavenDB] Re: Unable to install current RavenDB.Database nuget package

--

Marek Sasik

unread,
Feb 3, 2014, 4:55:07 PM2/3/14
to rav...@googlegroups.com
I have the same error when installing RavenDB test

Dňa nedeľa, 2. februára 2014 12:25:48 UTC+1 Alexander Lapa napísal(-a):

Matt Johnson

unread,
Feb 4, 2014, 1:06:32 AM2/4/14
to rav...@googlegroups.com
You don't need to downgrade.  The problem is indeed caused by NuGet though.  In 2.8 they introduced a new feature to control which versions of which dependencies get installed.  Apparently they have some kinks to work out, but you can get things to install with some extra parameters:

Install-Package RavenDB.Embedded -DependencyVersion Highest

Chris Marisic

unread,
Feb 5, 2014, 1:15:45 PM2/5/14
to rav...@googlegroups.com
DLL Hell has been supplanted by Nuget Hell.Both are frustratingly difficult to solve. Nuget hell is probably more honest atleast. 

Kijana Woodard

unread,
Feb 5, 2014, 2:16:48 PM2/5/14
to rav...@googlegroups.com
The nuget problem is more purgatory. DLL hell was really really really painful.

It seems that the root problem is "I only want one level of dependencies. I don't want to take on the dependencies of my dependencies".

George Mauer

unread,
Jun 22, 2014, 4:41:52 PM6/22/14
to rav...@googlegroups.com
Glad to find this answer but it took a surprising amount of googling and reading. Until this is sorted out should the main nuget page have a warning about the error with a link to this response?

Fitzchak Yitzchaki

unread,
Jun 23, 2014, 4:49:22 AM6/23/14
to <ravendb@googlegroups.com>

Best Regards,

Fitzchak Yitzchaki

Hibernating Rhinos Core Team





--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ryan Taylor

unread,
Jul 26, 2014, 5:07:51 PM7/26/14
to rav...@googlegroups.com
Just want to add that I needed to run VS 2013 update2 as admin, then this command worked for me. Thanks!
Message has been deleted

Stuart Meeks

unread,
Jul 27, 2015, 8:04:43 AM7/27/15
to RavenDB - 2nd generation document database, ess...@gmail.com
I'm attempting to install the RavenDB.Database package and getting the error, "The path is not of a legal form."

Here's the output:
PM> Install-Package RavenDB.Database -DependencyVersion Highest
Attempting to gather dependencies information for package 'RavenDB.Database.3.0.3690' with respect to project 'xxxxxxxxxxxxxxxxxxxxxx', targeting '.NETFramework,Version=v4.6'
Attempting to resolve dependencies for package 'RavenDB.Database.3.0.3690' with DependencyBehavior 'Highest'
Resolving actions to install package 'RavenDB.Database.3.0.3690'
Resolved actions to install package 'RavenDB.Database.3.0.3690'
Adding package 'RavenDB.Database.3.0.3690' to folder 'xxxxxxxxxxxxxxxxxxxxxx\packages'
Install failed. Rolling back...
Package 'RavenDB.Database 3.0.3690' does not exist in project 'xxxxxxxxxxxxxxxxxxxxxx'
Removing package 'RavenDB.Database 3.0.3690' from folder 'xxxxxxxxxxxxxxxxxxxxxx\packages'
Removed package 'RavenDB.Database 3.0.3690' from folder 'xxxxxxxxxxxxxxxxxxxxxx\packages'
Install-Package : The path is not of a legal form.
At line:1 char:1
+ Install-Package RavenDB.Database -DependencyVersion Highest
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
 
PM>

Can anyone help with this?

Thanks,

Stuart

Oren Eini (Ayende Rahien)

unread,
Jul 27, 2015, 8:06:19 AM7/27/15
to ravendb, ess...@gmail.com

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
Reply all
Reply to author
Forward
0 new messages