更新或升级时出现问题

更新或升级时出现问题

当我尝试运行时sudo apt-get upgrade出现以下错误:

:urphoton@nur-pc:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libcgmanager0:i386 linux-image-3.13.0-39-generic
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  linux-image-extra-3.13.0-39-generic
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 152 MB disk space will be freed.
Do you want to continue? [Y/n] Y
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 ... 932190 files and directories currently installed.)
Removing linux-image-extra-3.13.0-39-generic (3.13.0-39.66) ...
dpkg: error processing package linux-image-extra-3.13.0-39-generic (--remove):
 unable to securely remove '/lib/modules/3.13.0-39-generic/kernel/drivers/block/paride/pf.ko': Not a directory
Errors were encountered while processing:
 linux-image-extra-3.13.0-39-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容