when trying to install application using apt-get, I always get
/bin/sh: /usr/sbin/dpkg-preconfigure: not found
$sudo apt-get install libssl-dev [sudo] password for camino: Reading package lists... Done Building dependency tree Reading state information... Done .... Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated! libssl-dev libssl0.9.8 Install these packages without verification [y/N]? y /bin/sh: /usr/sbin/dpkg-preconfigure: not found Setting up debconf (1.5.35+maemo3+0m6) ... exec: 19: /usr/share/debconf/frontend: not found dpkg: error processing debconf (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: debconf
$sudo dpkg-reconfigure libssl-dev
sudo: unable to execute /usr/sbin/dpkg-reconfigure: No such file or directory
bash: /usr/sbin/dpkg-reconfigure: /usr/bin/perl.real: bad interpreter: No such file or directory
Thanks all .
the issue has been fixed ,
I use dpkg to show info about debconf
$dpkg -l |grep debconf
ri debconf 1.5.35+maemo3+0m6 Debian configuration management system
ii debconf-i18n 1.5.35+maemo3+0m6 full internationalization support for debcon
ii po-debconf 1.0.16 tool for managing templates file translation
ii ssl-cert 1.0.23ubuntu2 simple debconf wrapper for OpenSSL
it is very strange that debconf is maemo ,
so I copy debconf and frontend from other's ubuntu machine,
it works now!
but dpkg -l still show it was maemo.