如何在dpkg.log文件中查找和修复导致这些异常的原因?

时间:2019-06-25 20:41:08

标签: ubuntu logging dpkg grub2

我正在重新安装一些系统(从OS到mp3)上的所有内容。

尝试安装Deluge时,出现此错误:

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 

所以我做到了-产生了这个结果:

Setting up linux-image-4.18.0-24-generic (4.18.0-24.25~18.04.1) ...
Processing triggers for linux-image-4.18.0-24-generic (4.18.0-24.25~18.04.1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.18.0-24-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.18.0-24-generic
Found initrd image: /boot/initrd.img-4.18.0-24-generic
Found linux image: /boot/vmlinuz-4.18.0-22-generic
Found initrd image: /boot/initrd.img-4.18.0-22-generic
Found linux image: /boot/vmlinuz-4.18.0-20-generic
Found initrd image: /boot/initrd.img-4.18.0-20-generic
Adding boot menu entry for EFI firmware configuration
done

其中,因为我想不出一个可能想要了解我的grub设置的安装,所以我有点担心。

首先,我直接进入我的/ etc / default / grub文件。前几天我几乎没有编辑过,所以我知道里面有什么。没有一行被更改。

因此,接下来,我看一下/var/log/dpkg.log,看看是否可以追踪到底发生了什么。

当我打开它时,发现了这一点:

2019-06-24 10:21:48 status half-configured shared-mime-info:amd64 1.9-2
2019-06-24 10:21:51 status installed shared-mime-info:amd64 1.9-2
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^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^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@2019-06-25 13:38:27 startup packages configure

2019-06-25 13:38:27 configure linux-image-4.18.0-24-generic:amd64 4.18.0-24.25~18.04.1 <none>
2019-06-25 13:38:27 status half-configured linux-image-4.18.0-24-generic:amd64 4.18.0-24.25~18.04.1

在dpkg.log中我从未见过,更不用说其他任何正常的事件记录文件了。

所以,我有点担心;但是说句公道话,我对事物的知识领域与要了解的事物的知识领域相形见>。

有人能对此有所启发吗?我有理由担心吗?如果是这样,纠正此问题的最佳方法是什么?

在此先感谢您提供的任何答案。

0 个答案:

没有答案