国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

報錯:Another app is currently holding yum lock

這篇具有很好參考價值的文章主要介紹了報錯:Another app is currently holding yum lock。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點(diǎn)擊"舉報違法"按鈕提交疑問。

一、問題原因:

在運(yùn)行yum 相關(guān)命令“yum remove”的時候,不知道怎么回事無法進(jìn)行下載安裝,報出 Another app is currently holding the yum lock; waiting for it to exit...?的錯誤提示。

二、環(huán)境:

centos7 Linux

三、解決問題:

1、分析:報錯顯示/var/run/yum.pid 已被鎖定,pid為3347。

?Another app is currently holding the yum lock. 意為另外一個應(yīng)用正在鎖住進(jìn)程鎖。??????

waiting?for?it?to?exit....?意為該應(yīng)用等待解鎖

[root@localhost ~]# yum remove `rpm -qa | egrep 'qemu|virt|KVM'` -y
已加載插件:fastestmirror, langpacks
/var/run/yum.pid 已被鎖定,PID 為 3347 的另一個程序正在運(yùn)行。
Another app is currently holding the yum lock; waiting for it to exit...
  另一個應(yīng)用程序是:PackageKit
    內(nèi)存:292 M RSS (713 MB VSZ)
    已啟動: Wed Feb  1 15:57:25 2023 - 27:07之前
    狀態(tài)  :睡眠中,進(jìn)程ID:3347
Another app is currently holding the yum lock; waiting for it to exit...
......

2、處理

使用kill -9 把提示進(jìn)程殺掉,這樣就可以了,可以執(zhí)行yum命令了。

[root@localhost run]# kill -9 3347

?如果,上述操作還不能解決,可以使用下面的命令

killall -9 yum

假如還是無法解決,繼續(xù)執(zhí)行

rm -f /var/run/yum.pid?

然后執(zhí)行更新yum

yum -y update

最后確保yum-updatesd已經(jīng)啟動

/etc/init.d/yum-updatesd status

/etc/init.d/yum-updatesd start文章來源地址http://www.zghlxwxcb.cn/news/detail-616157.html

