Re: How do you get rid of a corrupt buildpack?


Eric Promislow
 

It was late Friday afternoon. I just deleted the VM and rebuilt it over the
weekend, but I'll retry that next time I see it.

Thanks,
Eric

On Sat, May 14, 2016 at 5:36 AM, Daniel Mikusa <dmikusa(a)pivotal.io> wrote:

Have you tried `cf delete-buildpack`? or `cf update-buildpack` with a
new, working binary?

Dan

On Fri, May 13, 2016 at 8:32 PM, Eric Promislow <eric.promislow(a)gmail.com>
wrote:

I tried to upload a simple app to a local cf build, and it failed
because the go-buildpack download failed.

It turns out that the buildpack
/var/vcap/store/shared/cc-buildpacks/75/21/ \

75210aea-160c-4438-a9f9-3710734f35cd_a25a466217b64d5e4d47a6796be8ab23e7b7eeaf

had lost its pkzip header (but the end of the file looked like it was
part of a zip file).

When I moved it out of the way ('mv 75 hide-75') I got a stranger
error message, which unfortunately scrolled off my window before
I thought to report it.

What's the best way to push a faulty buildpack out of the cache?

- Eric

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.