yum 검색으로는 찾을 수 없지만 yum 목록에서는 볼 수 있습니다.

yum 검색으로는 찾을 수 없지만 yum 목록에서는 볼 수 있습니다.

RHEL 6.3에서 yum 저장소를 사용하는 데 문제가 있습니다. 먼저 rpmforge 저장소를 사용하여 yum 저장소를 생성했습니다. 나도 yum list할 수 있어요. 이것은 yum 목록 결과의 마지막 줄입니다.

zssh.x86_64                                    1.5-0.c.2.el6.rf                     rpmforge 
zsync.x86_64                                   0.6.2-1.el6.rf                       rpmforge 
zvbi.x86_64                                    0.2.33-2.el6.rf                      rpmforge 
zvbi-devel.x86_64                              0.2.33-2.el6.rf                      rpmforge 
zziplib.x86_64                                 0.13.45-1.el6.rf                     rpmforge 
zziplib-devel.x86_64                           0.13.45-1.el6.rf                     rpmforge 

하지만 yum으로 검색하면 zzip*결과는 다음과 같습니다.

[root@noi Downloads]# yum search zzip*
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Warning: No matches found for: zzip*
No Matches found

처음 설치할 때와는 달랐습니다.

[root@noi Downloads]# yum install zzip*
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package zziplib.x86_64 0:0.13.45-1.el6.rf will be installed
---> Package zziplib-devel.x86_64 0:0.13.45-1.el6.rf will be installed
--> Processing Dependency: SDL-devel for package: zziplib-devel-0.13.45-1.el6.rf.x86_64
--> Processing Dependency: zlib-devel for package: zziplib-devel-0.13.45-1.el6.rf.x86_64
--> Finished Dependency Resolution
Error: Package: zziplib-devel-0.13.45-1.el6.rf.x86_64 (rpmforge)
           Requires: zlib-devel
Error: Package: zziplib-devel-0.13.45-1.el6.rf.x86_64 (rpmforge)
           Requires: SDL-devel
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

어떻게 이런 일이 일어났는지 아는 사람 있나요?

답변1

나는 바꾸고 싶지 않다slm이 제공한 훌륭한 답변.

yum 검색을 사용한 검색에서는 일반적으로 정규식(globs)을 사용하지 않습니다. 검색 명령은 이미 패키지 이름과 해당 다이제스트에서 하위 문자열을 찾기 때문입니다. 이것을 어떻게 알 수 있나요? yum 검색을 사용하면 이를 알리는 메시지가 나타납니다. 이름과 스니펫만 일치합니다. 모든 항목에 대해 모두 검색을 사용하세요.

정규식 없이 검색해 보세요yum search zzip

답변2

yum 검색을 사용하는 경우 별표(*) 문자를 사용할 필요가 없습니다. Yum 검색은 입력한 전체 텍스트를 검색합니다. "yum search zzip"을 시도해 보세요.

관련 정보