There are unfinished transactions remaining. Please run yum-complete-transaction as root.

问题:CentOS  运行软件更新时,提示如下错误。

解决办法:

在终端界面,运行   sudo yum-complete-transaction。

时间: 2024-08-24 11:33:55

There are unfinished transactions remaining. Please run yum-complete-transaction as root.的相关文章

Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast

1.事件描述:CentOS7下使用tree命令,发现该命令没有被安装,在安装的过程中发现yum报错 [[email protected] ~]# tree -d bash: tree: 未找到命令... [[email protected] ~]# yum -y install tree 已加载插件:fastestmirror, langpacks Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast

/var/run/yum.pid 已被锁定,PID 为 XXXX 的另一个程序正在运行。

安装st-load时, 终端提示 “/var/run/yum.pid 已被锁定,PID 为 13908 的另一个程序正在运行.” 解决方法:直接在终端运行 rm -f /var/run/yum.pid 将该文件删除,然后再次运行yum. 即出现如下提示: [[email protected] ~]# yum install git unzip patch gcc gcc-c++ make已加载插件:fastestmirror, langpacks/var/run/yum.pid 已被锁定,PID

运行yum系统提示Existing lock /var/run/yum.pid: another copy is running as pid

运行yum,系统提示Existing lock /var/run/yum.pid: another copy is running as pid 3046 问题描述:登录系统后,执行yum install vsftpd,提示Existing lock /var/run/yum.pid: another copy is running as pid 5048.有时等5~10分钟yum可以正常使用. 问题分析:主要原因就是yum在自动更新,所以再运行yum就会报这个错. 问题解决:只要关掉正在执行的

yum 出现Existing lock /var/run/yum.pid: another copy is running as pid:3355

使用yum命令时,出现: Existing lock /var/run/yum.pid: another copy is running as pid:3355. Another app is currently holding the yum lock; waiting for it to exit... The other application is: yum-updatesd-he -- 主要原因就是yum在自动更新 只要关掉他就可以了 解决方案: 直接输入  rm -f    /var

运行yum系统Existing lock /var/run/yum.pid

运行yum,系统提示Existing lock /var/run/yum.pid: another copy is running as pid 3046 问题描述:登录系统后,执行yum install vsftpd,提示Existing lock /var/run/yum.pid: another copy is running as pid 5048.有时等5~10分钟yum可以正常使用. 问题分析:主要原因就是yum在自动更新,所以再运行yum就会报这个错. 问题解决:只要关掉正在执行的

yum被lock Existing lock /var/run/yum.pid: another copy is running as pid 1580. Another app is currently holding the yum lock; waiting for it to exi

[[email protected] bin]# yum -y install lrzszLoaded plugins: fastestmirrorExisting lock /var/run/yum.pid: another copy is running as pid 1580.Another app is currently holding the yum lock; waiting for it to exit... The other application is: yum Memor

yum安装mysql后root用户的临时密码

1.查看root用户临时随机密码 yum 安装mysql后,无法通过空密码登录数据库,如下: 1 [[email protected]123 mysql]# mysql -u root -p 2 Enter password: 3 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) 查找后,原来为了增加数据库的安全性,在安装时会为root用户生成一个临时的随机密码,存放在/var/l

saltstack使用cmd.run批量更改ntp统一时间

[[email protected] salt]# salt-key  Accepted Keys: hddcluster1 hddcluster2 hddcluster3 hddcluster4 salt-master salt-minion01 Denied Keys: Unaccepted Keys: Rejected Keys: 查看操作系统版本以及版本号 [[email protected] salt]# salt '*' grains.item  os osrelease  salt

【MySQL专辑】CentOS卸载MySQL的方法 yum remove xxx

[[email protected] lampp]# rpm -qa|grep mysql mysql-community-release-el6-5.noarch mysql-community-client-5.6.20-4.el6.i686 mysql-community-libs-5.6.20-4.el6.i686 mysql-community-common-5.6.20-4.el6.i686 mysql-community-server-5.6.20-4.el6.i686 [[ema