Artix Linux Forum

Artix Linux => Package management => Topic started by: crinklywrappr on 07 July 2020, 07:45:16

Title: [SOLVED] pacman -Qm produces an error code
Post by: crinklywrappr on 07 July 2020, 07:45:16
I was attempting to run decpac generate (https://github.com/rendaw/decpac) as root when I discovered this.

Code: [Select]
$ pacman -Qm
$ echo $? # grab the exit status
1
Title: Re: pacman -Qm produces an error code
Post by: crinklywrappr on 07 July 2020, 20:07:14
I tried this on a new install and saw the same issue.
Title: Re: pacman -Qm produces an error code
Post by: nous on 07 July 2020, 22:42:23
Pacman -Q and -S operations return 1 when no results are found.
Title: Re: pacman -Qm produces an error code
Post by: crinklywrappr on 08 July 2020, 00:53:42
Thanks nous!  I submitted an issue for the decpac maintainer here (https://github.com/rendaw/decpac/issues/7).