Amazon Linux AMI에 Fedora 패키지 설치

Amazon Linux AMI에 Fedora 패키지 설치

Fedora 패키지, 특히 poppler-utils 버전 0.5x 이상 패키지를 설치하려고 하는데 현재는 Fedora에만 해당됩니다. Amazon Linux AMI에 대한 지식은 많지 않지만 조사한 바에 따르면 대부분 CentOS 패키지와 호환됩니다. 하지만 Fedora 패키지 설치가 가능한지 확실하지 않으므로 확인하고 싶습니다.

지금까지 시도한 것:

페도라 패키지 rpm을 다운로드하여 s3에 업로드하고 ebextension 구성을 통해 설치를 시도했습니다.

commands:
    command: yum -y localinstall https://s3.amazonaws.com/link_to_rpm.rpm

하지만 그건 효과가 없었어요. 지금은 로그가 없지만 로그에는 "poppler-utils 0.5x는 poppler-utils 0.26.5에 대한 업그레이드입니다"와 같은 내용이 나와 있습니다. 오류는 "필수 poppler-utils 0.5x"와 같은 내용이었습니다.

Fedora 패키지 rpm을 설치하는 방법이 있습니까? rpm을 다운로드하고 있습니다.여기

편집: 로그 추가됨

[Application update .../Command install_poppler-utils] : Activity execution failed, because: Loaded plugins: priorities, update-motd, upgrade-helper
  Examining .../poppler-utils-0.62.0-1.fc28.x86_64.rpm: poppler-utils-0.62.0-1.fc28.x86_64
  Marking .../poppler-utils-0.62.0-1.fc28.x86_64.rpm as an update to poppler-utils-0.26.5-17.17.amzn1.x86_64
  Resolving Dependencies
  --> Running transaction check
  ---> Package poppler-utils.x86_64 0:0.26.5-17.17.amzn1 will be updated
  ---> Package poppler-utils.x86_64 0:0.62.0-1.fc28 will be an update
  --> Processing Dependency: poppler(x86-64) = 0.62.0-1.fc28 for package: poppler-utils-0.62.0-1.fc28.x86_64
  --> Processing Dependency: libpoppler.so.73()(64bit) for package: poppler-utils-0.62.0-1.fc28.x86_64
  --> Finished Dependency Resolution
  Error: Package: poppler-utils-0.62.0-1.fc28.x86_64 (/poppler-utils-0.62.0-1.fc28.x86_64)
  Requires: poppler(x86-64) = 0.62.0-1.fc28
  Installed: poppler-0.26.5-17.17.amzn1.x86_64 (@amzn-main)
  poppler(x86-64) = 0.26.5-17.17.amzn1
  Error: Package: poppler-utils-0.62.0-1.fc28.x86_64 (/poppler-utils-0.62.0-1.fc28.x86_64)
  Requires: libpoppler.so.73()(64bit)
  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest

답변1

하위 패키지 만 설치하려고 합니다 poppler-utils. 이를 위해서는 poppler일치하는 버전의 패키지가 필요합니다. 이 두 가지를 모두 설치해야 합니다. 이는 작동할 수 있지만(종종 RHEL7 기반 시스템에서 수행됨) 종속성 추적의 토끼굴이 될 수 있으며, 성공하더라도 프랑켄슈타인의 시스템 괴물이 될 수 있습니다.

Fedora Cloud Base(https://alt.fedoraproject.org/cloud/), 필요한 패키지 버전이 무엇입니까?

관련 정보