Reading package lists... Building dependency tree... Reading state information... The following packages will be upgraded: linux-image-3.16.0-34-generic 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 75 not fully installed or removed. Need to get 0 B/16.1 MB of archives. After this operation, 44.8 MB of additional disk space will be used. Do you want to continue? [Y/n] debconf: Perl may be unconfigured (Can't locate IO/File.pm in @INC (you may need to install the IO::File module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/share/perl/5.18/FileHandle.pm line 9. Compilation failed in require at (eval 1) line 3. BEGIN failed--compilation aborted at (eval 1) line 3. ) -- aborting (Reading database ... 247108 files and directories currently installed.) Preparing to unpack .../linux-image-3.16.0-34-generic_3.16.0-34.45~14.04.1_amd64.deb ... Can't locate POSIX.pm in @INC (you may need to install the POSIX module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/Template.pm line 7. BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 7. Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8. BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8. Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7. BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7. Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 10. Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7. BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7. Compilation failed in require at /usr/share/debconf/frontend line 6. BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6. dpkg: error processing archive /var/cache/apt/archives/linux-image-3.16.0-34-generic_3.16.0-34.45~14.04.1_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 2 Can't locate Cwd.pm in @INC (you may need to install the Cwd module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /var/lib/dpkg/tmp.ci/postrm line 21. BEGIN failed--compilation aborted at /var/lib/dpkg/tmp.ci/postrm line 21. dpkg: error while cleaning up: subprocess new post-removal script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/linux-image-3.16.0-34-generic_3.16.0-34.45~14.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)