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

Aura's behavior differs from pacman: -Qil options #642

Closed
ratijas opened this issue Oct 4, 2020 · 1 comment · Fixed by #649
Closed

Aura's behavior differs from pacman: -Qil options #642

ratijas opened this issue Oct 4, 2020 · 1 comment · Fixed by #649

Comments

@ratijas
Copy link
Contributor

ratijas commented Oct 4, 2020

Summary

Another case where aura's behavior differs from pacman is when option -Qil are combined together.

Steps to reproduce

  1. $ aura -Qil linux

Expected output

Expected to be same as pacman. After all, aura claims it "can be used in place of pacman in all situations".

$ pacman -Qil linux
Name            : linux
Version         : 5.8.10.arch1-1
Description     : The Linux kernel and modules
Architecture    : x86_64
URL             : https://git.archlinux.org/linux.git/log/?h=v5.8.10-arch1
Licenses        : GPL2
Groups          : None
Provides        : VIRTUALBOX-GUEST-MODULES  WIREGUARD-MODULE
Depends On      : coreutils  kmod  initramfs
Optional Deps   : crda: to set the correct wireless channels of your country
                  linux-firmware: firmware images needed for some devices [installed]
Required By     : virtualbox-host-modules-arch
Optional For    : None
Conflicts With  : None
Replaces        : virtualbox-guest-modules-arch  wireguard-arch
Installed Size  : 77.19 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Thu Sep 17 21:01:06 2020
Install Date    : Sat Sep 26 13:12:58 2020
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

linux /usr/
linux /usr/lib/
linux /usr/lib/modules/
linux /usr/lib/modules/5.8.10-arch1-1/
linux /usr/lib/modules/5.8.10-arch1-1/kernel/
linux /usr/lib/modules/5.8.10-arch1-1/kernel/arch/
linux /usr/lib/modules/5.8.10-arch1-1/kernel/arch/x86/
linux /usr/lib/modules/5.8.10-arch1-1/kernel/arch/x86/crypto/
linux /usr/lib/modules/5.8.10-arch1-1/kernel/arch/x86/crypto/aegis128-aesni.ko.xz
linux /usr/lib/modules/5.8.10-arch1-1/kernel/arch/x86/crypto/aesni-intel.ko.xz
...

Actual output

$ aura -Qil linux
Invalid option `-l'

Did you mean one of these?
    -b
    -r
    -v
    -d
    -p
    -q
    -a
    -x
    -k
    -c
    -h

Usage: aura ((-A|--aursync) PACKAGES | (-B|--save) | (-C|--downgrade) 
              ([-u|--uninstalled] | PACKAGES) |
              (-L|--viewlog) | (-O|--orphans) | (-P|--analysis) | 
              (-V|--version) | --languages | --viewconf | 
              ((-D|--database) PACKAGES | (-F|--files) | (-Q|--query) 
                [[PACKAGES]] |
                (-R|--remove) PACKAGES | (-S|--sync) [PACKAGES] | (-T|--deptest)
                PACKAGES |
                (-U|--upgrade) PACKAGES)) [--log-level debug|info|warn|error]

Alternatives

Pacaur, for instance, handles this just like pacman.

$ pacaur -Qil linux
Name            : linux
Version         : 5.8.10.arch1-1
Description     : The Linux kernel and modules
Architecture    : x86_64
URL             : https://git.archlinux.org/linux.git/log/?h=v5.8.10-arch1
Licenses        : GPL2
Groups          : None
Provides        : VIRTUALBOX-GUEST-MODULES  WIREGUARD-MODULE
Depends On      : coreutils  kmod  initramfs
Optional Deps   : crda: to set the correct wireless channels of your country
                  linux-firmware: firmware images needed for some devices [installed]
Required By     : virtualbox-host-modules-arch
Optional For    : None
Conflicts With  : None
Replaces        : virtualbox-guest-modules-arch  wireguard-arch
Installed Size  : 77.19 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Thu Sep 17 21:01:06 2020
Install Date    : Sat Sep 26 13:12:58 2020
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

linux /usr/
linux /usr/lib/
linux /usr/lib/modules/
linux /usr/lib/modules/5.8.10-arch1-1/
linux /usr/lib/modules/5.8.10-arch1-1/kernel/
linux /usr/lib/modules/5.8.10-arch1-1/kernel/arch/
linux /usr/lib/modules/5.8.10-arch1-1/kernel/arch/x86/
linux /usr/lib/modules/5.8.10-arch1-1/kernel/arch/x86/crypto/
linux /usr/lib/modules/5.8.10-arch1-1/kernel/arch/x86/crypto/aegis128-aesni.ko.xz
linux /usr/lib/modules/5.8.10-arch1-1/kernel/arch/x86/crypto/aesni-intel.ko.xz
...

Version

$ aura -Qi aura
Name            : aura-bin
Version         : 3.1.9-1
Build Date      : Tue Sep 29 16:46:45 2020
@fosskers
Copy link
Owner

fosskers commented Oct 5, 2020

Thank you for reporting this, it's an easy fix. For technical reasons I need to replicate all possible pacman options, and inevitably some combinations have fallen through the cracks.

@fosskers fosskers linked a pull request Oct 7, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants