Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 679
    • Issues 679
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 213
    • Merge Requests 213
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #9969

Closed
Open
Opened Feb 08, 2019 by Chingis S@csandanov

APK does not report errors when adding a package to existing virtual package

In the example below I install imagemagick package with the unsatisfiable constraint (non-existing version), I don’t get any error when I specify an existing virtual package.

$ docker run --rm -ti alpine:3.9 sh                                                                                                      
/ # apk add --update -t .virtual findutils
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz
(1/2) Installing findutils (4.6.0-r1)
(2/2) Installing .virtual (0)
Executing busybox-1.29.3-r10.trigger
OK: 6 MiB in 16 packages
/ # apk add --update imagemagick=7.0.7.39-r0
ERROR: unsatisfiable constraints:
  imagemagick-7.0.8.23-r0:
    breaks: world[imagemagick=7.0.7.39-r0]
/ # apk add --update -t .virtual imagemagick=7.0.7.39-r0
OK: 6 MiB in 16 packages

(from redmine: issue id 9969, created on 2019-02-08)

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#9969