本文主要是介绍[There are unfinished transactions remaining.]【使用本地YUM源安装服务报错解决方法】,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
报错信息:
解决办法:
[root@controller ~]# yum install -y yum-utils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.31-50.el7 will be installed
--> Finished Dependency ResolutionDependencies Resolved=======================================================================================================================================Package Arch Version Repository Size
=======================================================================================================================================
Installing:yum-utils noarch 1.1.31-50.el7 openstack 121 kTransaction Summary
=======================================================================================================================================
Install 1 PackageTotal download size: 121 k
Installed size: 337 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : yum-utils-1.1.31-50.el7.noarch 1/1 Verifying : yum-utils-1.1.31-50.el7.noarch 1/1 Installed:yum-utils.noarch 0:1.1.31-50.el7 Complete!
[root@controller ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: centos openstack
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors[root@controller ~]# yum-complete-transaction --cleanup-only
Loaded plugins: fastestmirror
Determining fastest mirrors
centos | 3.6 kB 00:00:00
openstack | 2.9 kB 00:00:00
(1/3): centos/group_gz | 166 kB 00:00:00
(2/3): openstack/primary_db | 1.4 MB 00:00:00
(3/3): centos/primary_db | 3.1 MB 00:00:00
Cleaning up unfinished transaction journals
Cleaning up 2020-11-10.15:55.58
[root@controller ~]#
参考链接
这篇关于[There are unfinished transactions remaining.]【使用本地YUM源安装服务报错解决方法】的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!