You are not logged in.

#1 2011-12-25 15:00:01

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

[fixed] Non-root use of pacmatic -Ss: errors after update

When I initially installed pacmatic, running

pacmatic -Ss <keyword>

produced almost the same output as

pacman -Ss <keyword>

However, following a general system update a couple of days ago, I now get errors with the former but not the latter when run as non-root:

$ pacmatic -Ss keyword
find: `/etc/cups/ssl': Permission denied
find: `/etc/sudoers.d': Permission denied
find: `/etc/polkit-1/localauthority': Permission denied
/usr/bin/pacmatic: line 207: /var/log/pacman.log: Permission denied
find: `/etc/cups/ssl': Permission denied
find: `/etc/sudoers.d': Permission denied
find: `/etc/polkit-1/localauthority': Permission denied
No pacnew files to update.
$ \pacman -Ss keyword

Is this expected or have I messed something up somewhere? I'm still configuring my first install of Arch so the latter is definitely a probability! I searched the wiki and tried googling this but I can't find anything which looks relevant.

Last edited by cfr (2012-02-03 00:04:38)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#2 2011-12-25 15:07:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [fixed] Non-root use of pacmatic -Ss: errors after update

https://bbs.archlinux.org/viewtopic.php … 96#p943396

Not sure if this should happen for '-Ss'.

Last edited by karol (2011-12-25 15:09:17)

Offline

#3 2011-12-31 04:24:16

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [fixed] Non-root use of pacmatic -Ss: errors after update

I realise it is expected for installation etc. But is it expected for queries of this kind? What is pacmatic doing that pacman doesn't do in this case?

I see the same issue even if querying the local database with, say pacmatic -Qi <some installed package> and that seems odd...


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2012-01-21 14:38:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [fixed] Non-root use of pacmatic -Ss: errors after update

Offline

#5 2012-01-21 23:35:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [fixed] Non-root use of pacmatic -Ss: errors after update

Bug fixed:

[karol@black ~]$ pacmatic -Sqs zlib
perl
zlib
haskell-zlib
lua-zlib
No pacnew files to update.
[karol@black ~]$ pacmatic -Qqs zlib
perl
zlib
No pacnew files to update.

You can mark it as solved :-)


In case somebody wonders why perl is on the list, it's becasue pacman searches the whole 'pacman -Si / -Qi' output and perl provides perl-compress-raw-zlib=2.033 and perl-io-zlib=1.10. You can run

pacman -Si perl | grep --color zlib

to see for yourself.

Offline

#6 2012-02-04 16:45:00

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [fixed] Non-root use of pacmatic -Ss: errors after update

Gwych! (Great!)

Thanks very much.

Last edited by cfr (2012-02-04 16:45:31)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB