解決yum install redhat-lsb遇到的問題
解決yum install redhat-lsb遇到的問題
一、 背景:centos 7.2.1511 系統中沒有lsb_release命令。
二、解決方法:在終端中輸入:yum install -y redhat-lsb
三、遇到的問題如下:
Loaded plugins: fastestmirror, langpacks
Existing lock /var/run/yum.pid: another copy is running as pid 3414.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 46 M RSS (449 MB VSZ)
Started: Sun Oct 16 22:20:56 2016 - 01:10 ago
State : Sleeping, pid: 3414
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 46 M RSS (449 MB VSZ)
Started: Sun Oct 16 22:20:56 2016 - 01:12 ago
State : Sleeping, pid: 3414
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 46 M RSS (449 MB VSZ)
Started: Sun Oct 16 22:20:56 2016 - 01:14 ago
State : Sleeping, pid: 3414
四、 解決問題的步驟:1)在終端輸入:kill -9 3414
2)在終端輸入:rm -fr /var/run/yum.pid
3)在終端輸入:yum install -y redhat-lsb
五、驗證安裝lsb_release
1)在終端輸入:lsb_release -a
出現如下資訊算成功了.
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.2.1511 (Core)
Release: 7.2.1511
Codename: Core
相關文章
- gem install mysql遇到問題。解決方案MySql
- yum問題解決
- 遇到問題的解決方法
- 解決pod install update很慢的問題
- 玩Deno遇到問題的解決方案
- 今天遇到的問題與解決方法
- CKEditor使用中遇到的問題解決
- 解決 plsql 遇到亂碼的問題SQL
- 解決在使用Amoeba遇到的問題
- 小知識:CentOS配置yum源/解決yum源失效問題CentOS
- HTC Vive遇到的問題解決辦法
- 如何徹底解決pip install慢的問題
- windows下pip install xx 遇到的 ConnectionResetError問題WindowsError
- 近期工作遇到的問題及解決方式收藏
- nodejs 近期所遇到的問題及解決NodeJS
- div拖動遇到iframe卡頓的問題解決
- 裝SAP GUI時遇到的問題及解決GUI
- GO Modules的理解和遇到的問題解決方法Go
- yum install yum-fastestmirrorAST
- lvs 負載均衡遇到的一個問題. (問題解決)負載
- Fabric 環境搭建遇到問題及解決
- 安裝sql server遇到問題解決方法SQLServer
- yum命令遇到holding 的lock程式 解決辦法
- 部署專案遇到的mysql問題以及解決方法MySql
- 使用nodeAPI時遇到非同步問題的解決方法API非同步
- redis 安裝及安裝遇到的問題解決Redis
- 【Laravel】Laravel5遇到的問題以及解決方案Laravel
- 安裝 python3 後,yum 失效問題解決Python
- 新手開發遇到問題,求幫助解決!!!
- 原始碼安裝apache(附遇到的問題及解決)原始碼Apache
- Amigo學習(一)解決使用中遇到的問題Go
- UG程式設計常遇到的問題及解決方法程式設計
- VMware下安裝Ubuntu遇到的問題及解決方案Ubuntu
- 安裝vCenter6.0遇到的問題以及解決方法
- npm install realm --save失敗的問題與解決辦法NPM
- yum install 與 yum groupinstall 的區別
- CentOS7系統安裝後使用yum install 出現的問題CentOS
- 最近遇到的問題和解決辦法