Skip to content

Unable to install on non-Intel Macbook #5764

@giblet22

Description

@giblet22

Describe the bug
It appears that when installing on an M1 Mac, when installing postgres, the install is failing as it tries to download the aarch64 version as opposed to the x86_64 version

To Reproduce
Steps to reproduce the behavior:

  1. On M1 or newer Mac
  2. make -f Makefile.docker up
  3. Fails at postgres install step 6

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

 > [postgres stage-0 6/8] RUN /tmp/postgres-install.sh 13 && rm -f /tmp/*.sh:                                                                                                             
8.165 Delta RPMs disabled because /usr/bin/applydeltarpm not installed.                                                                                                                   
20.84 warning: /var/cache/yum/aarch64/7/pgdg13/packages/postgresql13-contrib-13.16-2PGDG.rhel7.aarch64.rpm: Header V4 RSA/SHA1 Signature, key ID 55b374b8: NOKEY                          
20.84 Public key for postgresql13-contrib-13.16-2PGDG.rhel7.aarch64.rpm is not installed                                                                                                  
21.39 Importing GPG key 0x73E3B907:                                                                                                                                                       
21.39  Userid     : "PostgreSQL RPM Repository <[email protected]>"                                                                                                      
21.39  Fingerprint: f245 f0bf 96ac 1827 44ca ff2e 64fa ce11 73e3 b907                                                                                                                     
21.39  From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-13                                                                                                                                  
21.40                                                                                                                                                                                     
21.40                                                                                                                                                                                     
21.40 Public key for postgresql13-libs-13.16-2PGDG.rhel7.aarch64.rpm is not installed                                                                                                     
21.40 
21.40 
21.40  Failing package is: postgresql13-libs-13.16-2PGDG.rhel7.aarch64
21.40  GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-13
21.40 

Desktop (please complete the following information):

  • OS: Mac Sonoma 14.6.1

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions