Description
A paket restore cannot extract / copy certain files to the packages folder
Repro steps
Please provide the steps required to reproduce the problem
-
Have paket.dependencies file from here: git@github.com:Flohack74/paket-issuetracking.git
-
Do a paket restore with latest version 5.239, or one version below 5.238.2
Expected behavior
All packages are downloaded and installed
Actual behavior
paket restore breaks with
==> Last trial
Downloading Microsoft.Extensions.DependencyInjection 3.1
Not moving as 'C:\Users\flole\.nuget\packages\microsoft.extensions.dependencyinjection\3.1.0\microsoft.extensions.dependencyinjection.3.1.0.nupkg' already exists (maybe some other instance downloaded it as well)
Download of Microsoft.Extensions.DependencyInjection 3.1 done in 28 milliseconds. (50758 kbit/s, 0 MB)
Performance:
- Disk IO: 23 seconds
- Average Download Time: 180 milliseconds
- Number of downloads: 216
- Average Request Time: 177 milliseconds
- Number of Requests: 234
- Runtime: 56 seconds
Paket omitted 4 warnings similar to the ones above. You can see them in verbose mode.
Paket failed with
-> Error during extraction of C:\USERDATA\DEVEL\packages\Microsoft.Extensions.DependencyInjection\microsoft.extensions.dependencyinjection.3.1.0.nupkg.
In rare cases a firewall might have blocked the download. Please look into the file and see if it contains text with further information.
-> IOException: The file 'C:\USERDATA\DEVEL\packages\Microsoft.Extensions.DependencyInjection\packageIcon.png' already exists.
It breaks on either Microsoft.Extensions.DependencyInjection or Microsoft.Extensions.DependencyInjection.Abstractions...
Also, paket restore --force breaks on various packages with
Paket failed with
-> Error during cleaning of C:\USERDATA\DEVEL\packages\Microsoft.AspNet.WebApi.Client
- Access to the path 'C:\USERDATA\DEVEL\packages\Microsoft.AspNet.WebApi.Client\lib\net45' is denied.
-> UnauthorizedAccessException: Access to the path 'C:\USERDATA\DEVEL\packages\Microsoft.AspNet.WebApi.Client\lib\net45' is denied.
But this is a random race condition. Every time this appears its a different package.
Known workarounds
None
Description
A
paket restorecannot extract / copy certain files to the packages folderRepro steps
Please provide the steps required to reproduce the problem
Have paket.dependencies file from here:
git@github.com:Flohack74/paket-issuetracking.gitDo a paket restore with latest version 5.239, or one version below 5.238.2
Expected behavior
All packages are downloaded and installed
Actual behavior
paket restorebreaks withIt breaks on either Microsoft.Extensions.DependencyInjection or Microsoft.Extensions.DependencyInjection.Abstractions...
Also,
paket restore --forcebreaks on various packages withBut this is a random race condition. Every time this appears its a different package.
Known workarounds
None