I've copied a dpkg-status file backup from /var/backups to /var/lib/dpkg/status, but I would like to restore the status file to what it was before the copy. Will status-old in /var/lib/dpkg/status contain a copy of the status file before it was overwritten?
Compare the date when you modified
/var/lib/dpkg/status, to the modification date of
/var/lib/dpkg/status-old, by running the command
ls -lt /var/lib/dpkg/ | grep status-old this will show you when
/var/lib/dpkg/status-old was modified last.
Just wanted to add this really nice answer in context to this question:Why you should not mess with /var/lib/ files.