N: Ignoring file ‘50unattended-upgrades.ucftmp’ in directory ‘/etc/apt/apt.conf.d/’ as it has an invalid filename extension
E: dpkg was interrupted, you must manually run ‘dpkg --configure -a’ to correct the problem.
第一次用ubuntu服务器就给我来个报错。原因可能是我正在更新软件包的时候突然网络断掉了。
解决方法:就像上面提示的一样,执行dpkg --configure -a
就行了