godeb
godeb copied to clipboard
godeb fails: "corrupted filesystem tarfile - corrupted package archive"
Hallo,
on Debian 8.11, amd64 I get this error, when I try to Install golang 1.11.1:
root@box ~ # ~/go/bin/godeb install 1.11.1
processing https://dl.google.com/go/go1.11.1.linux-amd64.tar.gz
package go_1.11.1-godeb1_amd64.deb ready
(Reading database ... 48149 files and directories currently installed.)
Preparing to unpack go_1.11.1-godeb1_amd64.deb ...
Unpacking go (1.11.1-godeb1) over (1.8.1-godeb1) ...
dpkg: error processing archive go_1.11.1-godeb1_amd64.deb (--install):
corrupted filesystem tarfile - corrupted package archive
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
go_1.11.1-godeb1_amd64.deb
error: while installing go package: exit status 1
I have found a workaround here:
https://gist.github.com/haruyama/726f75cfc9f70cc261fccf3153cff4a5
But is it possible to fix this in godeb directly?
Mebus
I had this issue with Go 1.12.1 today, but I fixed it by updating godeb
:
go get -u github.com/niemeyer/godeb/cmd/godeb
$GOPATH/bin/godeb install 1.12.1