[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

Shengjing Zhu zhsj at debian.org
Tue Mar 2 16:35:14 GMT 2021


Control: tags -1 help

On Tue, Mar 2, 2021 at 5:24 PM Andreas Beckmann <anbe at debian.org> wrote:
>
> 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?
>

Not sure what happens, it does have symlink_to_dir already.
https://sources.debian.org/src/golang-github-coreos-bbolt/1.3.5-1/debian/maintscript/

-- 
Shengjing Zhu



More information about the Pkg-go-maintainers mailing list