Docker build arch failure: "exfatprogs and exfat-utils are in conflict" #352

Closed
opened 2025-12-29 00:25:11 +01:00 by adam · 4 comments
Owner

Originally created by @3rock618 on GitHub (Apr 21, 2022).

I'm trying to run the dockerfile from /vnc-version

I've been able to reduce my Dockerfile to narrow down the problem:

FROM sickcodes/docker-osx:auto
RUN sudo pacman -Syyuu --noconfirm

This gives me an error when I run docker build -t osx .

Step 2/2 : RUN sudo pacman -Syyuu --noconfirm
 ---> Running in 5e4d8960d2c5
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
:: Starting full system upgrade...
:: Replace hwids with core/hwdata? [Y/n]
resolving dependencies...
looking for conflicting packages...
:: exfatprogs and exfat-utils are in conflict. Remove exfat-utils? [y/N]
:: exfatprogs and exfat-utils are in conflict
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
The command '/bin/bash -c sudo pacman -Syyuu --noconfirm' returned a non-zero code: 1

This should be a really simple arch pacman update. I'm new to arch. Any ideas?

Originally created by @3rock618 on GitHub (Apr 21, 2022). I'm trying to run the dockerfile from /vnc-version I've been able to reduce my Dockerfile to narrow down the problem: ``` FROM sickcodes/docker-osx:auto RUN sudo pacman -Syyuu --noconfirm ``` This gives me an error when I run `docker build -t osx .` ``` Step 2/2 : RUN sudo pacman -Syyuu --noconfirm ---> Running in 5e4d8960d2c5 :: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... :: Replace hwids with core/hwdata? [Y/n] resolving dependencies... looking for conflicting packages... :: exfatprogs and exfat-utils are in conflict. Remove exfat-utils? [y/N] :: exfatprogs and exfat-utils are in conflict error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) The command '/bin/bash -c sudo pacman -Syyuu --noconfirm' returned a non-zero code: 1 ``` This should be a really simple arch pacman update. I'm new to arch. Any ideas?
adam closed this issue 2025-12-29 00:25:11 +01:00
Author
Owner

@sickcodes commented on GitHub (Apr 21, 2022):

Fixed with yes | pacman ...

@sickcodes commented on GitHub (Apr 21, 2022): Fixed with `yes | pacman ...`
Author
Owner

@3rock618 commented on GitHub (Apr 21, 2022):

yes | sudo pacman -Syyuu got me past the initial error (removed the --noconfirm)

Would that be because --noconfirm sends an N, but without it, with yes | sends a y?
:: exfatprogs and exfat-utils are in conflict. Remove exfat-utils? [y/N]

However now I'm getting more errors:

my dockerfile is still only:

FROM sickcodes/docker-osx:auto
RUN yes | sudo pacman -Syyuu

logs:

...
 libmnl-1.0.5-1-x86_64 downloading...
 pacman-mirrorlist-20220410-1-any downloading...
 vte-common-0.68.0-2-x86_64 downloading...
 systemd-sysvcompat-250.4-2-x86_64 downloading...
 pambase-20211210-1-any downloading...
