0

我正在尝试在亚马逊 aws 工作区实例上运行“sudo yum update”。但我得到了下面的错误。我如何解决它?我正在尝试在实例上安装 postgresql 12。我应该删除一些与 amazon linux 2 不兼容的软件包吗?谢谢

$ sudo yum update
Loaded plugins: amzn_workspaces_filter_updates, halt_os_update_check, priorities, update-motd
323 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package libpq5.x86_64 0:12.3-10PGDG.rhel7 will be obsoleting
---> Package postgresql.x86_64 0:9.2.24-1.amzn2.0.1 will be updated
---> Package postgresql.x86_64 0:11.5-5.amzn2.0.1 will be an update
---> Package postgresql-devel.x86_64 0:9.2.24-1.amzn2.0.1 will be obsoleted
---> Package postgresql-libs.x86_64 0:9.2.24-1.amzn2.0.1 will be obsoleted
---> Package postgresql12-devel.x86_64 0:12.6-1PGDG.rhel7 will be obsoleting
--> Processing Dependency: llvm5.0-devel >= 5.0 for package: postgresql12-devel-12.6-1PGDG.rhel7.x86_64
--> Processing Dependency: llvm-toolset-7-clang >= 4.0.1 for package: postgresql12-devel-12.6-1PGDG.rhel7.x86_64
--> Processing Dependency: libicu-devel for package: postgresql12-devel-12.6-1PGDG.rhel7.x86_64
--> Running transaction check
---> Package libicu-devel.x86_64 0:50.2-4.amzn2 will be installed
---> Package llvm5.0-devel.x86_64 0:5.0.1-7.el7 will be installed
--> Processing Dependency: llvm5.0(x86-64) = 5.0.1-7.el7 for package: llvm5.0-devel-5.0.1-7.el7.x86_64
--> Processing Dependency: libedit-devel for package: llvm5.0-devel-5.0.1-7.el7.x86_64
--> Processing Dependency: libLLVM-5.0.so()(64bit) for package: llvm5.0-devel-5.0.1-7.el7.x86_64
--> Processing Dependency: libLTO.so.5()(64bit) for package: llvm5.0-devel-5.0.1-7.el7.x86_64
---> Package postgresql12-devel.x86_64 0:12.6-1PGDG.rhel7 will be obsoleting
--> Processing Dependency: llvm-toolset-7-clang >= 4.0.1 for package: postgresql12-devel-12.6-1PGDG.rhel7.x86_64
--> Running transaction check
---> Package libedit-devel.x86_64 0:3.0-12.20121213cvs.amzn2.0.2 will be installed
---> Package llvm5.0.x86_64 0:5.0.1-7.el7 will be installed
---> Package llvm5.0-libs.x86_64 0:5.0.1-7.el7 will be installed
---> Package postgresql12-devel.x86_64 0:12.6-1PGDG.rhel7 will be obsoleting
--> Processing Dependency: llvm-toolset-7-clang >= 4.0.1 for package: postgresql12-devel-12.6-1PGDG.rhel7.x86_64
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
4

0 回答 0