Public bug reported:

Installing:
  pypy3

Suggested packages:
  pypy3-doc  pypy3-tk

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 9
  Download size: 13.2 MB
  Space needed: 65.8 MB / 77.3 GB available

Get:1 http://archive.ubuntu.com/ubuntu resolute/universe amd64 pypy3 amd64 
7.3.20+dfsg-4 [13.2 MB]
Fetched 13.2 MB in 0s (29.7 MB/s)
Selecting previously unselected package pypy3.
(Reading database ... 200632 files and directories currently installed.)
Preparing to unpack .../pypy3_7.3.20+dfsg-4_amd64.deb ...
Unpacking pypy3 (7.3.20+dfsg-4) ...
Setting up pypy3 (7.3.20+dfsg-4) ...
running pypy3 rtupdate hooks for 7.3
missing test! please report a bug about the astcompiler init_gpu_context
RPython traceback:
  File "rpython_jit_metainterp.c", line 61324, in BlackholeInterpreter_run
  File "rpython_jit_metainterp_2.c", line 16473, in dispatch_loop
Fatal RPython error: AssertionError
Aborted
error running pypy3 rtupdate hook public_modules.rtupdate
dpkg: error processing package pypy3 (--configure):
 old pypy3 package postinst maintainer script subprocess failed with exit 
status 4
Processing triggers for man-db (2.13.1-1build1) ...
Errors were encountered while processing:
 pypy3
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)


# grep -rl 'def init_gpu_context' /usr/lib/python3/dist-packages
/usr/lib/python3/dist-packages/torch/_subclasses/fake_tensor.py

# apt list --installed |grep torch
libtorch-test/resolute,now 2.9.1+dfsg-1~exp1ubuntu2 amd64 [installed,automatic]
libtorch2.9/resolute,now 2.9.1+dfsg-1~exp1ubuntu2 amd64 [installed,automatic]
python3-torch/resolute,now 2.9.1+dfsg-1~exp1ubuntu2 amd64 [installed]

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: pypy3 7.3.20+dfsg-4
ProcVersionSignature: Ubuntu 7.0.0-28.28-generic 7.0.12
Uname: Linux 7.0.0-28-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri Nov  6 19:54:24 2026
InstallationDate: Installed on 2026-06-25 (134 days ago)
InstallationMedia: Ubuntu-Server 26.04 "Resolute Raccoon" - Release amd64 
(20260420.1)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: pypy3
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: pypy3 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173570

Title:
  pypy3 install fails because of python3-torch package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pypy3/+bug/2173570/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to