>> Read No. 45117 article  
꼭 답변 부탁드립니다. 꾸벅. < up2date 관련 질문입
니다. >

등록 2002-03-20 11:14:00     조회 1
이름 질문쟁이    

		다름이 아니오라 up2date -l 을 했을 때 여러 팩키지 목록이 나옵니다..
 아래의 예를 보여드리겠습니다.
 [root@hosting ndccall]# up2date -l
 Retrieving list of all available packages...
########################################
 Removing installed packages from list of updates...
########################################
 Removing packages marked to skip from list...
########################################
 Getting headers for available packages...
########################################
 Removing packages with files marked to skip from list...
########################################
 Getting headers for skipped packages...
########################################
 Name Version Rel
----------------------------------------------------------
rsync 2.4.6 13
 The following Packages were marked to be skipped by your configuration:
 Name Version Rel Reason
--------------------------------------------------------------------
kernel 2.4.9 31 Pkg name/pattern
kernel-headers 2.4.9 31 Pkg name/pattern
kernel-source 2.4.9 31 Pkg name/pattern
 보시면 rsync가 업데이트 목록에 나와있습니다.
 그런데 제가 rsync를 업데이트 하지 않을려면..
 <물론 하나밖에 업데이트가 올라오지 않았으니 실행을 하지 않으면 되지
만 여러개 일때는 두개중 하나는 하고 하나는 안할려고 할때요.. >
 vi /etc/sysconfig/rhn/up2date 파일을 열어.
 removeSkipList[comment]=A list of package names, optionally including wildcards that up2date will not remove
removeSkipList=kernel*;rsync*;
 해주고
 removeSkipList[comment]=A list of package names, optionally including wildcards that up2date will not remove
removeSkipList=kernel*;rsync;
 이렇게도 해주어봤습니다.
 그런데 둘다 update가 됩니다.
 아래를 보시면 설치 화면입니다.
 [root@golden-hosting ndccall]# rpm -e rsync-2.4.6-13
[root@golden-hosting ndccall]# rpm -Uvh rsync-2.4.6-1.i386.rpm
 현재 rsync의 버젼은 2.4.6-1 입니다.
 Preparing... ########################################### [100%]
1:rsync ########################################### [100%]
[root@golden-hosting ndccall]#
[root@golden-hosting ndccall]#
[root@golden-hosting ndccall]# up2date -l
 Retrieving list of all available packages...
########################################
 Removing installed packages from list of updates...
########################################
 Removing packages marked to skip from list...
########################################
 Getting headers for available packages...
########################################
 Removing packages with files marked to skip from list...
########################################
 Getting headers for skipped packages...
########################################
 Name Version Rel
----------------------------------------------------------
rsync 2.4.6 13
 The following Packages were marked to be skipped by your configuration:
 Name Version Rel Reason
--------------------------------------------------------------------kernel 2.4.9 31 Pkg name/pattern
kernel-headers 2.4.9 31 Pkg name/pattern
kernel-source 2.4.9 31 Pkg name/pattern
 [root@hosting ndccall]# up2date -u
 Retrieving list of all available packages...
########################################
 Removing installed packages from list of updates...
########################################
 Removing packages marked to skip from list...
########################################
 Getting headers for available packages...
########################################
 Removing packages with files marked to skip from list...
########################################
 Getting headers for skipped packages...
########################################
The following Packages were marked to be skipped by your configuration:
 Name Version Rel Reason
--------------------------------------------------------------------kernel 2.4.9 31 Pkg name/pattern
kernel-headers 2.4.9 31 Pkg name/pattern
kernel-source 2.4.9 31 Pkg name/pattern
  Testing package set / solving RPM inter-dependencies...
########################################
Retrieving selected packages...
rsync-2.4.6-13.i386.rpm: ########################## Done.
Preparing... ########################################### [100%]
1:rsync ########################################### [100%]
[root@hosting ndccall]# rpm -qa | grep rsync
rsync-2.4.6-13
[root@hosting ndccall]#
 업데이트가 되면서 rsync가 2.4.6.-13으로 바뀌었습니다.
 해당 팩키지 업데이트 목록에 2개가 올라왔을시 하나는 업데이트를 안하
 고 하나는 할려면 어떻게 해야되는지요?
 그리고 추가로 하나만 더 질문을 드릴께요.
 ===================================================================
 위의 버젼은 레드헷 7.2이기 때문에 up2date는 실행이 되지만..
 제가 7.0에서 설치를 할때는 아래의 메세지가 에러가 나옵니다.
 에러문구로 검색 또한 많이 해봤지만 정확히 판단이 안되네요.
 Traceback (innermost last):
File "/usr/share/rhn/register/tui.py", line 1080, in ?
main()
File "/usr/share/rhn/register/tui.py", line 1076, in main
tui.run()
File "/usr/share/rhn/register/tui.py", line 1033, in run
win = self.windows[index](self.screen, self)
File "/usr/share/rhn/register/tui.py", line 661, in __init__
self.versionLabel2 = snack.Label(rhnreg.getVersion())
File "/usr/share/rhn/register/rhnreg.py", line 90, in getVersion
index = db.findbyname("redhat-release")[0]
rpm.error: error reading from database
[root@testlinux tmp]#
 [root@testlinux tmp]# rpm -qa | grep python
python-1.5.2-27
python-xmlrpc-1.0-8
rpm-python-4.0-4
python-popt-0.6-4
python-devel-1.5.2-27
pythonlib-1.27-1
[root@testlinux tmp]#
 또한 설치가 되어있습니다.
 바쁘시겠지만 부족한 저에게 가르침을 주시면 정말 감사하겠습니다.
 좋은 하루 되세요.--이 곳에 서명을 적어주십시오.
 리눅서를 위한 .
이름
암호
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 0.49 초 ] 작업시간: [ 0.08 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1791652820
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.