hardcore-sushi / TorVirt

Whonix-like setup with a libvirt workstation and a podman container as the Tor gateway.
GNU Affero General Public License v3.0
29 stars 4 forks source link

setup fails: tor (no such package) #1

Open secretmango opened 11 months ago

secretmango commented 11 months ago
STEP 1/7: FROM alpine:latest
STEP 2/7: RUN apk add tor
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.17/main: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/main: No such file or directory
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.17/community: temporary error (try again later)
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: No such file or directory
ERROR: unable to select packages:
  tor (no such package):
    required by: world[tor]
Error: building at STEP "RUN apk add tor": while running runtime: exit status 1

I am using Fedora Kinoite, Distrobox and virt-manager are already installed and used. Your solution sounds great, but the container creation process fails for some reason.

hardcore-sushi commented 11 months ago

It looks like your alpine image outdated. The latest version is 3.18 but you are using 3.17. Try to update with:

podman pull alpine