package renpy 7.3.5+dfsg-2 failed to install/upgrade: installed renpy package post-installation script subprocess returned error exit status 1

Bug #1972076 reported by Guang72
84
This bug affects 13 people
Affects Status Importance Assigned to Milestone
renpy (Debian)
Fix Released
Unknown
renpy (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

sudo apt install renpy
[sudo] password for hibikineko7:
Hit:1 https://repo.steampowered.com/steam stable InRelease
Hit:2 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://cn.archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 http://cn.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://cn.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  renpy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,650 kB of archives.
After this operation, 11.1 MB of additional disk space will be used.
Selecting previously unselected package renpy.
(Reading database ... 203523 files and directories currently installed.)
Preparing to unpack .../renpy_7.3.5+dfsg-2_all.deb ...
Unpacking renpy (7.3.5+dfsg-2) ...
Setting up renpy (7.3.5+dfsg-2) ...
  File "/usr/share/games/renpy/launcher/game/gui7/code.py", line 283
    l = re.sub(ur'_\((\".*?\")\)', replace, l)
                 ^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax
dpkg: error processing package renpy (--configure):
 installed renpy package post-installation script subprocess returned error exit
 status 1
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Errors were encountered while processing:
 renpy
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: renpy 7.3.5+dfsg-2
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sun May 8 08:15:49 2022
ErrorMessage: installed renpy package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-05-07 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
PackageArchitecture: all
Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2
 apt 2.4.5
SourcePackage: renpy
Title: package renpy 7.3.5+dfsg-2 failed to install/upgrade: installed renpy package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Guang72 (hibikineko7) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in renpy (Ubuntu):
status: New → Confirmed
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

I found a corresponding bug report in Debian (see the attached bug watch) with the same error message. It looks like it is resolved in newer version with the Python3 port, but I don't know the scope of that or if a minimal fix for the specific line in the error message would be enough.

Revision history for this message
Guang72 (hibikineko7) wrote : Re: [Bug 1972076] Re: package renpy 7.3.5+dfsg-2 failed to install/upgrade: installed renpy package post-installation script subprocess returned error exit status 1
Download full text (4.2 KiB)

Thanks for the update

On Sun, Sep 11, 2022, 6:15 PM Hans Joachim Desserud <
<email address hidden>> wrote:

> I found a corresponding bug report in Debian (see the attached bug
> watch) with the same error message. It looks like it is resolved in
> newer version with the Python3 port, but I don't know the scope of that
> or if a minimal fix for the specific line in the error message would be
> enough.
>
> ** Bug watch added: Debian Bug tracker #1006540
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006540
>
> ** Also affects: renpy (Debian) via
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006540
> Importance: Unknown
> Status: Unknown
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1972076
>
> Title:
> package renpy 7.3.5+dfsg-2 failed to install/upgrade: installed renpy
> package post-installation script subprocess returned error exit status
> 1
>
> Status in renpy package in Ubuntu:
> Confirmed
> Status in renpy package in Debian:
> Unknown
>
> Bug description:
> sudo apt install renpy
> [sudo] password for hibikineko7:
> Hit:1 https://repo.steampowered.com/steam stable InRelease
>
> Hit:2 https://brave-browser-apt-release.s3.brave.com stable InRelease
>
> Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
>
> Hit:4 http://cn.archive.ubuntu.com/ubuntu jammy InRelease
>
> Hit:5 http://cn.archive.ubuntu.com/ubuntu jammy-updates InRelease
> Hit:6 http://cn.archive.ubuntu.com/ubuntu jammy-backports InRelease
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> All packages are up to date.
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> The following NEW packages will be installed:
> renpy
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/2,650 kB of archives.
> After this operation, 11.1 MB of additional disk space will be used.
> Selecting previously unselected package renpy.
> (Reading database ... 203523 files and directories currently installed.)
> Preparing to unpack .../renpy_7.3.5+dfsg-2_all.deb ...
> Unpacking renpy (7.3.5+dfsg-2) ...
> Setting up renpy (7.3.5+dfsg-2) ...
> File "/usr/share/games/renpy/launcher/game/gui7/code.py", line 283
> l = re.sub(ur'_\((\".*?\")\)', replace, l)
> ^^^^^^^^^^^^^^^^
> SyntaxError: invalid syntax
> dpkg: error processing package renpy (--configure):
> installed renpy package post-installation script subprocess returned
> error exit
> status 1
> Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
> Processing triggers for hicolor-icon-theme (0.17-2) ...
> Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
> Processing triggers for man-db (2.10.2-1) ...
> Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
> Errors were encountered while processing:
> renpy
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> ProblemType: Package
> DistroRelease: Ubuntu 22.04
> Package: renpy 7.3.5+dfsg-2...

Read more...

Changed in renpy (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.