dnf update 在将我的 centos7 升级到 centos8 后给我这个错误
Error: Transaction check error:
file /usr/lib64/libgdbm_compat.so.4.0.0 from install of gdbm-libs-1:1.18-1.el8.x86_64 conflicts with file from package gdbm-1.10-8.el7.x86_64
Run Code Online (Sandbox Code Playgroud)
我试过了dnf install -y libgdbm --best --allowerasing ,dnf install -y gdbm --best --allowerasing但dnf update仍然有这个错误。
我怎样才能解决这个问题?
更新 :
dnf upgrade --best --allowerasing 结果如下:
Error: transaction check vs depsolve:
(gcc >= 8 with gcc < 9) is needed by annobin-8.78-1.el8.x86_64
rpmlib(RichDependencies) <= 4.12.0-1 is needed by annobin-8.78-1.el8.x86_64
(annobin if gcc) is needed by redhat-rpm-config-120-1.el8.noarch
rpmlib(RichDependencies) …Run Code Online (Sandbox Code Playgroud)