Não é possível encontrar usando a pesquisa yum, mas pode ver na lista yum

1

Eu tenho um problema usando o repositório yum no RHEL 6.3. Primeiro, eu criei o repositório yum usando o repositório rpmforge. Eu posso fazer yum list também. Aqui a última linha do resultado da lista 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 

Mas, se eu fizer o yum procurar por zzip* , o resultado vai ser assim

[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

Será diferente novamente quando eu acabei de instalar isso,

[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

Alguém sabe como isso pode acontecer?

    
por Yohanes 14.08.2015 / 13:36

2 respostas

1

Eu não quero substituir boa resposta fornecida por slm .

You generally don't use any regular expressions (globs) when searching with yum search since the command search is already looking for sub-strings within the package names and their summaries. How do I know this? There's a message that tells you this when you use yum search. Name and summary matches only, use "search all" for everything.

Tente pesquisar sem expressão regular yum search zzip

    
por 14.08.2015 / 13:49
0

Se você usar a pesquisa do yum, não precisará usar o caractere asterisco (*). A pesquisa da Yum pesquisa todo o texto digitado. Tente usar "yum search zzip".

    
por 14.08.2015 / 13:47