|
Server : LiteSpeed System : Linux srv45672493.ultasrv.net 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64 User : dewab7604 ( 1100) PHP Version : 8.1.33 Disable Function : NONE Directory : /usr/share/apport/symptoms/ |
Upload File : |
# ubuntu-release-upgrader related problems
# Author: Brian Murray <brian.murray@canonical.com>
# (C) 2020 Canonical Ltd.
# License: GPL v3 or later.
import os
def run(report, ui):
if not os.path.exists('/var/log/installer'):
return
with os.scandir('/var/log/installer') as entries:
for entry in entries:
if entry.name.startswith('subiquity'):
return 'subiquity'
elif entry.name == 'telemetry':
return 'ubiquity'
# d-i leaves a few unique things including
# lsb-release, hardware-summary, status
elif entry.name == 'status':
return 'debian-installer'