zypper 종료 코드 106 - 해결 방법은 무엇입니까? [폐쇄]

zypper 종료 코드 106 - 해결 방법은 무엇입니까? [폐쇄]

SLES11.4 서버에 패키지를 설치하고 싶습니다.

SLES11SERVER:~ # zypper in -f telnet
Retrieving repository 'foobar_common' metadata [\]
File 'repomd.xml' from repository 'foobar_common' is unsigned, continue? [yes/no] (no): yes
Retrieving repository 'foobar_common' metadata [error]
Repository 'foobar_common' is invalid.
[|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'foobar_common' because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data...
Reading installed packages...
Forcing installation of 'telnet-1.2-134.24.1.x86_64' from repository 'SLES11-SP4-Pool'.
Resolving package dependencies...

The following package is going to be reinstalled:
  telnet

1 package to reinstall.
Overall download size: 54.0 KiB. No additional space will be used or freed after the operation.
Continue? [y/n/? shows all options] (y): y
Retrieving package telnet-1.2-134.24.1.x86_64 (1/1), 54.0 KiB (118.0 KiB unpacked)
Retrieving: telnet-1.2-134.24.1.x86_64.rpm [done]
Installing: telnet-1.2-134.24.1 [done]
SLES11SERVER:~ # echo $?
106
SLES11SERVER:~ #

매뉴얼 페이지에 따르면:

106 - ZYPPER_EXIT_INF_REPOS_SKIPPED
           Some repository had to be disabled temporarily because it failed to refresh. You should check your
           repository configuration (e.g.  zypper ref -f).

그래서 "zypper ref -f"를 수행했습니다.

SLES11SERVER:~ # zypper ref -f
...
Retrieving repository 'foobar_common' metadata [/]
File 'repomd.xml' from repository 'foobar_common' is unsigned, continue? [yes/no] (no): yes
Retrieving repository 'foobar_common' metadata [error]
Repository 'foobar_common' is invalid.
[|] Valid metadata not found at specified URL(s)
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'foobar_common' because of the above error.
Forcing raw metadata refresh
...
Some of the repositories have not been refreshed because of an error.
SLES11SERVER:~ #

패키지가 설치되었지만(다른 저장소에서 이 foobar_common은 패키지를 제공하지 않음) 패키지가 설치된 후 zypper에 대한 종료 코드를 0으로 설정해야 합니다.

묻다:zypper가 종료 코드 106을 제공하지 않는 문제를 해결하는 방법은 무엇입니까?

난 노력 했어:

  • foobar_common 저장소 제거/추가, 동일한 문제

답변1

문제는 저장소 측에 있습니다(저장소 운영팀의 경우 PEBKAC :)).

또한 zypper clean --all도움이 됩니다.

관련 정보