Solved Find package version hold in snapshot

Hi,

I have a webjail that stopped working correctly but we haven't noticed it straight away..
We would like to compare the version of php and the php extension between the snapshop and the live system to see if we broke the page sue to an upgrade.

On the live system, I can easily do php --version or pkg info but how about the snapshot?

Thank you all in advance
 
Do you also have a snapshot of /var/db/pkg/? This is where the package registrations are saved. You could use the PKG_DBDIR variable to point to the snapshot, this will cause pkg(8) to look in there for the registration information.
 
Back
Top