Lintian tag: maintainer-script-switches-dir-to-symlink-unsafely

Type: error

Description (from lintian-explain-tags)

The maintainer script apparently change a directory to a symlink not using
dir_to_symlink command of dpkg-maintscript-helper, that take great care to
avoid a lot of problems.

Please use the dpkg-maintscript-helper dir_to_symlink command.

Please refer to the dpkg-maintscript-helper(1) manual page for details.

Visibility: error
Show-Always: no
Check: scripts
Renamed from: maintainer-script-may-use-dir_to_symlink_helper

Affected packages

source version binary level tag count information
bitlbee 3.6-2 bitlbee/3.6-2 error maintainer-script-switches-dir-to-symlink-unsafely 7 "ln -sf bitlbee-common $doc" [postinst:8]
bitlbee 3.6-2 bitlbee/3.6-2+b1 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -sf bitlbee-common $doc" [postinst:8]
bitlbee 3.6-2 bitlbee-dev/3.6-2 error maintainer-script-switches-dir-to-symlink-unsafely 7 "ln -sf bitlbee-common $doc" [postinst:8]
bitlbee 3.6-2 bitlbee-dev/3.6-2+b1 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -sf bitlbee-common $doc" [postinst:8]
console-setup 1.247 console-setup/1.247 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -sf keyboard-configuration /usr/share/doc" [postinst:21]
console-setup 1.247 console-setup-mini/1.247 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -sf keyboard-configuration /usr/share/doc" [postinst:18]
crawl 2:0.34.1-1 crawl/2:0.34.1-1 error maintainer-script-switches-dir-to-symlink-unsafely 7 "ln -sf /usr/share/doc" [postinst:7]
crawl 2:0.34.1-2 crawl/2:0.34.1-2 error maintainer-script-switches-dir-to-symlink-unsafely 8 "ln -sf /usr/share/doc" [postinst:7]
debconf 1.5.92 debconf-utils/1.5.92 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -sf debconf /usr/share/doc" [postinst:9]
debusine 0.14.7 debusine-server/0.14.7 overridden maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -s /usr/share/doc" [postinst:96]
debusine 0.14.7 debusine-server/0.14.7 overridden maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -s /usr/share/doc" [postinst:95]
docbook-html-forms 1.1.0-6 docbook-html-forms/1.1.0-6 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -s ../../../xml/doc" [postinst:12]
emacs 1:30.2+1-2 emacs-gtk/1:30.2+1-2 overridden maintainer-script-switches-dir-to-symlink-unsafely 7 "ln -sv emacs-common /usr/share/doc" [postinst:15]
emacs 1:30.2+1-2 emacs-lucid/1:30.2+1-2 overridden maintainer-script-switches-dir-to-symlink-unsafely 7 "ln -sv emacs-common /usr/share/doc" [postinst:15]
emacs 1:30.2+1-2 emacs-nox/1:30.2+1-2 overridden maintainer-script-switches-dir-to-symlink-unsafely 7 "ln -sv emacs-common /usr/share/doc" [postinst:15]
emacs 1:30.2+1-2 emacs-pgtk/1:30.2+1-2 overridden maintainer-script-switches-dir-to-symlink-unsafely 7 "ln -sv emacs-common /usr/share/doc" [postinst:15]
emacs 1:30.2+1-3 emacs-gtk/1:30.2+1-3 overridden maintainer-script-switches-dir-to-symlink-unsafely 8 "ln -sv emacs-common /usr/share/doc" [postinst:15]
emacs 1:30.2+1-3 emacs-lucid/1:30.2+1-3 overridden maintainer-script-switches-dir-to-symlink-unsafely 8 "ln -sv emacs-common /usr/share/doc" [postinst:15]
emacs 1:30.2+1-3 emacs-nox/1:30.2+1-3 overridden maintainer-script-switches-dir-to-symlink-unsafely 8 "ln -sv emacs-common /usr/share/doc" [postinst:15]
emacs 1:30.2+1-3 emacs-pgtk/1:30.2+1-3 overridden maintainer-script-switches-dir-to-symlink-unsafely 8 "ln -sv emacs-common /usr/share/doc" [postinst:15]
fex 20200429-1 fex/20200429-1 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -sf /usr/share/javascript/jquery/jquery.js /var/lib/fex/htdoc" [postinst:50]
fex 20200429-1 fex/20200429-1 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -s /usr/share/fex/htdocs/download /var/lib/fex/htdoc" [postinst:51]
fex 20200429-1 fex/20200429-1 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -sf "$file" /var/lib/fex/htdoc" [postinst:88]
fex 20200429-1 fex/20200429-1 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -s /usr/share/javascript/jquery/jquery.js /var/lib/fex/htdoc" [postinst:100]
gcc-16 16-20260425-1 lib32stdc++6/16-20260425-1 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -s gcc-16-base $doc" [postinst:8]
gcc-16 16-20260425-1 lib64stdc++6/16-20260425-1 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -s gcc-16-base $doc" [postinst:8]
gdb 17.1-4 gdb-source/17.1-4 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -sf gdb /usr/share/doc" [postinst:7]
gimp-help 3.0.2-2 gimp-help-de/3.0.2-2 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -s gimp-help-common /usr/share/doc" [postinst:11]
gimp-help 3.0.2-2 gimp-help-en/3.0.2-2 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -s gimp-help-common /usr/share/doc" [postinst:11]
gimp-help 3.0.2-2 gimp-help-fr/3.0.2-2 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -s gimp-help-common /usr/share/doc" [postinst:11]
gimp-help 3.0.2-2 gimp-help-sv/3.0.2-2 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -s gimp-help-common /usr/share/doc" [postinst:11]
klibc 2.0.14-1 klibc-utils/2.0.14-1+b1 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -sf libklibc /usr/share/doc" [postinst:9]
klibc 2.0.14-1 klibc-utils/2.0.14-1+b2 error maintainer-script-switches-dir-to-symlink-unsafely 7 "ln -sf libklibc /usr/share/doc" [postinst:9]
libspf2 1.2.10-9 libspf2-dev/1.2.10-9 error maintainer-script-switches-dir-to-symlink-unsafely 7 "ln -sf libspf2-2 $doc" [postinst:9]
libspf2 1.2.10-9 libspf2-dev/1.2.10-9+b1 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -sf libspf2-2 $doc" [postinst:9]
libspf2 1.2.10-9 spfquery/1.2.10-9 error maintainer-script-switches-dir-to-symlink-unsafely 7 "ln -sf libspf2-2 $doc" [postinst:21]
libspf2 1.2.10-9 spfquery/1.2.10-9+b1 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -sf libspf2-2 $doc" [postinst:21]
mysql-8.0 8.0.46-1 mysql-server-8.0/8.0.46-1 error maintainer-script-switches-dir-to-symlink-unsafely 6 "ln -s ../../usr/share/doc" [preinst:126]
openjdk-8 8u482-ga-1 openjdk-8-jre/8u482-ga-1 error maintainer-script-switches-dir-to-symlink-unsafely 6 "ln -sf openjdk-8-jre-headless /usr/share/doc" [postinst:18]
tasksel 3.88 tasksel-data/3.88 error maintainer-script-switches-dir-to-symlink-unsafely 1 "ln -sf tasksel /usr/share/doc" [postinst:10]
uim 1:1.9.6-1 libuim-dev/1:1.9.6-1+b3 error maintainer-script-switches-dir-to-symlink-unsafely 8 "ln -s libuim8 /usr/share/doc" [postinst:12]
wims 3:4.31b+dfsg1-5 wims/3:4.31b+dfsg1-5 error maintainer-script-switches-dir-to-symlink-unsafely 8 "ln -sf /usr/share/doc" [postinst:156]
wv 1.2.9-9 wv/1.2.9-9 error maintainer-script-switches-dir-to-symlink-unsafely 8 "ln -sf libwv-1.2-4 /usr/share/doc" [postinst:10]