luet search --revdeps --installed returns incorrect results
joostruis opened this issue · 1 comments
Luet version:
luet version 0.32.5-gd5d21653d7313ff396c0511af402834c89974ee3 2022-06-07
CPU architecture, OS, and Version:
Linux xbox-360 6.4.12-mocaccino #6.4.12-Mocaccino SMP PREEMPT_DYNAMIC Sun Aug 27 10:30:54 UTC 20 x86_64 AMD Ryzen 5 5600 6-Core Processor AuthenticAMD GNU/Linux
Describe the bug
When passing --revdeps --installed it lists n times the initial search string instead of the actual revdeps.
To Reproduce
xbox-360 /home/joost # luet search gnome-common --revdeps --installed
layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
xbox-360 /home/joost # luet uninstall layers/gnome-common
INFO Luet 0.32.5-gd5d21653d7313ff396c0511af402834c89974ee3 2022-06-07
INFO Copyright (C) 2019-2022 Ettore Di Giacinto
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
For documentation, visit https://luet.io.
INFO :::> Uninstall
ERROR Error: while computing uninstall: while computing uninstall: Could not solve the uninstall constraints. Tip: try with --solver-type qlearning or with --force, or by removing packages excluding their dependencies with --nodeps: while searching for layers/gnome-common-1.2+2 conflicts:
apps/gparted-1.5.0-r1+31
apps/virt-manager-4.1.0+35
apps/vscodium-1.80.2.23209
themes/arc-theme-20221218+13
Expected behavior
luet search gnome-common --revdeps --installed should return these packages :
apps/gparted-1.5.0-r1+31
apps/virt-manager-4.1.0+35
apps/vscodium-1.80.2.23209
themes/arc-theme-20221218+13
Logs
Additional context
I get this:
luet search gnome-common --revdeps --installed
^[^[> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true
> layers/gnome-common-1.2+2
-> Category: layers
-> Name: gnome-common
-> Version: 1.2+2
-> Description:
-> Repository: system
-> Uri:
-> Installed: true