[debhelper-devel] Bug#756238: debhelper: Please trigger an error if a file is both managed in .install & .links

Sylvestre Ledru sylvestre at debian.org
Sun Jul 27 20:43:20 UTC 2014


Package: debhelper
Version: 9.20140228
Severity: wishlist

Hello,

Playing with a package, I lost quite some time because a file was overriden by a broken symlink.
It would be nice if dh_link could fail if a file is already managed by dh_install.

For example:

$ touch target

--- foo.install ---
target /usr/share/

--- foo.links ---
usr/share/orig /usr/share/target

In this case, I believe dh_link should fail with an error because the file
is already managed by dh_install.

Thanks,
Sylvestre



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'stable-updates'), (500, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils    2.24.51.20140604-3
ii  dpkg        1.17.6
ii  dpkg-dev    1.17.6
ii  file        1:5.17-1
ii  man-db      2.6.6-1
ii  perl        5.18.2-2+b1
ii  po-debconf  1.0.16+nmu2

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  0.63

-- no debconf information



More information about the debhelper-devel mailing list