apk issue
Yesterday during upgrade, apk-tools were upgraded first and after that error was printed,
ERROR: unable to select packages:
Huh? Error reporter did not find the broken constraints.
I am getting same error with apk add
I am not sure if this is relevant, but here is the output of apk dot --installed --errors
digraph "apkindex" {
rankdir=LR;
node [shape=box];
"gnupg1" [style=dashed, color=red, fontcolor=red, shape=octagon];
"gpg-2.2.35-r0" -> "gnupg1" [color=red];
"alpine-baselayout-data-3.2.0-r20" -> "alpine-baselayout-data-3.2.0-r20"[color=red,];
"mdev-conf-4.1-r0" -> "mdev-conf-4.1-r0"[color=red,];
"dotnet6-hostfxr-6.0.5-r0" -> "dotnet-host-6.0.5-r0"[color=red,];
"dotnet-host-6.0.5-r0" -> "dotnet6-hostfxr-6.0.5-r0"[color=red,];
"libmm-glib-1.18.8-r0" -> "libmm-glib-1.18.8-r0"[color=red,];
}
I am using alpine edge.
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Docbroke changed the description
changed the description
- Contributor
gnupg1
this doesn't exist anymore; you should remove it
Collapse replies - Contributor
ah, my mistake, i misread, this is just the thing i fixed today in the !depends on it
- Contributor
everything in this list was actually cleaned up today, but they were not actually invalid regardless (#13910 (closed)). seems to be related to apk-tools#10847 (closed)
- Contributor
could you post a
apk version -l '?'
?
I get same error while running
apk del
with any package I tried, e.g.,▶ doas apk del gnupg1 ERROR: unable to select packages: Huh? Error reporter did not find the broken constraints.
here is
▶ apk version -l '?' Installed: Available: cutechess-cli-1.2.0-r0 ? chessx-1.5_git20220527-r0 ? stockfish-15-r0 ? cutechess-1.2.0-r0 ? cutechess-cli-doc-1.2.0-r0 ? weaver-doc-202201060332-r0 ? diffuse-doc-0.6.0-r1 ? pipewire-spa-ffmpeg-0.3.38-r0 ? cutechess-doc-1.2.0-r0 ? unrar-6.0.7-r0 ?
Edited by DocbrokeCollapse replies - Contributor
mm, i don't think any of those would cause it, probably just a stray unversioned provides= like in the linked issue from somewhere that is not in any of these outputs..
(though pipewire-spa-ffmpeg should probably be removed anyway, as it doesn't exist)
- Natanael Copa mentioned in issue apk-tools#10847 (closed)
mentioned in issue apk-tools#10847 (closed)
- Natanael Copa mentioned in commit 51e02766
mentioned in commit 51e02766
- Owner
I am no longer able to reproduce this issue. Can you please share the contents of your
/etc/apk/world
?We need to reproduce it so we can fix the error reporter.
here
R acct acl acl-dev adwaita-icon-theme alpine-base alpine-sdk alsa-utils android-tools android-udev-rules antiword arandr arc archivemount aria2 aspell aspell-en atool bash bash-completion bash-doc binutils blkid bzip2 cagebreak catdoc catimg ccache chessx><Q1XCTm/XhGBMT36ObFaPegaZxS/zQ= clifm clifm-bash-completion clifm-doc clifm-zsh-completion clipit cmake colordiff compton conky conky-doc corepaint coreutils cpio cuetools cups cups-client cups-doc cups-filters cups-libs curl curlftpfs cutechess cutechess-cli cutechess-cli-doc cutechess-doc cwm dbus-libs dbus-x11 diffuse-doc dmenu doas doas-sudo-shim docs dosfstools dunst e2fsprogs eudev exa fbida fbida-fbgs fbida-fbi fbida-ida featherpad feh ffmpeg ffmpegthumbnailer file-dev findutils firefox foliate fontforge fossil fuse fzf g++ gawk gnome-font-viewer gnome-keyring gnuchess gparted grep groff grub-doc grub-efi grub-mount gst-plugins-bad gst-plugins-good gst-plugins-ugly gtkmm3 gutenprint gutenprint-cups gvncviewer hplip hplip-sane htop hunspell hunspell-en icu-libs imagemagick ipython iwd jq jshon kakoune lang ledger less libappindicator libarchive-tools libcap-dev libelogind libgcrypt libjpeg libjpeg-turbo libreoffice-calc libreoffice-gnome libreoffice-impress libreoffice-writer libretro-desmume libretro-mgba libretro-mupen64plus libretro-nestopia libretro-snes9x libstdc++ libtool libusb libvdpau-va-gl libxft libxrandr linux-firmware-i915 linux-firmware-intel linux-firmware-other linux-firmware-rtl_bt linux-lts linux-pam lsblk lshw lxterminal lz4 lzip lzop make makeself man-pages mandoc mandoc-apropos mdcat mediainfo mesa mesa-dri-classic mesa-dri-intel mesa-egl mesa-gl mesa-gles mp3splt mpc mpg123 mpv mtools mupdf-gl mupdf-tools musl-locales nano ncdu ncmpc ncurses neofetch network-manager-applet networkmanager networkmanager-bash-completion networkmanager-cli networkmanager-doc networkmanager-lang networkmanager-openrc networkmanager-ppp networkmanager-tui networkmanager-wifi networkmanager-wwan oath-toolkit-oathtool obs-studio odt2txt openjdk17-jre openssh openssl os-prober p7zip pamixer pass pciutils pciutils-libs perl-html-parser pinta pipewire pipewire-jack pipewire-media-session pipewire-pulse pipewire-session-manager pipewire-spa-ffmpeg pipewire-tools procps progress pulsemixer pv py3-gobject3 py3-img2pdf py3-pip py3-tg python3 python3-dev qalc qemu qemu-img qemu-system-x86_64 qemu-ui-gtk qemu-x86_64 qpdf qt5-qtmultimedia qt6-qtbase-x11 readline-dev remind retroarch ripgrep rofi rsync ruby ruby-dev sakura sane sane-airscan sane-backend-hp sane-backend-net sane-backends sane-doc sane-saned sane-udev sane-utils scrot sdcv sdl2_image seatd setxkbmap shellcheck shntool simple-mtpfs simple-scan simplescreenrecorder slock slop smenu sox sshfs stalonetray stardict-help stockfish><Q15UwBLuHGiJVOfdsgE0RAhbyDjvw= swaylock sx sxiv tabby tabby-doc taglib-dev tcl-dev telegram-desktop terminus-font texinfo tg_owt tigervnc tigervnc-client tigervnc-doc toapk tor udevil ufw unarj unrar unzip urlview usbutils vifm vimb-doc vis viu w3m weaver-doc weechat wireless-tools wireplumber wordgrinder wpa_supplicant xauth xclip xdpyinfo xev xf86-input-libinput xf86-video-modesetting xkbcli xkill xorg-server xournalpp xrandr xsel xsetroot xxhash xz youtube-viewer yt-dlp zathura zathura-pdf-mupdf zip
- Owner
removing
hplip-sane
from/etc/apk/world
seems to do the trick 1 - Owner
And i'm working on a reproducer so we can fix the error reporter in apk
- Owner
Relativeliy small reproducer
/etc/apk/world
:alpine-baselayout alpine-keys apk-tools><Q1c7wGa2HSVsYhxkithlTZBxPtZTE= busybox libc-utils hplip-sane sane-backends
- Owner
This might be related:
/ # apk info --install-if hplip-sane sane-backend-hpaio-3.20.5-r5 has auto-install rule: sane-backends
- Owner
I was able to create a testcase for this issue, thanks to your help @Docbroke apk-tools#10847 (comment 240665)
I'm gonna close this issue and follow up in the upstream issue apk-tools#10847 (closed)
Thank you!
1 - Natanael Copa closed
closed
- Clarity Shimoniak mentioned in issue #16665 (closed)
mentioned in issue #16665 (closed)