fedora42还是dnf4 和 dnf5混用的。千万注意!!!

10阅读 0评论2025-10-27 zhangjiakouzf
分类:LINUX

就为了下面这一句话,折腾了一个晚上的时间。

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 查看

上一篇:处理tmux或vim等此类程序启动后最底部那个丑陋的空白空间问题
下一篇:没有了