[Bug 1991096] Re: Upgrading Lubuntu and/or Kubuntu Jammy to Kinetic fails when using GUI
Aaron Rainbolt
1991096 at bugs.launchpad.net
Wed Sep 28 20:27:39 UTC 2022
wrt "too many open files", that seems very likely. My own testing with
the upgrade ended up with it getting stuck for an extended period of
time (30 minutes to an hour, maybe longer), and I just interrupted it
with Ctrl+C, whereupon this lovely mess was printed on my terminal:
Error in function update
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1953, in fullUpgrade
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1280, in doDistUpgradeSimulation
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1306, in doDistUpgrade
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeCache.py", line 309, in commit
File "/usr/lib/python3/dist-packages/apt/cache.py", line 664, in commit
File "/usr/lib/python3/dist-packages/apt/cache.py", line 610, in install_archives
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeView.py", line 229, in run
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeViewKDE.py", line 532, in wait_child
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeViewKDE.py", line 528, in update_interface
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeViewKDE.py", line 280, in update
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in sys.excepthook:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1953, in fullUpgrade
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1280, in doDistUpgradeSimulation
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1306, in doDistUpgrade
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeCache.py", line 309, in commit
File "/usr/lib/python3/dist-packages/apt/cache.py", line 664, in commit
File "/usr/lib/python3/dist-packages/apt/cache.py", line 610, in install_archives
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeView.py", line 229, in run
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeViewKDE.py", line 532, in wait_child
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeViewKDE.py", line 528, in update_interface
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 118, in apport_excepthook
File "/usr/lib/python3/dist-packages/apport/report.py", line 672, in add_proc_info
File "/usr/lib/python3/dist-packages/apport/report.py", line 1800, in get_logind_session
OSError: [Errno 24] Too many open files: 'cgroup'
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1953, in fullUpgrade
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1280, in doDistUpgradeSimulation
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1306, in doDistUpgrade
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeCache.py", line 309, in commit
File "/usr/lib/python3/dist-packages/apt/cache.py", line 664, in commit
File "/usr/lib/python3/dist-packages/apt/cache.py", line 610, in install_archives
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeView.py", line 229, in run
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeViewKDE.py", line 532, in wait_child
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeViewKDE.py", line 528, in update_interface
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeViewKDE.py", line 280, in update
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1953, in fullUpgrade
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1280, in doDistUpgradeSimulation
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1306, in doDistUpgrade
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeCache.py", line 309, in commit
File "/usr/lib/python3/dist-packages/apt/cache.py", line 664, in commit
File "/usr/lib/python3/dist-packages/apt/cache.py", line 610, in install_archives
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeView.py", line 229, in run
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeViewKDE.py", line 532, in wait_child
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeViewKDE.py", line 528, in update_interface
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-_7m7nofo/kinetic", line 8, in <module>
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeMain.py", line 241, in main
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 2042, in run
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1971, in fullUpgrade
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1532, in abort
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 207, in openCache
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 231, in _openCache
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeCache.py", line 140, in __init__
File "/usr/lib/python3/dist-packages/apt/cache.py", line 152, in __init__
File "/usr/lib/python3/dist-packages/apt/cache.py", line 214, in open
apt_pkg.Error: W:Can't create IPC pipe for dpkg call - dpkg (24: Too many open files), E:Unable to mkstemp /tmp/clearsigned.message.qSbmu3 - GetTempFile (24: Too many open files), E:The package lists or status file could not be parsed or opened.
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 118, in apport_excepthook
File "/usr/lib/python3/dist-packages/apport/report.py", line 618, in add_proc_info
OSError: [Errno 24] Too many open files: '/proc/1565'
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1953, in fullUpgrade
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1280, in doDistUpgradeSimulation
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1306, in doDistUpgrade
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeCache.py", line 309, in commit
File "/usr/lib/python3/dist-packages/apt/cache.py", line 664, in commit
File "/usr/lib/python3/dist-packages/apt/cache.py", line 610, in install_archives
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeView.py", line 229, in run
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeViewKDE.py", line 532, in wait_child
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeViewKDE.py", line 528, in update_interface
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-_7m7nofo/kinetic", line 8, in <module>
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeMain.py", line 241, in main
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 2042, in run
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1971, in fullUpgrade
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 1532, in abort
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 207, in openCache
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeController.py", line 231, in _openCache
File "/tmp/ubuntu-release-upgrader-_7m7nofo/DistUpgrade/DistUpgradeCache.py", line 140, in __init__
File "/usr/lib/python3/dist-packages/apt/cache.py", line 152, in __init__
File "/usr/lib/python3/dist-packages/apt/cache.py", line 214, in open
apt_pkg.Error: W:Can't create IPC pipe for dpkg call - dpkg (24: Too many open files), E:Unable to mkstemp /tmp/clearsigned.message.qSbmu3 - GetTempFile (24: Too many open files), E:The package lists or status file could not be parsed or opened.
The X11 connection broke: No error (code 0)
XIO: fatal IO error 2 (No such file or directory) on X server ":0"
after 1004 requests (1004 known processed) with 0 events remaining.
Note the "dpkg (24: Too many open files)" near the end.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1991096
Title:
Upgrading Lubuntu and/or Kubuntu Jammy to Kinetic fails when using GUI
Status in ubuntu-release-upgrader package in Ubuntu:
Triaged
Bug description:
Upgrading Lubuntu Jammy to Lubuntu Kinetic fails when using GUI
The upgrade starts normally and crashes with X11 error -
The X11 connection broke (error 7). Did the X11 server die?
After the above message the user has no option to reply.
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 859, resource id: 33554462, major code: 72 (PutImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 861, resource id: 33554462, major code: 62 (CopyArea), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 864, resource id: 33554462, major code: 72 (PutImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 866, resource id: 33554462, major code: 62 (CopyArea), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 869, resource id: 33554462, major code: 72 (PutImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 871, resource id: 33554462, major code: 62 (CopyArea), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 878, resource id: 33554462, major code: 72 (PutImage), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 880, resource id: 33554462, major code: 62 (CopyArea), minor code: 0
qt.qpa.xcb: xcb_shm_create_segment() failed for size 661808
The X11 connection broke (error 7). Did the X11 server die?
lj at lj-latitude7280:~$
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-release-upgrader-core 1:22.04.14
ProcVersionSignature: Ubuntu 5.15.0-50.56-generic 5.15.60
Uname: Linux 5.15.0-50-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CurrentDesktop: LXQt
Date: Wed Sep 28 11:06:17 2022
InstallationDate: Installed on 2022-09-28 (0 days ago)
InstallationMedia: Lubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220919)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to jammy on 2022-09-28 (0 days ago)
VarLogDistupgradeApttermlog: Log started: 2022-09-28 10:58:28
VarLogDistupgradeTermlog:
mtime.conffile..etc.update-manager.release-upgrades: 2022-09-28T10:54:33.361941
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1991096/+subscriptions
More information about the foundations-bugs
mailing list