[SOLVED] - yum.log analog in CentOS/rhel-8

Issues related to applications and software problems and general support
Post Reply
User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

[SOLVED] - yum.log analog in CentOS/rhel-8

Post by warron.french » 2021/05/11 19:23:56

What file list what packages were most recently update, like the /var/log/yum.log file does/did in RHEL/CentOS-7?

I am not finding the data I am looking for in /var/log/dnf.log or whatever.
Last edited by warron.french on 2021/05/12 00:13:24, edited 1 time in total.
Thanks,
War

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: yum.log analog in CentOS/rhel-8

Post by jlehtone » 2021/05/11 19:28:12

How about

Code: Select all

sudo dnf history
Then you look and transaction N with

Code: Select all

sudo dnf history info N
Or even a range summarized:

Code: Select all

sudo dnf history info N..M

User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

Re: yum.log analog in CentOS/rhel-8

Post by warron.french » 2021/05/11 19:32:40

So no log file anymore?
Thanks,
War

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum.log analog in CentOS/rhel-8

Post by TrevorH » 2021/05/11 20:58:28

/var/log/dnf.rpm.log
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

tunk
Posts: 1204
Joined: 2017/02/22 15:08:17

Re: yum.log analog in CentOS/rhel-8

Post by tunk » 2021/05/11 22:08:44

Not a log file: rpm -qa --last | more

User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

Re: yum.log analog in CentOS/rhel-8

Post by warron.french » 2021/05/12 00:13:10

Thanks tunk, there is a log file.

@TrevorH, thank you too. I had looked at that log file and apparently did not review the entire file. I was baffled by all of the lines of "Initializing logging" statements.
Thanks,
War

Post Reply