You are not logged in.

#1 2022-12-09 17:11:21

nonZero
Member
Registered: 2015-05-17
Posts: 57

[SOLVED] Does yay and paru keep a log?

pacman saves installation logs to `/var/log/pacman'.
Does yay and paru store logs as well?
If not, can this be enabled?

I want to know when I have upgraded package x and which versions.

Thanks!

Last edited by nonZero (2022-12-11 04:14:42)

Offline

#2 2022-12-09 17:34:47

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,425
Website

Re: [SOLVED] Does yay and paru keep a log?

Pacman is your package manager. That information is all recorded in its log.
e.g.

$ paclog --package=qutebrowser-git | paclog --action=upgrade
[...]
[2022-11-01T18:37:25+0000] [ALPM] upgraded qutebrowser-git (2.5.2.r472.gf6d5f7919-1 -> 2.5.2.r482.gdbcc0e251-1)
[2022-11-13T14:11:14+0000] [ALPM] upgraded qutebrowser-git (2.5.2.r482.gdbcc0e251-1 -> 2.5.2.r500.g4e39f9a8c-1)
[2022-11-28T18:13:21+0000] [ALPM] upgraded qutebrowser-git (2.5.2.r500.g4e39f9a8c-1 -> 2.5.2.r519.g8ac1cb686-1)

Last edited by WorMzy (2022-12-09 18:24:31)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2022-12-09 22:28:19

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 640

Re: [SOLVED] Does yay and paru keep a log?

You may be interested in using pkglog.

Offline

#4 2022-12-10 13:20:46

nonZero
Member
Registered: 2015-05-17
Posts: 57

Re: [SOLVED] Does yay and paru keep a log?

Thank you, but pkglog and paclog read from `/var/log/pacman.log`.
I don't see output from AUR packages installations from yay or paru in this log file.

Offline

#5 2022-12-10 13:31:47

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,590

Re: [SOLVED] Does yay and paru keep a log?

I don't see output from AUR packages installations from yay or paru in this log file.

yay and paru are both pacman wrappers that use pacman to do the actual installing / removing / updating .
Check the log for any package you know you installed with either of those helpers and you'll find it's listed as installed with a a pacman command .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2022-12-10 19:57:59

nonZero
Member
Registered: 2015-05-17
Posts: 57

Re: [SOLVED] Does yay and paru keep a log?

Thank you! My log file had non-text characters, which caused grep to fail!

See: https://unix.stackexchange.com/question … d-a-string

Offline

#7 2022-12-10 21:29:17

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,425
Website

Re: [SOLVED] Does yay and paru keep a log?

Please remember to mark your thread as solved.
https://wiki.archlinux.org/title/Genera … ow_to_post


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB