[rancid] Problems after upgrade from 3.1 to 3.2 (SOLVED)

Alex D. listensammler at gmx.de
Mon Mar 30 20:45:18 UTC 2015


Hi,

as a quick workaround, i removed perllocal.pod from .deb archive.

# dpkg-deb -x libsocket-perl_2.018-1_amd64.deb tmp/
# dpkg-deb --control libsocket-perl_2.018-1_amd64.deb tmp/DEBIAN
# rm -r tmp/usr/lib/perl
# rm libsocket-perl_2.018-1_amd64.deb                   # remove "old" .deb
# dpkg -b tmp libsocket-perl_2.018-1_amd64.deb   # build modified .deb
# 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) ...
Setting up libsocket-perl (2.018-1) ...
Processing triggers for man-db ...

And afterwards, i updated /usr/lib/perl/5.10/perllocal.pod manually.
Hope this helps.

Regards,
Alex

> 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 ?
>
> Regards,
> Alex
>
>
>> Hi all,
>>
>> after upgrading from 3.1 to 3.2, i got the following error when 
>> running rancid:
>>
>> mgmt at master:/opt/rancid$ rancid core-dd-ou
>> "inet_pton" is not exported by the Socket module
>> Can't continue after import errors at 
>> /opt/rancid-3.2/lib/rancid/rancid.pm line 51
>> BEGIN failed--compilation aborted at 
>> /opt/rancid-3.2/lib/rancid/rancid.pm line 51.
>> Compilation failed in require at /opt/rancid/bin/rancid line 61.
>> BEGIN failed--compilation aborted at /opt/rancid/bin/rancid line 61.
>>
>> System is debian 6.0.10 with perl 5.10.1
>> Does anybody know how to fix this issue ?
>>
>> Many thanks in advance.
>> Regards,
>> Alex
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss at shrubbery.net
>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>



More information about the Rancid-discuss mailing list