Public bug reported: When installing pypy3 with apt, a crash occurs:
# apt install pypy3 Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: pypy3-lib Suggested packages: pypy3-doc pypy3-tk The following NEW packages will be installed: pypy3 pypy3-lib 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 12.2 MB of archives. After this operation, 78.6 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 pypy3-lib amd64 7.3.1+dfsg-4 [2,500 kB] Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 pypy3 amd64 7.3.1+dfsg-4 [9,744 kB] Fetched 12.2 MB in 2s (6,775 kB/s) Selecting previously unselected package pypy3-lib:amd64. (Reading database ... 417862 files and directories currently installed.) Preparing to unpack .../pypy3-lib_7.3.1+dfsg-4_amd64.deb ... Unpacking pypy3-lib:amd64 (7.3.1+dfsg-4) ... Selecting previously unselected package pypy3. Preparing to unpack .../pypy3_7.3.1+dfsg-4_amd64.deb ... Unpacking pypy3 (7.3.1+dfsg-4) ... Setting up pypy3-lib:amd64 (7.3.1+dfsg-4) ... Setting up pypy3 (7.3.1+dfsg-4) ... running pypy3 rtupdate hooks for 7.3 Traceback (most recent call last): File "/usr/bin/pypy3compile", line 186, in <module> main() File "/usr/bin/pypy3compile", line 178, in main py_compile.compile(module, doraise=True) File "/usr/lib/pypy3/lib-python/3/py_compile.py", line 122, in compile source_bytes = loader.get_data(file) File "<builtin>/frozen importlib._bootstrap_external", line 845, in get_data FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-p ackages/oneconf/distributor/LinuxMint.py' error running pypy3 rtupdate hook public_modules.rtupdate dpkg: error processing package pypy3 (--configure): installed pypy3 package post-installation script subprocess returned error exit status 4 Processing triggers for man-db (2.9.1-1) ... Errors were encountered while processing: pypy3 E: Sub-process /usr/bin/dpkg returned an error code (1) This is on Linux Mint 20.1, however this is an Ubuntu package: # lsb_release -rd Description: Linux Mint 20.1 Release: 20.1 # apt policy pypy3 pypy3: Installed: 7.3.1+dfsg-4 Candidate: 7.3.1+dfsg-4 Version table: *** 7.3.1+dfsg-4 500 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages 100 /var/lib/dpkg/status ** Affects: pypy3 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912640 Title: Crash during installation from apt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pypy3/+bug/1912640/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs