[Bug 2149854] Re: Crash on /proc/%s/stat not found
Daniel Tang
2149854 at bugs.launchpad.net
Sun Apr 26 00:40:41 UTC 2026
*** This bug is a duplicate of bug 2149759 ***
https://bugs.launchpad.net/bugs/2149759
** This bug has been marked a duplicate of bug 2149759
Crash on termux proot distro /proc/727/stat
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2149854
Title:
Crash on /proc/%s/stat not found
Status in update-manager package in Ubuntu:
New
Bug description:
Trying to upgrade from Noble to Resolute on proot-distro inside Termux
inside Android 14 OS with 4.19 Linux kernel and got this crash. It
assumes that /proc/%s/stat is always present, but perhaps Android
withholds it thus the crash. Fix, I think, should put an try ...
except: continue in it.
Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-ipjerrcr/resolute", line 8, in <module> sys.exit(main()) ^^^^^^ File "/tmp/ubuntu-release-upgrader-ipjerrcr/DistUpgrade/DistUpgradeMain.py", line 235, in main if app.run():
^^^^^^^^^ File "/tmp/ubuntu-release-upgrader-ipjerrcr/DistUpgrade/DistUpgradeController.py", line 1985, in run
return self.fullUpgrade()
^^^^^^^^^^^^^^^^^^
File "/tmp/ubuntu-release-upgrader-ipjerrcr/DistUpgrade/DistUpgradeController.py", line 1799, in fullUpgrade if not self.prepare(): ^^^^^^^^^^^^^^
File "/tmp/ubuntu-release-upgrader-ipjerrcr/DistUpgrade/DistUpgradeController.py", line 449, in prepare self._sshMagic() File "/tmp/ubuntu-release-upgrader-ipjerrcr/DistUpgrade/DistUpgradeController.py", line 351, in _sshMagic is_child_of_process_name("sshd")): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/ubuntu-release-upgrader-ipjerrcr/DistUpgrade/utils.py", line 108, in is_child_of_process_name with open(stat_file) as stat_f: ^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/proc/727/stat'
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: update-manager (not installed)
Uname: Linux 6.17.0-PRoot-Distro aarch64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: arm64
CasperMD5CheckResult: unknown
Date: Wed Apr 22 09:51:13 2026
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
TERM=xterm-256color
SourcePackage: update-manager
UpgradeStatus: Upgraded to noble on 2026-04-20 (2 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2149854/+subscriptions
More information about the foundations-bugs
mailing list