[pkg-go] Bug#983855: golang-github-coreos-bbolt-dev: fails to upgrade from 'buster': unable to install new version of '/usr/share/gocode/src/go.etcd.io/bbolt/allocate_test.go': No such file or directory

Andreas Beckmann anbe at debian.org
Tue Mar 2 09:22:15 GMT 2021


Package: golang-github-coreos-bbolt-dev
Version: 1.3.5-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stretch'.
It installed fine in 'buster', then the upgrade to 'bullseye' fails.

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../golang-github-coreos-bbolt-dev_1.3.5-1_all.deb ...
  Unpacking golang-github-coreos-bbolt-dev (1.3.5-1) over (1.3.1-coreos.5-3) ...
  dpkg: error processing archive /var/cache/apt/archives/golang-github-coreos-bbolt-dev_1.3.5-1_all.deb (--unpack):
   unable to install new version of '/usr/share/gocode/src/go.etcd.io/bbolt/allocate_test.go': No such file or directory
  Preparing to unpack .../libss2_1.46.1-1_amd64.deb ...
  Unpacking libss2:amd64 (1.46.1-1) over (1.44.5-1+deb10u3) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/golang-github-coreos-bbolt-dev_1.3.5-1_all.deb

/usr/share/gocode/src/go.etcd.io/bbolt is a symlink and possibly
dangling at the time the error happens:

lrwxrwxrwx 1 root root 26 Jan 20  2019 /usr/share/gocode/src/go.etcd.io/bbolt -> ../github.com/coreos/bbolt

Maybe some symlink_to_dir migration is missing?

cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-github-coreos-bbolt-dev_1.3.5-1.log.gz
Type: application/gzip
Size: 22441 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20210302/300b0b63/attachment-0001.gz>


More information about the Pkg-go-maintainers mailing list