[There are unfinished transactions remaining.]【使用本地YUM源安装服务报错解决方法】
2023-06-13 09:15:52 时间
报错信息:
解决办法:
[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 Resolution
Dependencies Resolved
=======================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================
Installing:
yum-utils noarch 1.1.31-50.el7 openstack 121 k
Transaction Summary
=======================================================================================================================================
Install 1 Package
Total download size: 121 k
Installed size: 337 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 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 ~]#
相关文章
- 关于pycharm安装第三方库的一些方法_pycharm安装本地第三方库
- 在 Win10 系统下安装 JDK 及配置环境变量的方法
- 苹果电脑软件Photoshop 2022 for Mac(ps 2022)中文版安装方法
- WPS 2016软件下载和安装教程
- 最全的Chrome插件安装方法! 解决 CRX_HEADER_INVALID
- 安装mongodb
- Acrobat 8安装步骤-所有版本的Acrobat PDF编辑器
- 如何安装 Composer
- MongoDB Windows安装服务方法与注意事项
- Oracle 12c安装方法及一些使用问题
- Linux下安装Oracle数据库的指南(linux下安装oracle)
- 安装实现Linux系统自由定制:字体库安装方法(linux系统字体库)
- 安装Linux下的LZMA压缩工具(linux安装lzma)
- 的安装实现一键安装wdcpmysql的方法(wdcpmysql)
- Oracle11.2安装带你搭建数据库世界(oracle11.2安装)
- 安装MySQL客户端:步骤指南(安装mysql客户端)
- 里?MySQL安装在哪里?(mysql装在哪)
- AMD显卡在Linux系统中的驱动安装方法(amd显卡linux驱动)
- Mac下快速高效安装Oracle数据库(Mac下载oracle)
- 深入解析Redis安装目录的技巧(如何找redis安装目录)
- Linux下CoreSeek及PHP扩展模块的安装
- linuxXtrabackup安装及使用方法
- 安装sqlserver2008management提示已安装SQLServer2005Express的解决方法
- oracle12c安装报错:PRVF-0002的解决方法
- 确定是否安装IIS服务的方法
- 为PHP安装imagick时出现CannotlocateheaderfileMagickWand.h错误的解决方法
- wamp安装后自定义配置的方法