Combine previously installed and newly installed into lockfile.