Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: error: File does not exist (true) while executing dotnet nuget push command #11601

Closed
renemadsen opened this issue Feb 16, 2022 · 4 comments
Labels
Category:BreakingChange Functionality:Push Product:dotnet.exe RegressionDuringThisVersion A regression which broke since last RTM, and was fixed before the next RTM. Resolution:ByDesign This issue appears to be ByDesign

Comments

@renemadsen
Copy link

renemadsen commented Feb 16, 2022

NuGet Product Used

dotnet.exe

Product Version

dotnet Version: 6.0.200

Worked before?

dotnet version: 6.0.102

Impact

Breaks github build scripts, since it's erroring out, even thought there is no problem.

Repro Steps & Context

Publish a package to nuget.org with the commad like:

dotnet nuget push /home/runner/work/eform-sdk-dotnet/eform-sdk-dotnet/artifacts/Microting.eForm.5.4.30.nupkg -k ${{secrets.NUGET_SECRET_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true

Working edition can be see here: https://github.com/microting/eform-sdk-dotnet/runs/5204099665?check_suite_focus=true#step:8:1

Broken can be seen here: https://github.com/microting/eform-sdk-dotnet/runs/5219100462?check_suite_focus=true#step:8:1

Doing the above, results in an error: "error: File does not exist (true)." even thought the package was pushed and published as expected.

Verbose Logs

No response

@Piedone
Copy link

Piedone commented Feb 16, 2022

Noticed with Orchard Core too. It's definitely a 6.0.102 -> 6.0.200 bug.

You don't need to try to push to a remote feed, local publishing has the same error: dotnet nuget push 'src/**/*.nupkg' -n true -s C:\local-path --skip-duplicate

This is only coming up when -n true is specified. Workaround: just specify -n.

davidkallesen added a commit to atc-net/atc-coding-rules-updater that referenced this issue Feb 16, 2022
davidkallesen added a commit to atc-net/atc-rest-api-generator that referenced this issue Feb 17, 2022
davidkallesen added a commit to atc-net/atc-blazor that referenced this issue Feb 17, 2022
davidkallesen added a commit to atc-net/atc-template-dotnet-package that referenced this issue Feb 17, 2022
@kartheekp-ms kartheekp-ms changed the title [Bug]: error: File does not exist (true). [Bug]: error: File does not exist (true) while executing dotnet nuget push command Feb 17, 2022
@kartheekp-ms
Copy link
Contributor

kartheekp-ms commented Feb 17, 2022

In NuGet/NuGet.Client#4326 PR, we removed accepting values for --no-symbols and --disable-buffering options in dotnet nuget push command because they the values were not useful. I think it will be good to check why the command is throwing error: File does not exist (true). after the package has been pushed.

@kartheekp-ms kartheekp-ms added Functionality:Push Product:dotnet.exe RegressionDuringThisVersion A regression which broke since last RTM, and was fixed before the next RTM. and removed Triage:Untriaged labels Feb 17, 2022
LordMike added a commit to LordMike/MBW.Utilities.IPAddresses that referenced this issue Feb 18, 2022
rogerk-unifysquare added a commit to Unisys/NSign that referenced this issue Feb 21, 2022
renemadsen added a commit to microting/eform-angular-frontend-base that referenced this issue Feb 21, 2022
PathogenDavid added a commit to MochiLibraries/Biohazrd that referenced this issue Feb 21, 2022
degory added a commit to degory/ghul-targets that referenced this issue Feb 27, 2022
michael-brouchoud added a commit to woopsa-protocol/Woopsa that referenced this issue Mar 7, 2022
koenbeuk added a commit to koenbeuk/EntityFrameworkCore.Triggered that referenced this issue Mar 10, 2022
Kurounin added a commit to Kurounin/publish-nuget that referenced this issue Mar 10, 2022
lpreiner added a commit to lpreiner/BraceExpander that referenced this issue Mar 22, 2022
Updated nuget push command per NuGet/Home#11601
StevenTCramer added a commit to TimeWarpEngineering/timewarp-architecture that referenced this issue Mar 27, 2022
mdekrey added a commit to PrincipleStudios/principle-studios-openapi-generators that referenced this issue Apr 1, 2022
Remove parameter from `--no-symbols`

See NuGet/Home#11601 (comment)
Svek added a commit to ceronus/magic-packet that referenced this issue Jul 7, 2022
Svek added a commit to ceronus/medius that referenced this issue Jul 7, 2022
Mpdreamz added a commit to nullean/release-notes that referenced this issue Aug 11, 2022
peache85 pushed a commit to woopsa-protocol/Woopsa that referenced this issue Aug 23, 2022
commit 5b5d883
Author: Paul-Henri Maillefer <[email protected]>
Date:   Tue Aug 23 11:34:35 2022 +0200

    Add unit to check client dispose + Change version to 1.3.2

commit 440dcb0
Author: PeopleCanFly <[email protected]>
Date:   Tue Aug 23 11:33:33 2022 +0200

    Bugfix for Dispose (#81)

    Co-authored-by: David Rey <[email protected]>

commit 0262d23
Author: michael-brouchoud <[email protected]>
Date:   Mon Mar 7 09:28:09 2022 +0100

    remove "true" value after --no-symbols parameters

    boolean is not required anymore NuGet/Home#11601

commit 36c2144
Author: michael-brouchoud <[email protected]>
Date:   Mon Mar 7 09:27:52 2022 +0100

    remove "true" value after --no-symbols parameters

    boolean is not required anymore NuGet/Home#11601
mscottford added a commit to corgibytes/freshli-lib that referenced this issue Sep 8, 2022
Specifying `-n true` appears to cause problems. See NuGet/Home#11601 (comment)
cz-dev-ge added a commit to ZEISS-PiWeb/PiWeb-Formplots that referenced this issue Sep 14, 2022
benmccallum referenced this issue in benmccallum/dotnet-references Oct 14, 2022
pmiossec added a commit to pmiossec/Gitextensions.AzureDevOpsCommitMessage that referenced this issue Dec 8, 2022
The push worked but the build failed with error:
 "Your package was pushed. error: File does not exist (true)."

According to this (not tested), the fix is to remove "true"
NuGet/Home#11601 (comment)
firenero added a commit to firenero/TypeId that referenced this issue Jul 22, 2023
Previously `-n 1` was used and it was causing the error:
NuGet/Home#11601
skukshaus added a commit to skukshaus/logger that referenced this issue Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:BreakingChange Functionality:Push Product:dotnet.exe RegressionDuringThisVersion A regression which broke since last RTM, and was fixed before the next RTM. Resolution:ByDesign This issue appears to be ByDesign
Projects
None yet
Development

No branches or pull requests

5 participants