NuGet / NuGet/Home

Error extracting foundation-sites 6.4.3 package due to zip file conflicts.

Open
#7,239 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area:ErrorHandling Functionality:Install Functionality:Restore help wanted Priority:2 Type:Bug
Dominant language
HTML
Stars
1.6k
Forks
276
Avg merge
6d 1h
Merged PRs (30d)
1

Description

From @Miclebrick on June 29, 2018 21:6

Steps to reproduce

dotnet new razor
dotnet add package foundation-sites

Expected behavior

installs package

Actual behavior

miclebrick@micles-workshop:~/Web/starlegacy.net$ dotnet add package foundation-sites
Writing /tmp/tmp74iiKh.tmp
info : Adding PackageReference for package 'foundation-sites' into project '/home/miclebrick/Web/starlegacy.net/starlegacy.net.csproj'.
log : Restoring packages for /home/miclebrick/Web/starlegacy.net/starlegacy.net.csproj...
info : CACHE https://api.nuget.org/v3-flatcontainer/foundation-sites/index.json
info : CACHE https://api.nuget.org/v3-flatcontainer/foundation-sites/6.4.3/foundation-sites.6.4.3.nupkg
log : Installing foundation-sites 6.4.3.
error: Access to the path '/home/miclebrick/.nuget/packages/foundation-sites/6.4.3/foundation-sites.nuspec' is denied.
error: Permission denied

Environment data

dotnet --info output:
miclebrick@micles-workshop:~$ dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 2.1.301
Commit: 59524873d6

Runtime Environment:
OS Name: zorin
OS Version: 12
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/2.1.301/

Host (useful for support):
Version: 2.1.1
Commit: 6985b9f684

.NET Core SDKs installed:
2.1.301 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Copied from original issue: dotnet/cli#9594

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with dotnet new razor and dotnet add package foundation-sites on the reported Linux environment. Start by examining restoration of /home/miclebrick/.nuget/packages/foundation-sites/6.4.3/ and the reported access-denied error for foundation-sites.nuspec; done means the package installs without the extraction conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.