Malformed lock file found: /var/cache/dnf/metadata_lock.pid.
Ensure no other dnf process is running and remove the lock file manually or run systemd-tmpfiles --remove dnf.conf.
[root@jaxGu ajaxGu]# systemd-tmpfiles --remove dnf.conf
英文不好看不懂的有木有,网上搜出来全部英文但是看不到解决方案的有木有,好吧其实很简单:
rm /var/cache/dnf/metadata_lock.pid