Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • apk-tools apk-tools
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 93
    • Issues 93
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • apk-toolsapk-tools
  • Issues
  • #10810
Closed
Open
Issue created Feb 05, 2022 by Alexander Edland@9001

apk-fetch fails when cdrom repo is present

ran into some funky behavior when downloading packages while running from alpine-virt-3.15.0-x86_64.iso:

sed -ri 's/"1fhr"/"c1fhr"/' /sbin/setup-apkrepos  # bugfix community-repo flag
setup-interfaces -ar
setup-apkrepos -1c
apk update
apk fetch -R eudev

this fails with the following error:

ERROR: unable to select packages:
  /bin/sh (virtual):
    provided by: busybox
    required by: eudev-3.2.11_pre1-r0[/bin/sh]
                 udev-init-scripts-35-r0[/bin/sh]

however if you remove the cdrom repo, it works:

sed -ri /cdrom/d /etc/apk/repositories
apk fetch -R eudev

# Downloading libblkid-2.37.3-r0
# Downloading eudev-libs-3.2.11_pre1-r0

I noticed that apk add works alright, just not apk fetch. Bug?

Assignee
Assign to
Time tracking