Problem is in /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py:
Possible fix is to change the runDistUpgrader function as follows:
def runDistUpgrader(self): inhibit_sleep()
args = [self.script, "--frontend=DistUpgradeViewKDE"] + self.run_options
# now run it with sudo
if os.getuid() != 0: os.execv("/usr/bin/kdesudo", ["kdesudo"] + args)
else: os.execv(self.script, args)
# we shouldn't come to this point, but if we do, undo our
# inhibit sleep allow_sleep()
Problem is in /usr/lib/ python3/ dist-packages/ DistUpgrade/ DistUpgradeFetc herKDE. py:
Possible fix is to change the runDistUpgrader function as follows: (self):
inhibit_ sleep() DistUpgradeView KDE"] + self.run_options
os. execv(" /usr/bin/ kdesudo" , ["kdesudo"] + args)
os. execv(self. script, args)
allow_ sleep()
def runDistUpgrader
args = [self.script, "--frontend=
# now run it with sudo
if os.getuid() != 0:
else:
# we shouldn't come to this point, but if we do, undo our
# inhibit sleep