Update error: removing lib32-expat breaks dependency

Whoever read this text and wondered: That was a stupid note, found out later that I had to change the search scope every time I start KFind from my home folder to root.
The 25 pacnew files where still there, I processed 20 of them so far. Not an easy job in some cases, it really needs digging into the purpose of some of the files, fstab and sddm being the easy ones. But Manjaro still works, and from now on I will try to scan the output of the update command to see what I need to do.

So I have one question about that, would I be able to save the output like this?

sudo pacman -Syu > SomeFile.txt  

This won’t work. In fact, this will cause you not to be able to update at all.

If you want something that scans for .pacnew files after updating, check out:

(Made by me)

It also saves clean logs of the process in /var/log/mumuh/

Thanks, will look into that.
Actually, while still searching, I found that pacman logs every line in /var/log/pacman.log already.
I can search the file for pacnew and find lines like…
warning: /etc/systemd/homed.conf installed as /etc/systemd/homed.conf.pacnew
… so I can see what happened and when.

1 Like

You can see any warnings produced by pacman or pamac, which includes the creation of .pacnew & .pacsave files, by installing the pacutils package and running the following command:

paclog --warnings

You could also run the following commands:

paclog --grep=pacnew

and

paclog --grep=pacsave
1 Like

If you truly want to record everything that was going on during the update - the messages that are printed, the questions that where asked and your responses to them - so that you can later review and even replay everything, then:
script
is the command to use - before you start the update (or whatever interactive session)
CTRL+D to end the transcript afterwards

Be careful to share these transcripts - they contain everything, your password inputs in clear text included!

see:
man script

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.