longsleep / golang-deb

Sources for the unofficial Ubuntu Golang Backports PPA
https://launchpad.net/~longsleep/+archive/ubuntu/golang-backports
BSD 3-Clause "New" or "Revised" License
15 stars 1 forks source link

dpkg error installing 1.21.4 on Ubuntu 20.04 #12

Closed mgrill-epic closed 11 months ago

mgrill-epic commented 11 months ago

Seeing the following attempting to upgrade to 1.21.4 on Ubuntu 20.04. The currently installed version is 1.20.7

Preparing to unpack .../golang-1.21-src_1.21.4-1longsleep1+focal_all.deb ...
Unpacking golang-1.21-src (1.21.4-1longsleep1+focal) ...
dpkg: error processing archive /var/cache/apt/archives/golang-1.21-src_1.21.4-1longsleep1+focal_all.deb (--unpack):
 unable to open '/usr/share/go-1.21/src/archive/tar/testdata/hdr-only.tar.dpkg-new': No such file or directory
No apport report written because the error message indicates an issue on the local system
                                                                                         Errors were encountered while processing:
 /var/cache/apt/archives/golang-1.21-src_1.21.4-1longsleep1+focal_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
mgrill-epic commented 11 months ago

This appears to have been caused on our end by anti-virus... :(