The file "/usr/share/python3/runtime.d/ubuntu-drivers-common.rtupdate" calls py3clean with a '-p' package argument, and a directory argument. This breaks py3clean, which expects one or the other, as seen above.
Removing either of those arguments fixes the problem; "-p ubuntu-drivers-common", or "/usr/share/ubuntu-drivers-common". I don't know which might be more proper to use. Both ways worked on my system. So we want either:
py3clean /usr/share/ubuntu-drivers-common
Or
py3clean -p ubuntu-drivers-common
(The other command, the 'py3compile' line, does not seem to have a problem with multiple arguments.)
The file "/usr/share/ python3/ runtime. d/ubuntu- drivers- common. rtupdate" calls py3clean with a '-p' package argument, and a directory argument. This breaks py3clean, which expects one or the other, as seen above.
Line 4 of this short file is:
py3clean -p ubuntu- drivers- common /usr/share/ ubuntu- drivers- common
Removing either of those arguments fixes the problem; "-p ubuntu- drivers- common" , or "/usr/share/ ubuntu- drivers- common" . I don't know which might be more proper to use. Both ways worked on my system. So we want either:
py3clean /usr/share/ ubuntu- drivers- common
Or
py3clean -p ubuntu- drivers- common
(The other command, the 'py3compile' line, does not seem to have a problem with multiple arguments.)
Thanks.