Skip to content

Repository on Ubuntu has different versions for X86 and ARM, with different library locations #266

@xgretsch

Description

@xgretsch

I have just discovered that GeoIP was failing on my production server (which is x86), while working on my development system (which is a newish Mac, and therefore arm).

This is because the library locations are different: on the production server, it's in /usr/share (as described in the documentation), whereas on the dev system, it's /var/lib.

This seems to be associated with the versions being different. On the dev system, I'm getting v4.10.0-1. On the live system, it's v6-0.0-0.

I'm using the same Dockerfile commands for both:

# Start with a base Ubuntu image
FROM ubuntu:23.04

ARG xdebug

# Prevent any prompts during installation
ENV DEBIAN_FRONTEND noninteractive

# Set up apt with any additional repositories we need
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:maxmind/ppa
RUN apt-get update --fix-missing
RUN apt upgrade -y
RUN apt-get install -y geoipupdate

However, the Docker build commands are different (obviously)

For the live site:

docker buildx build --platform linux/x86_64 .

For the dev site:

docker build .

Can someone update the Github repository, please, so that we get the same version on both platforms?

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