You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invalid deb package got into the repo. (Likely a bad upload) Aptly panics whenever it encounters it.
Oct 14 14:31:57 APTLY aptly[656]: 2016/10/14 14:31:57 PANIC: unable to find data.tar.* part in /repo/.aptly/pool/9f/e6/mypackage_2.1.0-45_amd64.deb
Oct 14 14:31:57 APTLY aptly[656]: /usr/local/Cellar/go/1.5.3/libexec/src/runtime/panic.go:423 (0x4296b9)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/deb/package.go:427 (0x53aa94)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/deb/package_collection.go:183 (0x53f76b)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/deb/package.go:410 (0x53a8a5)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/deb/contents.go:26 (0x51f03a)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/deb/publish.go:568 (0x56b915)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/deb/list.go:169 (0x52e79d)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/deb/publish.go:593 (0x549ff5)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/api/publish.go:307 (0x4c72bc)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/gin-gonic/gin/context.go:114 (0x67a07f)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/api/router.go:43 (0x4d1034)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/gin-gonic/gin/context.go:114 (0x67a07f)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/gin-gonic/gin/logger.go:30 (0x68257c)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/gin-gonic/gin/context.go:114 (0x67a07f)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/gin-gonic/gin/logger.go:49 (0x6826c5)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/gin-gonic/gin/context.go:114 (0x67a07f)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/gin-gonic/gin/recovery.go:96 (0x6831a8)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/gin-gonic/gin/context.go:114 (0x67a07f)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/gin-gonic/gin/routergroup.go:57 (0x683280)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/julienschmidt/httprouter/router.go:276 (0x7c23fd)
Oct 14 14:31:57 APTLY aptly[656]: /Users/smira/Documents/go/src/github.com/smira/aptly/_vendor/src/github.com/gin-gonic/gin/gin.go:126 (0x67de53)
Oct 14 14:31:57 APTLY aptly[656]: /usr/local/Cellar/go/1.5.3/libexec/src/net/http/server.go:1862 (0x4f682e)
Oct 14 14:31:57 APTLY aptly[656]: /usr/local/Cellar/go/1.5.3/libexec/src/net/http/server.go:1361 (0x4f3ede)
Oct 14 14:31:57 APTLY aptly[656]: /usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:1721 (0x45c181)
Desired behavior: Aptly detects the bad upload via the API and lets the user know. The deb doesn't get injected into the repos. The deb in this example was 0-bytes.
The text was updated successfully, but these errors were encountered:
Invalid deb package got into the repo. (Likely a bad upload) Aptly panics whenever it encounters it.
Desired behavior: Aptly detects the bad upload via the API and lets the user know. The deb doesn't get injected into the repos. The deb in this example was 0-bytes.
The text was updated successfully, but these errors were encountered: