Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luet search --revdeps --installed returns incorrect results #344

Open
joostruis opened this issue Sep 6, 2023 · 1 comment
Open

luet search --revdeps --installed returns incorrect results #344

joostruis opened this issue Sep 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@joostruis
Copy link

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

@joostruis joostruis added the bug Something isn't working label Sep 6, 2023
@msdobrescu
Copy link

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 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants