Обсуждение: BUG #18293: Rocky 8 postgres install failing as nothing provides libarmadillo.so.10()(64bit)

Поиск
Список
Период
Сортировка

BUG #18293: Rocky 8 postgres install failing as nothing provides libarmadillo.so.10()(64bit)

От
PG Bug reporting form
Дата:
The following bug has been logged on the website:

Bug reference:      18293
Logged by:          Chris Van de Velde
Email address:      chriswvandevelde@gmail.com
PostgreSQL version: 13.13
Operating system:   Rocky 8
Description:

Reported by multiply folks - we noticed our automated build (which is a more
complicated than the simple cases presented in the links below) was passing
CI 11 Jan and started failing 12 Jan only on both Rocky 8 bases we target
(ARM/x86) but Centos 7 (only target x86) unaffected.

====
FROM centos7 AS build7
FROM rockylinux:8 AS build8

FROM build@elVersion@

RUN yum clean metadata
RUN yum clean all
RUN rm -rf /var/cache/yum
RUN rpm -Va --nofiles --nodigest
RUN yum update -y && yum upgrade -y;
RUN yum install -y bzip2 epel-release git gpg tar wget yum-utils openssl gcc
make cpio findutils
# Note: yum-plugin-versionlock can be used to pin versions but it won't help
with what we pull manually via yumdownloader

RUN yum remove -y postgresql postgresql-libs
RUN yum install -y
https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-8-x86_64/pgdg-redhat-repo-42.0-38PGDG.noarch.rpm

# Enable PowerTools repo to pull in PostGIS dependencies
RUN yum-config-manager --enable powertools;

# Disable built-in postgresql module for CentOS 8
RUN [[ "@elVersion@" != 8 ]] || dnf -qy module disable postgresql;

# Download all our packages
ENV DOWNLOAD_DIR /tmp/yum/download
RUN mkdir -p $DOWNLOAD_DIR && \
    cd $DOWNLOAD_DIR && \
    yumdownloader -y --resolve postgresql13-contrib-13.13
postgresql13-devel-13.13  postgresql13-plperl-13.13 postgresql-plpython
postgresql13-server-13.13 postgis31_13 postgis31_13-client pgaudit15_13  
===

Also reported at
https://stackoverflow.com/questions/77811708/installation-of-postgis33-15-on-rocky-linux-8-fails
(for Postgres 15), and
https://www.postgresql.org/message-id/CAGX%2Bg7r0_UxeWVpfn4mz7-SgsmqX9gm8edq7GPx4Bmy2DhVQBA%40mail.gmail.com
(but posting here) - in all cases the underlying issue is the same:

#20 81.06  Problem: package postgis31_13-3.1.10-1PGDG.rhel8.x86_64 from
pgdg13 requires gdal36-libs >= 3.6.3, but none of the providers can be
installed
#20 81.06   - package postgis31_13-3.1.10-1PGDG.rhel8.x86_64 from pgdg13
requires libgdal.so.32()(64bit), but none of the providers can be
installed
#20 81.06   - conflicting requests
#20 81.06   - nothing provides libarmadillo.so.10()(64bit) needed by
gdal36-libs-3.6.4-4PGDG.rhel8.x86_64 from pgdg-common
#20 81.06   - nothing provides libarmadillo.so.10()(64bit) needed by
gdal36-libs-3.6.4-5PGDG.rhel8.x86_64 from pgdg-common


Hi,

On Mon, 2024-01-15 at 10:19 +0000, PG Bug reporting form wrote:
> Bug reference:      18293
> Logged by:          Chris Van de Velde
> Email address:      chriswvandevelde@gmail.com
> PostgreSQL version: 13.13
> Operating system:   Rocky 8
> Description:       
>

<snip>

> Also reported at
> https://stackoverflow.com/questions/77811708/installation-of-postgis33-15-on-rocky-linux-8-fails
> (for Postgres 15), and
> https://www.postgresql.org/message-id/CAGX%2Bg7r0_UxeWVpfn4mz7-SgsmqX9gm8edq7GPx4Bmy2DhVQBA%40mail.gmail.com
> (but posting here) - in all cases the underlying issue is the same:
>
> #20 81.06  Problem: package postgis31_13-3.1.10-1PGDG.rhel8.x86_64
> from pgdg13 requires gdal36-libs >= 3.6.3, but none of the providers
> can be installed
> #20 81.06   - package postgis31_13-3.1.10-1PGDG.rhel8.x86_64 from
> pgdg13
> requires libgdal.so.32()(64bit), but none of the providers can be
> installed
> #20 81.06   - conflicting requests
> #20 81.06   - nothing provides libarmadillo.so.10()(64bit) needed by
> gdal36-libs-3.6.4-4PGDG.rhel8.x86_64 from pgdg-common
> #20 81.06   - nothing provides libarmadillo.so.10()(64bit) needed by
> gdal36-libs-3.6.4-5PGDG.rhel8.x86_64 from pgdg-common
>

Fixed in today's updates. The new gdal package version is 3.6.4-6.

Regards,


--
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
Twitter: @DevrimGunduz , @DevrimGunduzTR