Skip to content

How to handle outdated mirrors #8

@favetelinguis

Description

@favetelinguis

Sorry in advance that this might be a very basic question, I am using your image to build a distrobox and it often works great for that. However sometimes I start to get the error below when i run the command:

podman build --no-cache -f ArchL1 -t devbox .

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
error: failed retrieving file 'llvm-libs-17.0.6-3-x86_64.pkg.tar.zst' from forksystems.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'llvm-libs-17.0.6-3-x86_64.pkg.tar.zst' from coresite.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'llvm-libs-17.0.6-3-x86_64.pkg.tar.zst' from iad.mirrors.misaka.one : The requested URL returned error: 404
error: failed retrieving file 'llvm-libs-17.0.6-3-x86_64.pkg.tar.zst' from mirror.pilotfiber.com : The requested URL returned error: 404
error: failed retrieving file 'llvm-libs-17.0.6-3-x86_64.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404
error: failed retrieving file 'llvm-libs-17.0.6-3-x86_64.pkg.tar.zst' from mirror.ette.biz : The requested URL returned error: 404
error: failed retrieving file 'llvm-libs-17.0.6-3-x86_64.pkg.tar.zst' from mirror.wdc1.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'llvm-libs-17.0.6-3-x86_64.pkg.tar.zst' from uvermont.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'mesa-1:24.0.5-1-x86_64.pkg.tar.zst' from forksystems.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'mesa-1:24.0.5-1-x86_64.pkg.tar.zst' from coresite.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'mesa-1:24.0.5-1-x86_64.pkg.tar.zst' from iad.mirrors.misaka.one : The requested URL returned error: 404
error: failed retrieving file 'mesa-1:24.0.5-1-x86_64.pkg.tar.zst' from mirror.pilotfiber.com : The requested URL returned error: 404
error: failed retrieving file 'mesa-1:24.0.5-1-x86_64.pkg.tar.zst' from arch.mirror.constant.com : The requested URL returned error: 404
error: failed retrieving file 'mesa-1:24.0.5-1-x86_64.pkg.tar.zst' from mirror.ette.biz : The requested URL returned error: 404
error: failed retrieving file 'mesa-1:24.0.5-1-x86_64.pkg.tar.zst' from mirror.wdc1.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.29.2-1-x86_64.pkg.tar.zst' from forksystems.mm.fcix.net : The requested URL returned error: 404
warning: too many errors from forksystems.mm.fcix.net, skipping for the remainder of this transaction
error: failed retrieving file 'cmake-3.29.2-1-x86_64.pkg.tar.zst' from coresite.mm.fcix.net : The requested URL returned error: 404
warning: too many errors from coresite.mm.fcix.net, skipping for the remainder of this transaction
error: failed retrieving file 'mesa-1:24.0.5-1-x86_64.pkg.tar.zst' from uvermont.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'cmake-3.29.2-1-x86_64.pkg.tar.zst' from iad.mirrors.misaka.one : The requested URL returned error: 404
warning: too many errors from iad.mirrors.misaka.one, skipping for the remainder of this transaction
error: failed retrieving file 'mesa-1:24.0.5-1-x86_64.pkg.tar.zst' from mirror.osbeck.com : The requested URL returned error: 404
error: failed retrieving file 'mesa-1:24.0.5-1-x86_64.pkg.tar.zst' from mirror.pit.teraswitch.com : The requested URL returned error: 404
error: failed retrieving file 'mesa-1:24.0.5-1-x86_64.pkg.tar.zst' from mirror.rackspace.com : The requested URL returned error: 404
warning: failed to retrieve some files
 jdk-openjdk-22.0.1.u0-1-x86_64 downloading...
 emacs-nativecomp-29.3-3-x86_64 downloading...
 gcc-13.2.1-6-x86_64 downloading...
 gcc-libs-13.2.1-6-x86_64 downloading...
 llvm-libs-17.0.6-3-x86_64 downloading...
 ghostscript-10.03.0-2-x86_64 downloading...
 mesa-1:24.0.5-1-x86_64 downloading...
 python-3.12.3-1-x86_64 downloading...
 cmake-3.29.2-1-x86_64 downloading...
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

This is how my image looks.

# https://github.com/greyltc-org/docker-archlinux-aur
FROM ghcr.io/greyltc-org/archlinux-aur:paru

# git is installed from base
RUN aur-install \
    emacs-nativecomp \
    jetbrains-toolbox \
    mise-bin \
    chezmoi \
    github-cli \
    babashka-bin \
    # For clojure-mode emacs
    cljfmt-bin \
    # For clojure-mode emacs
    clj-kondo-bin \
    # For clojure-mode emacs
    clojure-lsp-bin \
    # For Emacs vterm
    cmake \
    # For Doom emacs
    ripgrep \
    # For Doom emacs
    fd \
    # For clj command
    rlwrap \
    # For Emacs org mode to show graphs
    graphviz \
    # For Emacs to render plantuml in org files
    plantuml

# Setup Doom Emacs commands
ENV PATH="~/.config/emacs/bin:$PATH"
# Setup Mise shims
ENV PATH="~/.local/share/mise/shims:$PATH"

# Share some commands with host
RUN ln -fs /usr/bin/distrobox-host-exec /usr/bin/podman
RUN ln -fs /usr/bin/distrobox-host-exec /usr/bin/distrobox
RUN ln -fs /usr/bin/distrobox-host-exec /usr/bin/flatpak

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