Package: dh-make-perl
Version: 0.14
Severity: important

When creating a bunch of packages that depend on eachother, using
dh-make-perl with apt-file installed, each of the packages install
the following file:

   /usr/lib/perl/5.8/perllocal.pod

...which is _not_ supposed to be _installed_, but instead _updated_ by
appending some installation info about the package in question.

When installing these broken packages, the following error messages
are displayed:

==================================8<------------------------------

 $ apt-get install liblingua-stem-perl
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  liblingua-pt-stemmer-perl liblingua-stem-snowball-da-perl 
liblingua-stem-snowball-no-perl liblingua-stem-snowball-se-perl 
libtext-german-perl
The following NEW packages will be installed:
  liblingua-pt-stemmer-perl liblingua-stem-perl liblingua-stem-snowball-da-perl 
liblingua-stem-snowball-no-perl liblingua-stem-snowball-se-perl 
libtext-german-perl
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/101kB of archives.
After unpacking 502kB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously deselected package liblingua-pt-stemmer-perl.
(Reading database ... 26280 files and directories currently installed.)
Unpacking liblingua-pt-stemmer-perl (from 
.../liblingua-pt-stemmer-perl_0.01-1_all.deb) ...
Unpacking liblingua-stem-snowball-da-perl (from 
.../liblingua-stem-snowball-da-perl_1.01-1_all.deb) ...
dpkg: error processing 
/opt/debs/pool/metnett/liblingua-stem-snowball-da-perl_1.01-1_all.deb 
(--unpack):
 trying to overwrite `/usr/lib/perl/5.8/perllocal.pod', which is also in 
package liblingua-pt-stemmer-perl
Unpacking libtext-german-perl (from .../libtext-german-perl_0.03--1_all.deb) ...
dpkg: error processing 
/opt/debs/pool/metnett/libtext-german-perl_0.03--1_all.deb (--unpack):
 trying to overwrite `/usr/lib/perl/5.8/perllocal.pod', which is also in 
package liblingua-pt-stemmer-perl
Unpacking liblingua-stem-snowball-no-perl (from 
.../liblingua-stem-snowball-no-perl_1-1_all.deb) ...
dpkg: error processing 
/opt/debs/pool/metnett/liblingua-stem-snowball-no-perl_1-1_all.deb (--unpack):
 trying to overwrite `/usr/lib/perl/5.8/perllocal.pod', which is also in 
package liblingua-pt-stemmer-perl
Unpacking liblingua-stem-snowball-se-perl (from 
.../liblingua-stem-snowball-se-perl_1.01-1_all.deb) ...
dpkg: error processing 
/opt/debs/pool/metnett/liblingua-stem-snowball-se-perl_1.01-1_all.deb 
(--unpack):
 trying to overwrite `/usr/lib/perl/5.8/perllocal.pod', which is also in 
package liblingua-pt-stemmer-perl
Selecting previously deselected package liblingua-stem-perl.
Unpacking liblingua-stem-perl (from .../liblingua-stem-perl_0.81-1_all.deb) ...
Errors were encountered while processing:
 /opt/debs/pool/metnett/liblingua-stem-snowball-da-perl_1.01-1_all.deb
 /opt/debs/pool/metnett/libtext-german-perl_0.03--1_all.deb
 /opt/debs/pool/metnett/liblingua-stem-snowball-no-perl_1-1_all.deb
 /opt/debs/pool/metnett/liblingua-stem-snowball-se-perl_1.01-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

-------------------------->8===============================

A fix may be to _not_ include perllocal.pod in the generated
files (though this may break other things.)


- Salve

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.19-50um
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dh-make-perl depends on:
ii  debhelper                     4.2.31     helper programs for debian/rules
ii  dpkg-dev                      1.10.27    Package building tools for Debian
ii  fakeroot                      1.2.2      Gives a fake root environment
ii  libyaml-perl                  0.36-1     YAML Ain't Markup Language (tm)
ii  make                          3.80-9     The GNU version of the "make" util
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 
ii  perl-modules [libpod-parser-p 5.8.4-8    Core Perl modules

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to