Rebuild lock file.
Remove ~ deps.