显然,Fedorayum
有降级功能。我发现这很有用,因为他们觉得有必要打破NetworkManager 处于稳定升级状态。 通过多种方式。
如何降级 NetworkManager 及其依赖项?我可以yum
反向操作吗?
[root@x200s NetworkManager]# yum downgrade NetworkManager-0.8.999-2.git20110509.fc15.i686
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Downgrade Process
Resolving Dependencies
--> Running transaction check
---> Package NetworkManager.i686 1:0.8.999-2.git20110509.fc15 will be a downgrade
--> Processing Dependency: NetworkManager-glib = 1:0.8.999-2.git20110509.fc15 for package: 1:NetworkManager-0.8.999-2.git20110509.fc15.i686
---> Package NetworkManager.i686 1:0.8.999-3.git20110526.fc15 will be erased
--> Finished Dependency Resolution
Error: Package: 1:NetworkManager-gnome-0.8.999-3.git20110526.fc15.i686 (@updates)
Requires: NetworkManager = 1:0.8.999-3.git20110526.fc15
Removing: 1:NetworkManager-0.8.999-3.git20110526.fc15.i686 (@updates)
NetworkManager = 1:0.8.999-3.git20110526.fc15
Downgraded By: 1:NetworkManager-0.8.999-2.git20110509.fc15.i686 (fedora)
NetworkManager = 1:0.8.999-2.git20110509.fc15
Error: Package: 1:NetworkManager-0.8.999-2.git20110509.fc15.i686 (fedora)
Requires: NetworkManager-glib = 1:0.8.999-2.git20110509.fc15
Installed: 1:NetworkManager-glib-0.8.999-3.git20110526.fc15.i686 (@updates)
NetworkManager-glib = 1:0.8.999-3.git20110526.fc15
Available: 1:NetworkManager-glib-0.8.999-2.git20110509.fc15.i686 (fedora)
NetworkManager-glib = 1:0.8.999-2.git20110509.fc15
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
有没有办法降级而不用单独处理每个包?
答案1
您可以使用:
yum downgrade NetworkManager NetworkManager-gnome NetworkManager-glib
答案2
如果您之前在有问题的系统上有一个可用的版本,yum history 是一个 goto 命令。它将列出事务并允许您回滚到某个点或撤消单个操作,请参阅此处了解更多信息;
http://docs.fedoraproject.org/en-US/Fedora/14/html/Software_Management_Guide/ch05s16.html
或者,如果您希望降级具有多个版本限制依赖项的程序,请使用 yum-allow-downgrade 插件来整理您看到的依赖项错误。它将添加一个您可以使用的 --allow-downgrade 选项。
如果您有意坚持使用旧版本,我建议您查看版本锁定包。这将防止您自己/同事/计划的更新破坏您的工作。
http://docs.fedoraproject.org/en-US/Fedora/14/html/Software_Management_Guide/ch06s25.html