到了這里,關(guān)于報錯:Another app is currently holding yum lock的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請點(diǎn)擊違法舉報進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • Ubuntu之a(chǎn)pt-get--解決安裝docker的報錯:Package docker-ce is not available, but is referred to by another p

    原文網(wǎng)址:Ubuntu之a(chǎn)pt-get--解決安裝docker的報錯:Package docker-ce is not available, but is referred to by another p_IT利刃出鞘的博客-CSDN博客 本文介紹用Ubuntu的apt-get命令安裝docker時提示docker-ce不可用的解決方法。 Package docker-ce is not available, but is referred to by another package 此版本的源中沒有d

    2024年02月02日
    瀏覽(27)
  • Requested bean is currently in creation: Is there an unresolvable circular reference?(循環(huán)依賴報錯)

    什么是循環(huán)依賴? 打個比方,你打電話給小明,小明也在打電話給你,此時電話里會說對方正在通話中,而上述報錯就是這個”正在通話中“。代碼含義就是:a中注入了b,b中又注入了a,就會觸發(fā)循環(huán)依賴問題; 話不多說上代碼: 解決方法: 在某一個類中添上@Lazy注解,該

    2024年02月13日
    瀏覽(15)
  • 記一次git pull報錯問題 is owned by: ‘xxx‘ but the current user is ‘xxx‘

    記一次git pull報錯問題 is owned by: ‘xxx‘ but the current user is ‘xxx‘

    使用git pull命令報錯 fatal: detected dubious ownership in repository at \\\'D:/xxx/myapp\\\' \\\'D:/xxx/小程序后臺/myapp\\\' is owned by: ? ? ? ? \\\'S-1-5-21-1208550113-1887591142-738254596-1000\\\' but the current user is: ? ? ? ? \\\'S-1-5-21-322366719-3789332941-2827711459-500\\\' To add an exception for this directory, call: ? ? ? ? git config --global -

    2024年02月11日
    瀏覽(24)
  • R報錯:WARNING: Rtools is required to build R packages, but is not currently installed.

    R報錯:WARNING: Rtools is required to build R packages, but is not currently installed.

    安裝R包“LDheatmap”: 出現(xiàn)報錯: 這是因?yàn)闆]有安裝rtool所以才會報錯。 下載地址:添加鏈接描述 最后,利用命令

    2024年02月11日
    瀏覽(25)
  • dbeaver查看表,解決證書報錯current license is non-compliant for [jdbc]

    dbeaver查看表,解決證書報錯current license is non-compliant for [jdbc]

    { “l(fā)icense” : { “status” : “active”, “uid” : “b91ae0e0-b04d-4e20-8730-cf0bca7b2035”, “type” : “basic”, “issue_date” : “2023-02-22T14:33:27.648Z”, “issue_date_in_millis” : 1677076407648, “max_nodes” : 1000, “max_resource_units” : null, “issued_to” : “elasticsearch”, “issuer” : “elasticsearch”, “

    2024年02月08日
    瀏覽(45)
  • pgsql報錯current transaction is aborted.commands ignored until end of transaction block

    這個錯誤翻譯過來是: 當(dāng)前事務(wù)已中止。在事務(wù)塊結(jié)束之前,要求被忽略 意思就是在pgsql中,同一事務(wù)中如果某次數(shù)據(jù)庫操作出錯了,那么當(dāng)前事務(wù)中這個操作以后的所有命令都將出錯。 進(jìn)行修改的話就是 可以增加檢測機(jī)制,當(dāng)我們檢測事務(wù)中有sql失敗時,可以通過回滾

    2024年02月04日
    瀏覽(21)
  • dpkg: error: dpkg frontend lock was locked by another process with pid 9659 注意:刪除鎖定文件總是錯誤的,會損壞鎖定區(qū)域和整

    您遇到的錯誤消息表明,基于 Debian 的 Linux 系統(tǒng)上的包管理器當(dāng)前正被另一個進(jìn)程使用,無法訪問。這就是您收到“dpkg 前端鎖被另一個進(jìn)程鎖定”錯誤的原因。 要解決此問題,您可以嘗試以下步驟: 通過運(yùn)行命令來識別持有鎖的進(jìn)程 sudo lsof /var/lib/dpkg/lock 。這將向您顯示持

    2024年02月14日
    瀏覽(86)
  • 【避坑】paddlepaddle-gpu安裝報錯:The GPU architecture in your current machine is Pascal, which is not

    【避坑】paddlepaddle-gpu安裝報錯:The GPU architecture in your current machine is Pascal, which is not

    完整的系統(tǒng)、顯卡等環(huán)境如下: 系統(tǒng):win10 顯卡:GeForce GTX 1060 6GB python 3.7.16 cuda:cuda 11.2.0 cudnn:cudnn 8.2.1 paddlepaddle:pip安裝 版本:gpu==2.5.1.post112 安裝指令為: 安裝成功后,測試結(jié)果如下: 注意這個警告信息: The GPU architecture in your current machine is Pascal, which is not compatible

    2024年02月08日
    瀏覽(20)
  • git報錯:Updates were rejected because the tip of your current branch is behind

    多人協(xié)作項(xiàng)目,其他成員提交之后,你這邊沒有拉取最近代碼就要進(jìn)行推送,遠(yuǎn)程倉庫和本地倉庫不同步。 一般遠(yuǎn)程倉庫和本地倉庫是同步的,當(dāng)有另一個人克隆遠(yuǎn)程倉庫并修改推送代碼后,你這邊的本地倉庫再進(jìn)行推送會提示這個錯誤?!案卤痪芙^,因?yàn)槟?dāng)前分支的提

    2024年02月15日
    瀏覽(33)
  • vivado板子連接報錯no active target may be locked by another hw_server

    vivado連接板子 點(diǎn)擊auto connect后 ERROR: [Labtoolstcl 44-494] There is no active target available for server at localhost. Targets(s) \\\", jsn-JTAG-SMT2-210251A08870\\\" may be locked by another hw_server. Ctrl+Alt+Delete打開任務(wù)管理器 找到進(jìn)程hw_server.exe,關(guān)閉它 重新點(diǎn)auto connect 這個進(jìn)程占用了板子,使得vivado連接失敗,

    2024年02月09日
    瀏覽(132)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包