zhizhu
Home / office-tools / Fix PowerShell Execution Policy Restricted via Registry - NVM for Windows Troubleshooting Guide-Fix 'Could not get lock /var/lib/dpkg/lock' Error on Ubuntu/Debian

Fix PowerShell Execution Policy Restricted via Registry - NVM for Windows Troubleshooting Guide-Fix 'Could not get lock /var/lib/dpkg/lock' Error on Ubuntu/Debian

2026-06-13 15:32:35office-tools
Fix PowerShell Execution Policy Restricted via Registry - NVM for Windows Troubleshooting Guide-Fix 'Could not get lock /var/lib/dpkg/lock' Error on Ubuntu/Debian

Final checklist

  • Confirm that the same symptom is gone after a restart or refresh.
  • Keep the smallest working change and undo temporary diagnostic settings.