Checking for pitfalls before updating ports

I understand it is adviced to check /usr/ports/UPDATING to see if any package needs special attention when updating it. The thing is, /usr/ports/UPDATING is basicly a huge textfile, with a lot of information. And humans (myself in particular ;)) are not your best choice to process huge piles of information. It's easy to miss something important.

I was wondering if there is an easier way to check this information. Maybe some tool that crawls through this file, compares it to the ports that need updating and only shows the relevant information?
 
Ah, thanks!

Is there any way to determine when the last updates were installed?

Does this command also show information about packages that are not installed? And thus is irrelevant information? :\. Or can I filter this somehow?
 
mariourk said:
Is there any way to determine when the last updates were installed?
Not that I know.

Does this command also show information about packages that are not installed? And thus is irrelevant information? :\. Or can I filter this somehow?
The pkg_updating command scans the installed ports and show all UPDATING entries that affect one of the installed ports. Alternative a list of pkg-names could be passed.
 
Oops, I missed that description. See why I wanted the least possible amount of information from pkg_updating? :r

This seems straightforward enough though. Thanks for your feedback! :beer
 
% ls -ltr /var/db/pkg | tail -n1
shows the latest changed package. It's not foolproof, but gives an idea.
 
Back
Top