Package: golang-gopkg-yaml.v3-dev Version: 3.0.4-1 Severity: important Upgrading to 3.0.4-1 fails to ensure that the /usr/share/gocode/src/gopkg.in/yaml.v3 from the previous versions is removed prior to creating the symlink. Thus the symlink fails to be created and an empty directory remains.
The package should probably include a preinst script to remove the directory or use dpkg-maintscript-helper's dir_to_symlink to take care of this.

