就为了下面这一句话,折腾了一个晚上的时间。
Yep, if you normally update using GNOME Software, Discover, COSMIC Store, or the pkcon command, this will use packagekit, which uses dnf4.
So try dnf4 history list
在shell/bash里面运行了一个不存在的命令,bash提示按y安装。按y安装后,一切ok。
后来发现在dnf history list里面居然看不到这个安装动作。
但pkcon backend-details分明写的是dnf啊,奇怪
$pkcon backend-details
Name: dnf
Description: Dnf
Author: Richard Hughes
然后一通瞎折腾,终于找到了上面那句话。我只想说F word。。。。
还有个问题,在运行$dnf4 history list 时基本上什么信息都看不出来。
只能记住ID,然后用:$dnf4 history info