[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: 596
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: 3538
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: 596
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
Forum Moderator
Posts: 30782
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
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

tunk
Posts: 986
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: 596
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

Return to “CentOS 8 - General Support”