On 10/22/24 3:00 PM, Samuel Sieb wrote:
On 10/22/24 1:56 PM, home user via users wrote:
On 10/22/24 2:51 PM, Samuel Sieb wrote:
On 10/22/24 1:47 PM, home user via users wrote:
On 10/22/24 12:06 AM, Samuel Sieb wrote:
On 10/21/24 7:25 PM, home user via users wrote:
(f-40; gnome; stand-alone workstation)

During this past Saturday's "dnf upgrade", I saw a lot of problem messages 
during the clean-up phase.  I was distracted and therefore forgot to copy the relevant 
messages into a text file. Now I can't find them.  I've looked in dnf.librepo.log*, 
dnf.rpm.log*, and dnf.log*, all in /var/log/.  I found nothing of what I'm looking for.  
Where are those clean-up phase problem messages (fatal, error, warning, and so on), and 
how do I view them?

"dnf history list"
Find the entry for that dnf run, then do "dnf history info <number>".

I had tried that before launching this thread.  I just now tried it again to be 
sure.  Here is all that comes up regarding actions after the upgrade phase:
- - - - - -
Scriptlet output:
    1 depmod: ERROR: could not open directory /lib/ 
modules/6.8.7-200.fc39.x86_64: No such file or directory
    2 depmod: FATAL: could not search modules: No such file or directory
    3 warning: %postun(kernel-modules-6.8.7-200.fc39.x86_64) scriptlet failed, 
exit status 1
    4 warning: file /usr/share/doc/kernel-keys/6.8.7-200.fc39.x86_64: remove 
failed: No such file or directory
    5 warning: file /usr/share/licenses/kernel-core/ COPYING-6.8.7-200.fc39: 
remove failed: No such file or directory
    6 warning: file /lib/modules/6.8.7-200.fc39.x86_64: remove failed: No such 
file or directory
- - - - - -
That's the final 7 lines of the dnf history info output.

I know there were a lot more clean-up phase output lines to the terminal than 
the above, and that they were fatal/failure/error/ warning messages.  Am I 
correct in assuming that dnf does not log such messages other than to the 
screen?

It's not dnf that's producing the messages, so it might not be able to capture 
them.

Side note: The above messages are referencing 6.8 in f39; I'm at 6.11 and was 
at 6.10 (f39 and f40) for months.

Note that it's an uninstall procedure for that one.


Does whatever does the clean-up during "dnf upgrade" save its message in a way 
that I can later view them, or are they gone?

It depends on what you mean by cleanup.  dnf/rpm cleans up old packaged files 
that are gone now, but there are also scriptlets in the rpm package that will 
run during the cleanup phase and do whatever they want.  The output from those 
might get captured somewhere, but I wouldn't count on it.


ok.  I'll assume the messages are gone and move on to the next problem.

--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to