----- Original Message -----
> Trying to upgrade an old (!) 3.8.5 PCP installation to PCP 3.9.0 with
> packages made from latest source.
>
> System is LinuxMint 15.
>
> Seeing several errors like this ...
>
> Unpacking libpcp-mmv-perl (from .../libpcp-mmv-perl_3.9.0_i386.deb) ...
> dpkg: error processing build/deb/libpcp-mmv-perl_3.9.0_i386.deb (--install):
> trying to overwrite '/usr/lib/perl/5.14/perllocal.pod', which is also in
> package libpcp-import-perl 3.9.0
>
> Anyone else seeing this?
Not here, all is quiet on the "Debian unstable" build front.
> Anyone know how to fix it?
Something seems to have gone wrong in the packaging - it looks like
all of the perl packages have acquired this "perllocal.pod" file for
some strange reason, and so they conflict with each other? That file
should not exist, at least not installed from any pcp package. "pod"
probably stands for "plain old documentation" in this context, FWIW.
$ dpkg --listfiles libpcp-import-perl
/.
/usr
/usr/lib
/usr/lib/perl5
/usr/lib/perl5/PCP
/usr/lib/perl5/PCP/LogImport.pm
/usr/lib/perl5/auto
/usr/lib/perl5/auto/PCP
/usr/lib/perl5/auto/PCP/LogImport
/usr/lib/perl5/auto/PCP/LogImport/LogImport.so
/usr/lib/perl5/auto/PCP/LogImport/LogImport.bs
/usr/share
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/PCP::LogImport.3pm.gz
/usr/share/doc
/usr/share/doc/libpcp-import-perl
/usr/share/doc/libpcp-import-perl/copyright
/usr/share/doc/libpcp-import-perl/changelog.gz
The list of files in the perl deb packages is generated via the
debian/rules file, via "make -C src/perl/LogImport install_perl"
followed by "dh_perl -p libpcp-import-perl" ... so one of those
two stages will be introducing this quirk (both are largely out
of our control though).
cheers.
--
Nathan
|