checking keyring...
downloading required keys...
:: Import PGP key E1E3CF0539448BFF, "Ike Devolder <ike.devolder@archlinux.org>"? [Y/n] y
:: Import PGP key C132293954BBE4AD, "Sergej Pupykin <spupykin@archlinux.org>"? [Y/n] y
:: Import PGP key 11675C743429DDEF, "Massimiliano Torromeo <mtorromeo@archlinux.org>"? [Y/n] y
:: Import PGP key 6E7CE0B0A36DA2AE, "Brett Cornwall <brett@i--b.com>"? [Y/n] y
checking package integrity...
error: linux-api-headers: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/linux-api-headers-5.16.8-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: glibc: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/glibc-2.35-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: gcc-libs: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/gcc-libs-11.2.0-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: libtiff: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/libtiff-4.3.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: krb5: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/krb5-1.19.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: libcap-ng: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/libcap-ng-0.8.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: libelf: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/libelf-0.186-5-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: binutils: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/binutils-2.38-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: elfutils: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/elfutils-0.186-5-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: mpfr: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/mpfr-4.1.0.p13-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: libmpc: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/libmpc-1.2.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: libisl: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/libisl-0.24-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: gcc: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/gcc-11.2.0-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: pinentry: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/pinentry-1.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: libtool: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/libtool-2.4.7-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: gzip: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/gzip-1.12-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: libvirt: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/libvirt-1:8.2.0-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: vim-runtime: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/vim-runtime-8.2.4651-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: vim: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/vim-8.2.4651-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: exfatprogs: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/exfatprogs-1.1.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: yara: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/yara-4.1.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: libvirt-python: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/libvirt-python-1:8.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: spice-gtk: key "35BAE1BF9A6B317021E690C26E7CE0B0A36DA2AE" is unknown
:: Import PGP key 35BAE1BF9A6B317021E690C26E7CE0B0A36DA2AE? [Y/n] y
:: File /var/cache/pacman/pkg/spice-gtk-0.40-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: virt-install: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/virt-install-4.0.0-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: virt-manager: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/virt-manager-4.0.0-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
The command '/bin/bash -c yes | sudo pacman -Syyuu' returned a non-zero code: 1
@3rock618 commented on GitHub (Apr 21, 2022): `yes | sudo pacman -Syyuu` got me past the initial error (removed the `--noconfirm`) Would that be because `--noconfirm` sends an N, but without it, with `yes |` sends a y? `:: exfatprogs and exfat-utils are in conflict. Remove exfat-utils? [y/N]` However now I'm getting more errors: my dockerfile is still only: ``` FROM sickcodes/docker-osx:auto RUN yes | sudo pacman -Syyuu ``` logs: ``` ... libmnl-1.0.5-1-x86_64 downloading... pacman-mirrorlist-20220410-1-any downloading... vte-common-0.68.0-2-x86_64 downloading... systemd-sysvcompat-250.4-2-x86_64 downloading... pambase-20211210-1-any downloading... checking keyring... downloading required keys... :: Import PGP key E1E3CF0539448BFF, "Ike Devolder <ike.devolder@archlinux.org>"? [Y/n] y :: Import PGP key C132293954BBE4AD, "Sergej Pupykin <spupykin@archlinux.org>"? [Y/n] y :: Import PGP key 11675C743429DDEF, "Massimiliano Torromeo <mtorromeo@archlinux.org>"? [Y/n] y :: Import PGP key 6E7CE0B0A36DA2AE, "Brett Cornwall <brett@i--b.com>"? [Y/n] y checking package integrity... error: linux-api-headers: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/linux-api-headers-5.16.8-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: glibc: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/glibc-2.35-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: gcc-libs: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-11.2.0-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: libtiff: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust :: File /var/cache/pacman/pkg/libtiff-4.3.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: krb5: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust :: File /var/cache/pacman/pkg/krb5-1.19.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: libcap-ng: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust :: File /var/cache/pacman/pkg/libcap-ng-0.8.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: libelf: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/libelf-0.186-5-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: binutils: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/binutils-2.38-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: elfutils: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/elfutils-0.186-5-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: mpfr: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/mpfr-4.1.0.p13-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: libmpc: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/libmpc-1.2.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: libisl: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/libisl-0.24-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: gcc: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-11.2.0-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: pinentry: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust :: File /var/cache/pacman/pkg/pinentry-1.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: libtool: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/libtool-2.4.7-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: gzip: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust :: File /var/cache/pacman/pkg/gzip-1.12-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: libvirt: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/libvirt-1:8.2.0-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: vim-runtime: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust :: File /var/cache/pacman/pkg/vim-runtime-8.2.4651-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: vim: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust :: File /var/cache/pacman/pkg/vim-8.2.4651-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: exfatprogs: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/exfatprogs-1.1.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: yara: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust :: File /var/cache/pacman/pkg/yara-4.1.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: libvirt-python: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/libvirt-python-1:8.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: spice-gtk: key "35BAE1BF9A6B317021E690C26E7CE0B0A36DA2AE" is unknown :: Import PGP key 35BAE1BF9A6B317021E690C26E7CE0B0A36DA2AE? [Y/n] y :: File /var/cache/pacman/pkg/spice-gtk-0.40-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: virt-install: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/virt-install-4.0.0-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: virt-manager: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust :: File /var/cache/pacman/pkg/virt-manager-4.0.0-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] y error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. The command '/bin/bash -c yes | sudo pacman -Syyuu' returned a non-zero code: 1 ```
Author
Owner

@3rock618 commented on GitHub (Apr 22, 2022):

I was able to get things up and running with the following Dockerfile: (Bold italics for modified code from orig)

ARG BASE_IMAGE=sickcodes/docker-osx:auto
FROM ${BASE_IMAGE}
# note this is for "auto" image running on Digital Ocean on Debian

MAINTAINER 'https://twitter.com/sickcodes' 

USER root

# OPTIONAL: Arch Linux server mirrors for super fast builds
# set RANKMIRRORS to any value other that nothing, e.g. -e RANKMIRRORS=true
ARG RANKMIRRORS=true
ARG MIRROR_COUNTRY=US
ARG MIRROR_COUNT=10

