I added "import os" to the top of the file, and it got past the problematic point.
"dpkg --status update-manager" reports the version as 1:0.59.19.
I added "import os" to the top of the file, and it got past the problematic point.
"dpkg --status update-manager" reports the version as 1:0.59.19.