Skip to content

Dependency resolution doesn't take into account the 'Provides' #66

Description

@inglor

Some packages provide "virtual" packages which repoctl doesn't take into account when resolving dependencies:

$ repoctl down -r linux-ck
Warning: unknown package initramfs
         Required by: linux-ck
Downloading: linux-ck
$ pacman -Qi mkinitcpio
Name            : mkinitcpio
Version         : 30-1
Description     : Modular initramfs image creation utility
Architecture    : any
URL             : https://projects.archlinux.org/mkinitcpio.git/
Licenses        : GPL
Groups          : None
Provides        : initramfs
Depends On      : awk  mkinitcpio-busybox>=1.19.4-2  kmod  util-linux>=2.23  libarchive
                  coreutils  bash  diffutils  findutils  grep  filesystem>=2011.10-1
                  zstd  systemd
Optional Deps   : gzip: Use gzip compression for the initramfs image [installed]
                  xz: Use lzma or xz compression for the initramfs image [installed]
                  bzip2: Use bzip2 compression for the initramfs image [installed]
                  lzop: Use lzo compression for the initramfs image [installed]
                  lz4: Use lz4 compression for the initramfs image [installed]
                  mkinitcpio-nfs-utils: Support for root filesystem on NFS
Required By     : linux  linux-ck  linux-gc  linux-zen
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 102.77 KiB
Packager        : Giancarlo Razzolini <grazzolini@archlinux.org>
Build Date      : Wed 17 Feb 2021 02:49:42 GMT
Install Date    : Sun 07 Mar 2021 12:39:00 GMT
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

Metadata

Metadata

Assignees

Labels

enhancementthis could improve the capabilities/design of the program

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions