Elastic-Beanstalk

Elasticbeanstalk 如何在我的配置文件中指定 Pango >= 1.38?

  • April 16, 2021

我收到以下錯誤:

Elasticbeanstalk 使用者警告:@font-face 支持需要 Pango >= 1.38

我需要在 elasticbeanstalk 上安裝 Pango >= 1.38。

我有以下.ebextensions\01_packages.config文件

packages:
 yum:
   git: []
   postgresql93-devel: []
   libxslt-devel: []
   libxml2-devel: []
   python36: []
   gcc-c++: []
   gcc-gfortran: []
   atlas-sse3-devel: []
   lapack-devel: []
   libffi: []
   libffi-devel: []
   cairo-devel: []
   pango: []
   pango-devel : []

這是根據 eb-activity.log 中的此摘錄載入 pango 1.28

> ---> Package pango.x86_64 0:1.28.1-10.11.amzn1 will be installed   --> Processing Dependency: libthai >= 0.1.9 for package:
> pango-1.28.1-10.11.amzn1.x86_64   --> Processing Dependency:
> libthai.so.0(LIBTHAI_0.1)(64bit) for package:
> pango-1.28.1-10.11.amzn1.x86_64   --> Processing Dependency:
> libthai.so.0()(64bit) for package: pango-1.28.1-10.11.amzn1.x86_64  
> --> Processing Dependency: libXft.so.2()(64bit) for package: pango-1.28.1-10.11.amzn1.x86_64   ---> Package pango-devel.x86_64
> 0:1.28.1-10.11.amzn1 will be installed   --> Processing Dependency:
> pkgconfig(xft) for package: pango-devel-1.28.1-10.11.amzn1.x86_64  
> --> Processing Dependency: libXft-devel for package: pango-devel-1.28.1-10.11.amzn1.x86_64

我試過修改為

...
   pango: 1.44.0
   pango-devel : 1.44.0 

安裝時出現以下錯誤:

命令在實例上失敗。返回碼:1 輸出:Yum 沒有可安裝的 pango-1.44.0。

我是否安裝了更新版本的 Pango?

我終於升級到最新版本的 Elastic Beanstalk,這是我解決這個問題的唯一方法

引用自:https://serverfault.com/questions/1011251