[rancid] Problems after upgrade from 3.1 to 3.2

Alex D. listensammler at gmx.de
Mon Mar 30 20:50:14 UTC 2015


>> Sorry, after reading the daily digest, i saw, that this issue already
>> has beed discussed.
>>
>>> # apt-get install dh-make-perl
>>> # dh-make-perl --build --core-ok --cpan ExtUtils::Constant
>>> # dpkg -i ./libextutils-constant-perl*.deb
>>> # dh-make-perl --build --core-ok --cpan Socket
>>> # dpkg -i ./libsocket-perl*.deb
>> After successfully building a new Socket module, i got this error while
>> installation.
>> ~# dpkg -i ./libsocket-perl_2.018-1_amd64.deb
>> (Reading database ... 44338 files and directories currently installed.)
>> Unpacking libsocket-perl (from .../libsocket-perl_2.018-1_amd64.deb) ...
>> dpkg: error processing ./libsocket-perl_2.018-1_amd64.deb (--install):
>>    trying to overwrite '/usr/lib/perl/5.10/perllocal.pod', which is also
>> in package libextutils-constant-perl 0.16-1
>> Processing triggers for man-db ...
>> Errors were encountered while processing:
>>    ./libsocket-perl_2.018-1_amd64.deb
>>
>> Any suggestions ?
> possibly --force-overwrite ?
>
@heasley: many thanks, this also works and seems to be the better way :-)
(banging my head against the wall, that i didn't read the manpage...)

# dpkg --force-overwrite -i libsocket-perl_2.018-1_amd64.deb
(Reading database ... 44347 files and directories currently installed.)
Preparing to replace libsocket-perl 2.018-1 (using 
libsocket-perl_2.018-1_amd64.deb) ...
Unpacking replacement libsocket-perl ...
dpkg: warning: overriding problem because --force enabled:
  trying to overwrite '/usr/lib/perl/5.10/perllocal.pod', which is also 
in package libextutils-constant-perl 0.16-1
Setting up libsocket-perl (2.018-1) ...
Processing triggers for man-db ...



More information about the Rancid-discuss mailing list