RUN yes | sudo pacman-key --init
RUN yes | sudo pacman-key --populate archlinux
RUN yes | sudo pacman -Sy glibc lib32-glibc 
# the first two lines helped me fix PGP signature errors
# the third line was to fix "version `GLIBC_2.34' not found" error

RUN if [[ "${RANKMIRRORS}" ]]; then { pacman -Sy wget --noconfirm || pacman -Syu wget --noconfirm ; } \
    ; wget -O ./rankmirrors "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/rankmirrors" \
    ; wget -O- "https://www.archlinux.org/mirrorlist/?country=${MIRROR_COUNTRY:-US}&protocol=https&use_mirror_status=on" \
    | sed -e 's/^#Server/Server/' -e '/^#/d' \
    | head -n "$((${MIRROR_COUNT:-10}+1))" \
    | bash ./rankmirrors --verbose --max-time 5 - > /etc/pacman.d/mirrorlist \
    && tee -a /etc/pacman.d/mirrorlist <<< 'Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch' \
    && tee -a /etc/pacman.d/mirrorlist <<< 'Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch' \
    && tee -a /etc/pacman.d/mirrorlist <<< 'Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch' \
    && cat /etc/pacman.d/mirrorlist ; fi

USER arch

# changed -Syyuu to -Syy, it works but I don't really know/understand the implications
RUN yes | sudo pacman -Syy \
    && yes | sudo pacman -S tigervnc xterm xorg-xhost xdotool ufw --noconfirm \
    && mkdir -p ${HOME}/.vnc \
    && touch ~/.vnc/config \
    && tee -a ~/.vnc/config <<< 'geometry=1920x1080' \
    && tee -a ~/.vnc/config <<< 'localhost' \
    && tee -a ~/.vnc/config <<< 'alwaysshared'

# ... the rest
@3rock618 commented on GitHub (Apr 22, 2022): I was able to get things up and running with the following Dockerfile: (Bold italics for modified code from orig) <pre> ARG BASE_IMAGE=sickcodes/docker-osx:<b><em>auto</em></b> FROM ${BASE_IMAGE} # note this is for "auto" image running on Digital Ocean on Debian MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes> USER root # OPTIONAL: Arch Linux server mirrors for super fast builds # set RANKMIRRORS to any value other that nothing, e.g. -e RANKMIRRORS=true ARG RANKMIRRORS=true ARG MIRROR_COUNTRY=US ARG MIRROR_COUNT=10 <b><em> RUN yes | sudo pacman-key --init RUN yes | sudo pacman-key --populate archlinux RUN yes | sudo pacman -Sy glibc lib32-glibc </em></b> # the first two lines helped me fix PGP signature errors # the third line was to fix "version `GLIBC_2.34' not found" error RUN if [[ "${RANKMIRRORS}" ]]; then { pacman -Sy wget --noconfirm || pacman -Syu wget --noconfirm ; } \ ; wget -O ./rankmirrors "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/rankmirrors" \ ; wget -O- "https://www.archlinux.org/mirrorlist/?country=${MIRROR_COUNTRY:-US}&protocol=https&use_mirror_status=on" \ | sed -e 's/^#Server/Server/' -e '/^#/d' \ | head -n "$((${MIRROR_COUNT:-10}+1))" \ | bash ./rankmirrors --verbose --max-time 5 - > /etc/pacman.d/mirrorlist \ && tee -a /etc/pacman.d/mirrorlist <<< 'Server = http://mirrors.evowise.com/archlinux/$repo/os/$arch' \ && tee -a /etc/pacman.d/mirrorlist <<< 'Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch' \ && tee -a /etc/pacman.d/mirrorlist <<< 'Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch' \ && cat /etc/pacman.d/mirrorlist ; fi USER arch # changed -Syyuu to -Syy, it works but I don't really know/understand the implications RUN yes | sudo pacman <b><em>-Syy</em></b> \ && yes | sudo pacman -S tigervnc xterm xorg-xhost xdotool ufw --noconfirm \ && mkdir -p ${HOME}/.vnc \ && touch ~/.vnc/config \ && tee -a ~/.vnc/config <<< 'geometry=1920x1080' \ && tee -a ~/.vnc/config <<< 'localhost' \ && tee -a ~/.vnc/config <<< 'alwaysshared' # ... the rest </pre>
Author
Owner

@sickcodes commented on GitHub (May 14, 2022):

You can also pull latest arch image to get past any lingering "replace x with y?"

@sickcodes commented on GitHub (May 14, 2022): You can also pull latest arch image to get past any lingering "replace x with y?"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#352