marwanhawari / stew

🥘 An independent package manager for compiled binaries.
MIT License
193 stars 14 forks source link

Upgrading packages fails with "asset has already been downloaded and installed" #19

Closed cardil closed 7 months ago

cardil commented 1 year ago

Here's a transcript of installation:

$ stew install knative-sandbox/kn-plugin-event@knative-v1.9.0
knative-sandbox/kn-plugin-event
⬇️  Downloading asset: 100% |██████████████████████████████████████████████████████████| (57/57 MB, 34.474 MB/s)        
✅ Downloaded kn-event-linux-amd64 to /home/ksuszyns/.local/share/stew/pkg
! Rename the binary? kn-event
📄 Updated /home/ksuszyns/.local/share/stew/Stewfile.lock.json
✨ Successfully installed the kn-event binary in /home/ksuszyns/bin

$ stew up kn-event
kn-event
Error: The kn-event-linux-amd64 asset has already been downloaded and installed

/kind bug