"This repository indicated that all its packages are repository signed; however, this package is unsigned." 在 Jetbrains RIder 上
"This repository indicated that all its packages are repository signed; however, this package is unsigned." on Jetbrains RIder
每次我尝试从 mac 的骑手上的 "package" 选项卡更新 nuget 时,我都会收到以下消息:
"[Notification][Install] Install failed (project: xxx, package:
Xamarin.Forms v4.1.0.581479) Package restore failed. Rolling back
package changes for xxx".
打开日志选项卡,似乎是来自“https://api.nuget.org/v3/index.json”的包的签名问题。
我正在 运行ning Jetbrains Rider 2019.1.3(还有 2019.1.2),在 macos Mojave 上。同样的过程适用于 Mac 的 VS 上的 nuget 包工具。
如果我 运行 在包控制台手动恢复和添加命令,它不会失败。
这是我在尝试更新 Xamarin.Forms nuget 时在 NuGet 日志选项卡中收到的消息:
NU3004: Package 'Xamarin.Forms 4.1.0.581479' from source
'https://api.nuget.org/v3/index.json': This repository indicated that
all its packages are repository signed; however, this package is
unsigned. Package restore failed. Rolling back package changes for
'xxx'. NuGet.PackageManagement.PackageReferenceRollbackException:
Package restore failed. Rolling back package changes for 'xxx'. at
NuGet.PackageManagement.NuGetPackageManager.ExecuteBuildIntegratedProjectActionsAsync
(NuGet.ProjectManagement.Projects.BuildIntegratedNuGetProject
buildIntegratedProject, System.Collections.Generic.IEnumerable1[T]
nuGetProjectActions, NuGet.ProjectManagement.INuGetProjectContext
nuGetProjectContext, System.Threading.CancellationToken token)
[0x00c45] in <7a2d2afbbb674cd48052281699c39e01>:0 at
NuGet.PackageManagement.NuGetPackageManager.ExecuteNuGetProjectActionsAsync
(NuGet.ProjectManagement.NuGetProject nuGetProject,
System.Collections.Generic.IEnumerable1[T] nuGetProjectActions,
NuGet.ProjectManagement.INuGetProjectContext nuGetProjectContext,
NuGet.Protocol.Core.Types.PackageDownloadContext downloadContext,
System.Threading.CancellationToken token) [0x00121] in
<7a2d2afbbb674cd48052281699c39e01>:0 at
NuGet.PackageManagement.NuGetPackageManager.InstallPackageAsync
(NuGet.ProjectManagement.NuGetProject nuGetProject,
NuGet.Packaging.Core.PackageIdentity packageIdentity,
NuGet.PackageManagement.ResolutionContext resolutionContext,
NuGet.ProjectManagement.INuGetProjectContext nuGetProjectContext,
NuGet.Protocol.Core.Types.PackageDownloadContext downloadContext,
System.Collections.Generic.IEnumerable1[T] primarySources,
System.Collections.Generic.IEnumerable1[T] secondarySources,
System.Threading.CancellationToken token) [0x00121] in
<7a2d2afbbb674cd48052281699c39e01>:0 at
NuGet.PackageManagement.NuGetPackageManager.InstallPackageAsync
(NuGet.ProjectManagement.NuGetProject nuGetProject,
NuGet.Packaging.Core.PackageIdentity packageIdentity,
NuGet.PackageManagement.ResolutionContext resolutionContext,
NuGet.ProjectManagement.INuGetProjectContext nuGetProjectContext,
System.Collections.Generic.IEnumerable1[T] primarySources,
System.Collections.Generic.IEnumerable1[T] secondarySources,
System.Threading.CancellationToken token) [0x000d3] in
<7a2d2afbbb674cd48052281699c39e01>:0 at
JetBrains.ProjectModel.NuGet.Operations.NuGetInstallOperation+<>c__DisplayClass5_0.b__0
(NuGet.ProjectManagement.NuGetProject nuGetProject,
System.Threading.CancellationToken token) [0x000a5] in
:0 at
JetBrains.ProjectModel.NuGet.Operations.NuGetInstallOperation.InstallInternal
(JetBrains.ProjectModel.IProject project, System.String packageId,
System.String packgeUserStr,
JetBrains.ProjectModel.NuGet.Configs.NuGetFeedContext feedContext,
System.Int32 nestedLevel,
JetBrains.ProjectModel.NuGet.Logging.NuGetNotificationMode mode,
JetBrains.ProjectModel.NuGet.Operations.NuGetOperationReporter
reporter, System.Func`3[T1,T2,TResult] nativeInstall) [0x003e6] in
:0
命令 nuget trusted-signers list
显示
There are no trusted signers.
我尝试使用命令 nuget trusted-signers Add -Name nuget.org
强制将 nuget.org 作为受信任的签名者包含在 ~/.config/NuGet/NuGet.Config 文件中,但问题仍然存在。
有人有什么想法吗?
这是 Rider 2019.1 中 NuGet(请参阅 https://github.com/NuGet/Home/issues/7574). You experienced this bug (https://youtrack.jetbrains.com/issue/RIDER-30213)的原生错误,因为它使用 NuGet 4.9(没有错误修复)。
在 Rider 2019.2 中,内部 NuGet 版本升级到 5.2;现在错误已修复。
每次我尝试从 mac 的骑手上的 "package" 选项卡更新 nuget 时,我都会收到以下消息:
"[Notification][Install] Install failed (project: xxx, package: Xamarin.Forms v4.1.0.581479) Package restore failed. Rolling back package changes for xxx".
打开日志选项卡,似乎是来自“https://api.nuget.org/v3/index.json”的包的签名问题。
我正在 运行ning Jetbrains Rider 2019.1.3(还有 2019.1.2),在 macos Mojave 上。同样的过程适用于 Mac 的 VS 上的 nuget 包工具。
如果我 运行 在包控制台手动恢复和添加命令,它不会失败。
这是我在尝试更新 Xamarin.Forms nuget 时在 NuGet 日志选项卡中收到的消息:
NU3004: Package 'Xamarin.Forms 4.1.0.581479' from source 'https://api.nuget.org/v3/index.json': This repository indicated that all its packages are repository signed; however, this package is unsigned. Package restore failed. Rolling back package changes for 'xxx'. NuGet.PackageManagement.PackageReferenceRollbackException: Package restore failed. Rolling back package changes for 'xxx'. at NuGet.PackageManagement.NuGetPackageManager.ExecuteBuildIntegratedProjectActionsAsync (NuGet.ProjectManagement.Projects.BuildIntegratedNuGetProject buildIntegratedProject, System.Collections.Generic.IEnumerable1[T] nuGetProjectActions, NuGet.ProjectManagement.INuGetProjectContext nuGetProjectContext, System.Threading.CancellationToken token) [0x00c45] in <7a2d2afbbb674cd48052281699c39e01>:0 at NuGet.PackageManagement.NuGetPackageManager.ExecuteNuGetProjectActionsAsync (NuGet.ProjectManagement.NuGetProject nuGetProject, System.Collections.Generic.IEnumerable1[T] nuGetProjectActions, NuGet.ProjectManagement.INuGetProjectContext nuGetProjectContext, NuGet.Protocol.Core.Types.PackageDownloadContext downloadContext, System.Threading.CancellationToken token) [0x00121] in <7a2d2afbbb674cd48052281699c39e01>:0 at NuGet.PackageManagement.NuGetPackageManager.InstallPackageAsync (NuGet.ProjectManagement.NuGetProject nuGetProject, NuGet.Packaging.Core.PackageIdentity packageIdentity, NuGet.PackageManagement.ResolutionContext resolutionContext, NuGet.ProjectManagement.INuGetProjectContext nuGetProjectContext, NuGet.Protocol.Core.Types.PackageDownloadContext downloadContext, System.Collections.Generic.IEnumerable1[T] primarySources, System.Collections.Generic.IEnumerable1[T] secondarySources, System.Threading.CancellationToken token) [0x00121] in <7a2d2afbbb674cd48052281699c39e01>:0 at NuGet.PackageManagement.NuGetPackageManager.InstallPackageAsync (NuGet.ProjectManagement.NuGetProject nuGetProject, NuGet.Packaging.Core.PackageIdentity packageIdentity, NuGet.PackageManagement.ResolutionContext resolutionContext, NuGet.ProjectManagement.INuGetProjectContext nuGetProjectContext, System.Collections.Generic.IEnumerable1[T] primarySources, System.Collections.Generic.IEnumerable1[T] secondarySources, System.Threading.CancellationToken token) [0x000d3] in <7a2d2afbbb674cd48052281699c39e01>:0 at JetBrains.ProjectModel.NuGet.Operations.NuGetInstallOperation+<>c__DisplayClass5_0.b__0 (NuGet.ProjectManagement.NuGetProject nuGetProject, System.Threading.CancellationToken token) [0x000a5] in :0 at JetBrains.ProjectModel.NuGet.Operations.NuGetInstallOperation.InstallInternal (JetBrains.ProjectModel.IProject project, System.String packageId, System.String packgeUserStr, JetBrains.ProjectModel.NuGet.Configs.NuGetFeedContext feedContext, System.Int32 nestedLevel, JetBrains.ProjectModel.NuGet.Logging.NuGetNotificationMode mode, JetBrains.ProjectModel.NuGet.Operations.NuGetOperationReporter reporter, System.Func`3[T1,T2,TResult] nativeInstall) [0x003e6] in :0
命令 nuget trusted-signers list
显示
There are no trusted signers.
我尝试使用命令 nuget trusted-signers Add -Name nuget.org
强制将 nuget.org 作为受信任的签名者包含在 ~/.config/NuGet/NuGet.Config 文件中,但问题仍然存在。
有人有什么想法吗?
这是 Rider 2019.1 中 NuGet(请参阅 https://github.com/NuGet/Home/issues/7574). You experienced this bug (https://youtrack.jetbrains.com/issue/RIDER-30213)的原生错误,因为它使用 NuGet 4.9(没有错误修复)。 在 Rider 2019.2 中,内部 NuGet 版本升级到 5.2;现在错误已修复。