I have removed the new cpan
now it shows:
type -a cpan
cpan is /usr/bin/cpan
but if I try to install or re-install a package e.g.
Code
- apt-get --reinstall install mc
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
- Need to get 0 B/474 kB of archives.
- After this operation, 0 B of additional disk space will be used.
- (Reading database ... 169606 files and directories currently installed.)
- Preparing to unpack .../mc_3%3a4.8.19-1_amd64.deb ...
- Unpacking mc (3:4.8.19-1) over (3:4.8.19-1) ...
- Setting up mc (3:4.8.19-1) ...
- Processing triggers for mime-support (3.60ubuntu1) ...
- [FATAL] Carp::croak: 'blocksize' is not a recognized argument at /usr/local/share/perl/5.26.1/Crypt/CBC.pm line 312, <$fh> line 408.
- at /var/www/imscp/engine/PerlLib/iMSCP/Crypt.pm line 498.
- E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/local/sbin/imscp-dpkg-post-invoke.pl -a ${IMSCP_SETUP:=0} -eq 0 ]; then /usr/bin/perl /usr/local/sbin/imscp-dpkg-post-invoke.pl -d; fi'
- E: Sub-process returned an error code
What can I do?