usr-share-doc-symlink-without-dependency
If the package installs a symbolic link
/usr/share/doc/pkg1 -> pkg2
, then pkg1
must depend on pkg2 directory, with the same version as
pkg1.
Adding the dependency just to fix this bug is often not a good solution.
Usually, it's better to include a real /usr/share/doc/pkg1
directory within pkg1 and copy the copyright file into that
directory.
Transitive dependencies are not allowed here. In other words, if the documentation directory is shipped in pkg3 and pkg1 depends on pkg2, which in turn depends on pkg3, that's still an error. Copyright file extractors are not required to go more than one level deep when resolving dependencies. Each package should have a direct dependency on the package which includes its documentation directory.
For more information please consult:
- Copyright information (Section 12.5) in the Debian Policy Manual
The tag is present in Lintian version 2.114.163
.
That is the most recent version we know about.
We use semantic versions.
The patch number is a commit step indicator relative to the
2.114.0
release tag in our Git
repository.
You can find the detection logic for this version at commit ea05801. For merge requests, please use the latest version in the Lintian check debian/copyright.
Visibility: error