Thread: "Perl may be unconfigured" error and problems with installation
dear all,
let me share problem , have high hopes can find here.
lately during apps installation / upgrade following error (whether doing software manager / update manager or via terminal - same):
i tried unsuccessfully:code:installarchives() failed: debconf: perl may unconfigured (can't locate strict.pm in @inc (@inc contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) @ (eval 1) line 2. begin failed--compilation aborted @ (eval 1) line 2. ) -- aborting debconf: perl may unconfigured (can't locate strict.pm in @inc (@inc contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) @ (eval 1) line 2. begin failed--compilation aborted @ (eval 1) line 2. ) -- aborting debconf: perl may unconfigured (can't locate strict.pm in @inc (@inc contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) @ (eval 1) line 2. begin failed--compilation aborted @ (eval 1) line 2. ) -- aborting debconf: perl may unconfigured (can't locate strict.pm in @inc (@inc contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) @ (eval 1) line 2. begin failed--compilation aborted @ (eval 1) line 2. ) -- aborting (reading database ... dpkg: warning: files list file package 'gnome-power-manager' missing; assuming package has no files installed dpkg: warning: files list file package 'python-cherrypy3' missing; assuming package has no files installed dpkg: warning: files list file package 'libio-string-perl' missing; assuming package has no files installed <here list of 1,000 packages same dpkg error> dpkg: warning: files list file package 'libgwibber-gtk3' missing; assuming package has no files installed dpkg: warning: files list file package 'xserver-xorg-input-vmmouse' missing; assuming package has no files installed (reading database ... 50%% (reading database ... 55%% (reading database ... 60%% (reading database ... 65%% (reading database ... 70%% (reading database ... 75%% (reading database ... 80%% (reading database ... 85%% (reading database ... 90%% (reading database ... 95%% (reading database ... 100%% (reading database ... 804 files , directories installed.) preparing replace linux-image-3.5.0-25-generic 3.5.0-25.38 (using .../linux-image-3.5.0-25-generic_3.5.0-25.38_amd64.deb) ... can't locate debconf/client/confmodule.pm in @inc (@inc contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) @ /var/lib/dpkg/tmp.ci/preinst line 20. begin failed--compilation aborted @ /var/lib/dpkg/tmp.ci/preinst line 20. dpkg: error processing /var/cache/apt/archives/linux-image-3.5.0-25-generic_3.5.0-25.38_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 2 can't locate strict.pm in @inc (@inc contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) @ /usr/lib/perl/5.14/cwd.pm line 3. begin failed--compilation aborted @ /usr/lib/perl/5.14/cwd.pm line 3. compilation failed in require @ /var/lib/dpkg/tmp.ci/postrm line 21. begin failed--compilation aborted @ /var/lib/dpkg/tmp.ci/postrm line 21. dpkg: error while cleaning up: dpkg: dependency problems prevent configuration of linux-image-extra-3.5.0-25-generic: linux-image-extra-3.5.0-25-generic depends on linux-image-3.5.0-25-generic; however: package linux-image-3.5.0-25-generic not installed. dpkg: error processing linux-image-extra-3.5.0-25-generic (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of linux-image-generic: linux-image-generic depends on linux-image-3.5.0-25-generic; however: package linux-image-3.5.0-25-generic not installed. linux-image-generic depends on linux-image-extra-3.5.0-25-generic; however: package linux-image-extra-3.5.0-25-generic not configured yet. dpkg: error processing linux-image-generic (--configure): dependency problems - leaving unconfigured
sudo apt-get install perl --reinstall
sudo dpkg --configure -a
sudo apt-get install -f
thank you!
~
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] "Perl may be unconfigured" error and problems with installation
Ubuntu
Comments
Post a Comment