#yum install dstat
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package dstat.noarch 0:0.6.6-3.el5_4.1 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
dstat noarch 0.6.6-3.el5_4.1 base 106 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 106 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: dstat ######################### [1/1]
error: unpacking of archive failed on file /usr/bin/dstat;4ed72809: cpio: open
Installed: dstat.noarch 0:0.6.6-3.el5_4.1
Complete!
※complete가 나왔지만, error: unpacking of archive failed on file /usr/bin/dstat;4ed72809: cpio: open 발생되어
패키지 설치가 안되었다. 이런 경우는 /usr/bin 디렉토리가 속성 잠금 상태일 것이다.
확인해 보자.
#lsattr /usr/ | more
----i-----I-- /usr/bin
역시 잠금상태이다.
#chattr -i /usr/bin 잠금 해제
#lsattr /usr/ | more
----------I-- /usr/bin
다시 한번, yum install
# yum install dstat
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package dstat.noarch 0:0.6.6-3.el5_4.1 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
dstat noarch 0.6.6-3.el5_4.1 base 106 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 106 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: dstat ######################### [1/1]
Installed: dstat.noarch 0:0.6.6-3.el5_4.1
Complete!
error: unpacking of archive failed on file /usr/bin/dstat;4ed72809: cpio: open 에러 없이
정상적으로 complete 되었다.
'기초 Linux 서버관리' 카테고리의 다른 글
웹 사이트 로딩 속도 체크 사이트 (0) | 2012.08.14 |
---|---|
APM 설치 (0) | 2012.03.13 |
mysql 유용한 툴 (0) | 2011.12.01 |
익스플로러(IE)에서만 엑박이 뜰 경우 (2) | 2011.07.12 |
INIT: no more processes left on this runlevel 문제 해결 (0) | 2011.03.15 |