Bug#774073: dh-make-perl: Ceating core module, install fails with "trying to overwrite foo which is also in bar"
Andy Beverley
andy at andybev.com
Sun Dec 28 12:19:32 UTC 2014
Package: dh-make-perl
Version: 0.75-1
Severity: normal
Tags: upstream patch
When creating an updated version of a module that is already in core,
the subsequent install fails (as expected) with a message such as:
"trying to overwrite '/usr/bin/instmodsh', which is also in package
perl 5.14.2-21+deb7u2".
Given that dh-make-perl has to be forced into creating core modules,
I think it's appropriate to instruct dpkg that the package contains
files that replace the core module. This patch does so.
If you think it's more appropriate, I'd be happy to create a further
doc patch and/or another command line option to go with this patch.
-- System Information:
Debian Release: 7.7
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dh-make-perl depends on:
ii debhelper 9.20120909
ii dpkg-dev 1.16.15
ii fakeroot 1.18.4-2
ii libapt-pkg-perl 0.1.26+b1
ii libarray-unique-perl 0.08-1
ii libclass-accessor-perl 0.34-1
ii libdpkg-perl 1.16.15
ii libemail-address-perl 1.895-1+deb7u1
ii libemail-date-format-perl 1.002-1
ii libfile-which-perl 1.09-1
ii liblist-moreutils-perl 0.33-1+b1
ii libmodule-depends-perl 0.16-1
ii libparse-debcontrol-perl 2.005-3
ii libparse-debianchangelog-perl 1.2.0-1
ii libsoftware-license-perl 0.103004-2
ii libtie-ixhash-perl 1.21-2
ii libwww-mechanize-perl 1.71-1
ii libyaml-perl 0.81-1
ii make 3.81-8.2
ii perl 5.14.2-21+deb7u2
ii perl-modules [libmodule-corelist-perl] 5.14.2-21+deb7u2
Versions of packages dh-make-perl recommends:
ii apt-file 2.5.1
ii git 1:1.7.10.4-1+wheezy1
ii pristine-tar 1.25+deb7u1
dh-make-perl suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list