Remove package from octopusdeploy built-in nuget

octopusdeployOctopusdeploy has an built-in nuget feed as of version 2.1. This nuget feed is based on Nuget.Lucene. It is read-only and not usable from visual studio or other tools. A nuget delete will fail with “Not found” every time.

nuget.delete

During the setup and testing of octopusdeploy I created and pushed some packages I no longer need and have never used in a release. They are considered collateral damage and stay there forever, cluttering my beautiful feed.

There is no way (I know of) to delete a package using the official way.


The unofficial way of removing a package is to (remote desktop) login to your octopusdeploy server and locate the packages folder. In a default installation ( next-next-finish 😉 ) this is C:\Octopus\OctopusServer\Repository\Packages. Remove whatever packages / folders you no longer want.

works-on-my-machine
Since the information is not immediate synchronized with the index, the packages still end up in the search results. The next push of a package solves that. Your feed is now a little less cluttered.


About erictummers

My work as a recruited developer changes almost every month. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Tooling and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s