https://bugs.kde.org/show_bug.cgi?id=398381

            Bug ID: 398381
           Summary: installation of python3-distupgrade
                    (1:18.04.25+p16.04+git20180906.1227) is broken
           Product: neon
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: Packages Dev Edition [stable]
          Assignee: neon-b...@kde.org
          Reporter: thierrybl...@msn.com
                CC: j...@jriddell.org, neon-b...@kde.org, sit...@kde.org
  Target Milestone: ---

Hi,
while installing python3-distupgrade (1:18.04.25+p16.04+git20180906.1227), I
got following error (that broke packages installation and configuration) :
E: Sub-process /usr/bin/dpkg returned an error code (1)
Impossible d'effectuer l'opération demandée sur le paquet. Essai de
récupération :
Paramétrage de python3-distupgrade (1:18.04.25+p16.04+git20180906.1227) ...
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewKDE.py", line
744
    if not run_apport() || not apport_ran:
                         ^
SyntaxError: invalid syntax



To fix this bug, I edited the file
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewKDE.py and replaced
at line 744

    if not run_apport() || not apport_ran:
by 
    if not run_apport() or not apport_ran:

and had to run afterwards:
sudo dpkg-reconfigure --force python3-distupgrade ubuntu-release-upgrader-core
ubuntu-release-upgrader-qt distro-release-notifier


Hope it helps to fix this bug ;)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to