상황
이번 새로 출시된 7.5 업데이트 실행중 “/”파티션 FULL 에 의해 프로세스 강제 종료..
여유공간 마련 후에 재시도 진행시
아래 두개 패키지의 update 오류 발생
에러메세지
# yum update
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.navercorp.com
* elrepo: mirror.rackspace.com
* epel: mirror.premi.st
* extras: mirror.navercorp.com
* updates: mirror.navercorp.com
Resolving Dependencies
–> Running transaction check
—> Package python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7 will be updated
—> Package python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7 will be an update
—> Package python-urllib3.noarch 0:1.10.2-3.el7 will be updated
—> Package python-urllib3.noarch 0:1.10.2-5.el7 will be an update
–> Finished Dependency ResolutionDependencies Resolved
============================================================================
Package Arch Version Repository
Size
============================================================================
Updating:
python-backports-ssl_match_hostname noarch 3.5.0.1-1.el7 base 13 k
python-urllib3 noarch 1.10.2-5.el7 base 102 kTransaction Summary
============================================================================
Upgrade 2 PackagesTotal download size: 114 k
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for base
(1/2): python-urllib3-1.10.2-5.el7.noarch.rpm | 102 kB 00:00
(2/2): python-backports-ssl_match_hostname-3.5.0.1-1.el | 13 kB 00:00
—————————————————————————-
Total 502 kB/s | 114 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noar 1/4
Error unpacking rpm package python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch
error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info: cpio: rename
Updating : python-urllib3-1.10.2-5.el7.noarch 2/4
Error unpacking rpm package python-urllib3-1.10.2-5.el7.noarch
error: python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch: install failed
error: unpacking of archive failed on file /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname: cpio: rename
Verifying : python-urllib3-1.10.2-5.el7.noarch 1/4
python-urllib3-1.10.2-3.el7.noarch was supposed to be removed but is not!
Verifying : python-urllib3-1.10.2-3.el7.noarch 2/4
python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch was supposed to be removed but is not!
Verifying : python-backports-ssl_match_hostname-3.4.0.2-4.el7.noar 3/4
Verifying : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noar 4/4Failed:
python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7
python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7
python-urllib3.noarch 0:1.10.2-3.el7
python-urllib3.noarch 0:1.10.2-5.el7Complete!
언급된 파일(디렉토리) 상태
# ls -al /usr/lib/python2.7/site-packages/urllib3/packages/ssl_match_hostname drwxr-xr-x 2 root root 4096 4월 9 14:10 backports -rw-r--r-- 1 root root 74 8월 7 2014 __init__.py -rw-r--r-- 1 root root 325 4월 9 14:10 __init__.pyc -rw-r--r-- 1 root root 8935 8월 7 2014 ordered_dict.py -rw-r--r-- 1 root root 9868 4월 9 14:10 ordered_dict.pyc lrwxrwxrwx 1 root root 12 5월 14 13:29 six.py -> ../../six.py lrwxrwxrwx 1 root root 13 5월 14 13:29 six.pyc -> ../../six.pyc lrwxrwxrwx 1 root root 13 5월 14 13:29 six.pyo -> ../../six.pyo drwxr-xr-x 2 root root 4096 4월 9 14:10 ssl_match_hostname lrwxrwxrwx 1 root root 34 5월 14 12:35 ssl_match_hostname;5af90233 -> ../../backports/ssl_match_hostname lrwxrwxrwx 1 root root 34 5월 14 12:44 ssl_match_hostname;5af90605 -> ../../backports/ssl_match_hostname lrwxrwxrwx 1 root root 34 5월 14 13:18 ssl_match_hostname;5af90e13 -> ../../backports/ssl_match_hostname lrwxrwxrwx 1 root root 34 5월 14 13:19 ssl_match_hostname;5af90e50 -> ../../backports/ssl_match_hostname lrwxrwxrwx 1 root root 34 5월 14 13:22 ssl_match_hostname;5af90ef6 -> ../../backports/ssl_match_hostname lrwxrwxrwx 1 root root 34 5월 14 13:25 ssl_match_hostname;5af90fa1 -> ../../backports/ssl_match_hostname lrwxrwxrwx 1 root root 34 5월 14 13:29 ssl_match_hostname;5af9108f -> ../../backports/ssl_match_hostname # ls -al /usr/lib/python2.7/site-packages/backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info* drw-r--r-- 1 root root 4051 4월 11 11:25 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info -rw-r--r-- 1 root root 4051 4월 11 11:25 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5af90233 -rw-r--r-- 1 root root 4051 4월 11 11:25 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5af90605 -rw-r--r-- 1 root root 4051 4월 11 11:25 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5af90e13 -rw-r--r-- 1 root root 4051 4월 11 11:25 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5af90e50 -rw-r--r-- 1 root root 4051 4월 11 11:25 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5af90ef6 -rw-r--r-- 1 root root 4051 4월 11 11:25 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5af90fa1 -rw-r--r-- 1 root root 4051 4월 11 11:25 backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info;5af910f6
해결
“;” 기호뒤에 문자열이 붙은것은
“yum update” 작업 수행시 임시로 생성하는 파일로… 삭제 무방
에러 메세지에 언급된 디렉토리들을 삭제후
“yum update” 를 재실행 하면 해결 됨