BaGet
BaGet copied to clipboard
What should I do to really delete the nuget package
I try to delete the nuget package using the following command:
dotnet nuget delete -s http://localhost:8020/v3/index.json xxx 1.0.0
The command line prompts me that I have successfully deleted it. At this time, if I need to upload my nuget package again, it will prompt that the package already exists.
Even if I add the --skip-duplicate parameter, I can't upload again.
What should I do next?
same problem for month... only way i found is to delete baget and reinstall it
I found a solution:
- Copy the configuration file(
app/appsettings.json) in docker - Modify file(
appsettings.json) ,Refer to this URL https://loic-sharma.github.io/BaGet/configuration/"PackageDeletionBehavior": "HardDelete""AllowPackageOverwrites": true - Mount files to docker
-v /data/baget/appsettings.json:/app/appsettings.json - Restart docker