Bug#861303: hdf4-tools: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE

Sebastiaan Couwenberg sebastic at xs4all.nl
Thu Apr 27 09:59:07 UTC 2017

Control: tags -1 - moreinfo
Control: tags -1 + pending

On 04/27/2017 10:57 AM, Sebastiaan Couwenberg wrote:
> libhdf4g is a transitional package, and has been for quite some time
> (several releases).
> It seems you want us to fix the package in lenny or squeeze to resolve
> this issue. That's not something that is likely to happen.
> I'm tempted to downgrade the severity of this issue since it doesn't
> affect the jessie2stretch upgrade, nor the wheezy2jessie2stretch upgrade
> where the package was a transition package already, and close it as wontfix.
> Does your piuparts test not remove transitional packages?

According to the log it does not.

Looking at the packages in lenny, squeeze, wheezy, jessie & stretch I
see that in the lenny version /usr/share/doc/hdf4-tools was a symlink to
/usr/share/doc/libhdf4g, which was converted to a directory in the
squeeze version:


 $ ls -l lenny/hdf4-tools_4.1r4-22_amd64/usr/share/doc/
 total 0
 lrwxrwxrwx 1 bas bas 8 Jun 22  2008 hdf4-tools -> libhdf4g


 $ ls -l squeeze/hdf4-tools_4.2r4-11_amd64/usr/share/doc/
 total 4
 drwxr-xr-x 2 bas bas 4096 Sep 13  2010 hdf4-tools

The squeeze version no longer had the libhdf4g package, only the
libhdf4g-dev transitional package.

Since we cannot fix the squeeze version of the package, adding the
following hdf4-tools.maintscript should fix the upgrade in the stretch

 symlink_to_dir /usr/share/doc/hdf4-tools libhdf4g 4.2.12-3~

Kind Regards,


 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

More information about the Pkg-grass-devel mailing list