Skip to content

Pacman - List Latest Package Changes?

My PC froze during an update via pacman. The system boots; there were no essential packages being upgraded and I've removed db.lck to allow pacman to install updates. However, I worry that the packages it was downloading did not get installed correctly. Is there any way to check what the latest pacman operations were? I'd like to ask pacman to reinstall them just to be sure.

Perhaps I'm blind, but I couldn't find an entry for this on the wiki.

3 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 100% up
Kind
Text
ID
xfphoz

Author

3
posts
122
comments
0
media
View profile

11 comments

You can check the end of /var/log/pacman.log for that.

7 points

Thanks. I think I must be blind. :-)

2 points

To be fair I wouldn't know where that would be in the wiki either, certainly doesn't seem to be in the page for pacman (it only mentions the log file as an aside once).

I did come across the Pacman Rosetta page though, looks like it lists just about everything you might want to do with it plus the equivalent commands in other package managers.

1 points
1 points

I use an alias with paclog to see just the latest transaction:

alias paclast="tac $(pacman-conf logfile) | sed -n '1!G;/transaction started/{p;q};h' | paclog --caller ALPM --logfile=-"

Pretty useful.

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.