Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
DistUpgrade /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-02-08 03:05
DistUpgradeApport.py
4.94
KB
-rw-r--r--
2026-01-19 14:20
DistUpgradeCache.py
53.81
KB
-rw-r--r--
2026-01-19 14:20
DistUpgradeConfigParser.py
3.76
KB
-rw-r--r--
2024-10-10 14:56
DistUpgradeController.py
125.34
KB
-rw-r--r--
2026-01-19 14:20
DistUpgradeFetcher.py
5.87
KB
-rw-r--r--
2024-10-10 14:56
DistUpgradeFetcherCore.py
12.45
KB
-rw-r--r--
2026-01-19 14:20
DistUpgradeFetcherKDE.py
9.74
KB
-rw-r--r--
2024-10-10 14:56
DistUpgradeFetcherSelf.py
1.91
KB
-rw-r--r--
2024-10-10 14:56
DistUpgradeGettext.py
2.98
KB
-rw-r--r--
2024-10-10 14:56
DistUpgradeMain.py
9.14
KB
-rw-r--r--
2026-01-19 14:20
DistUpgradePatcher.py
3.92
KB
-rw-r--r--
2026-01-19 14:20
DistUpgradeQuirks.py
87.91
KB
-rw-r--r--
2026-01-19 14:22
DistUpgradeVersion.py
21
B
-rw-r--r--
2026-01-19 15:31
DistUpgradeView.py
16.94
KB
-rw-r--r--
2024-10-10 14:56
DistUpgradeViewGtk3.py
34.16
KB
-rw-r--r--
2024-10-10 14:56
DistUpgradeViewKDE.py
41.19
KB
-rw-r--r--
2024-10-10 14:56
DistUpgradeViewNonInteractive.py
13.54
KB
-rw-r--r--
2026-01-19 14:20
DistUpgradeViewText.py
12.53
KB
-rw-r--r--
2024-10-10 14:56
GtkProgress.py
3.93
KB
-rw-r--r--
2024-10-10 14:56
MetaRelease.py
16.99
KB
-rw-r--r--
2025-04-25 13:16
QUrlOpener.py
3.24
KB
-rw-r--r--
2024-10-10 14:56
ReleaseNotesViewer.py
7.48
KB
-rw-r--r--
2024-10-10 14:56
ReleaseNotesViewerWebkit.py
2.91
KB
-rw-r--r--
2024-10-10 14:56
SimpleGtk3builderApp.py
2.01
KB
-rw-r--r--
2024-10-10 14:56
SimpleGtkbuilderApp.py
1.99
KB
-rw-r--r--
2024-10-10 14:56
__init__.py
0
B
-rw-r--r--
2024-10-10 14:56
apt_btrfs_snapshot.py
9.68
KB
-rw-r--r--
2024-10-10 14:56
apt_clone.py
33.75
KB
-rw-r--r--
2024-03-15 15:46
dist-upgrade.py
129
B
-rw-r--r--
2024-10-10 14:56
distro.py
23.8
KB
-rw-r--r--
2025-07-25 15:18
telemetry.py
3.4
KB
-rw-r--r--
2024-10-10 14:56
utils.py
17.37
KB
-rw-r--r--
2025-04-25 13:16
xorg_fix_proprietary.py
3.99
KB
-rw-r--r--
2024-10-10 14:56
Save
Rename
import os import logging import subprocess import sys import gettext import errno APPORT_ALLOWLIST = { "apt.log": "Aptlog", "apt-term.log": "Apttermlog", "apt-clone_system_state.tar.gz": "Aptclonesystemstate.tar.gz", "history.log": "Historylog", "lspci.txt": "Lspcitxt", "main.log": "Mainlog", "term.log": "Termlog", "screenlog.0": "Screenlog", "xorg_fixup.log": "Xorgfixup", } def _apport_append_logfiles(report, logdir="/var/log/dist-upgrade/"): dirname = 'VarLogDistupgrade' for fname in APPORT_ALLOWLIST: f = os.path.join(logdir, fname) if not os.path.isfile(f) or os.path.getsize(f) == 0: continue ident = dirname + APPORT_ALLOWLIST[fname] if os.access(f, os.R_OK): report[ident] = (f, ) elif os.path.exists(f): try: from apport.hookutils import root_command_output report[ident] = root_command_output( ["cat", '%s' % f], decode_utf8=False) except ImportError: logging.error("failed to import apport python module, " "can't include: %s" % ident) def apport_crash(type, value, tb): logging.debug("running apport_crash()") if "RELEASE_UPRADER_NO_APPORT" in os.environ: logging.debug("RELEASE_UPRADER_NO_APPORT env set") return False try: # we don't depend on python3-apport because of servers from apport_python_hook import apport_excepthook from apport.report import Report except ImportError as e: logging.error("failed to import apport python module, can't " "generate crash: %s" % e) return False from .DistUpgradeVersion import VERSION # we pretend we are do-release-upgrade sys.argv[0] = "/usr/bin/do-release-upgrade" apport_excepthook(type, value, tb) # now add the files in /var/log/dist-upgrade/* if os.path.exists('/var/crash/_usr_bin_do-release-upgrade.0.crash'): report = Report() report.setdefault('Tags', 'dist-upgrade') release = 'Ubuntu %s' % VERSION[0:5] report.setdefault('DistroRelease', release) # use the version of the release-upgrader tarball, not the installed # package report.setdefault('Package', 'ubuntu-release-upgrader-core 1:%s' % VERSION) _apport_append_logfiles(report) report.add_to_existing( '/var/crash/_usr_bin_do-release-upgrade.0.crash') return True def apport_pkgfailure(pkg, errormsg): logging.debug("running apport_pkgfailure() %s: %s", pkg, errormsg) if "RELEASE_UPRADER_NO_APPORT" in os.environ: logging.debug("RELEASE_UPRADER_NO_APPORT env set") return False LOGDIR = "/var/log/dist-upgrade/" s = "/usr/share/apport/package_hook" # we do not report followup errors from earlier failures # dpkg messages will not be translated if DPKG_UNTRANSLATED_MESSAGES is # set which it is by default so check for the English message first if "dependency problems - leaving unconfigured" in errormsg: logging.debug("dpkg error because of dependency problems, not " "reporting against %s " % pkg) return False needle = gettext.dgettext( 'dpkg', "dependency problems - leaving unconfigured") if needle in errormsg: logging.debug("dpkg error because of dependency problems, not " "reporting against %s " % pkg) return False # we do not run apport_pkgfailure for full disk errors if os.strerror(errno.ENOSPC) in errormsg: logging.debug("dpkg error because of full disk, not reporting " "against %s " % pkg) return False if os.path.exists(s): args = [s, "-p", pkg] args.extend(["--tags", "dist-upgrade"]) for fname in APPORT_ALLOWLIST: args.extend(["-l", os.path.join(LOGDIR, fname)]) try: p = subprocess.Popen(args, stdin=subprocess.PIPE, universal_newlines=True) p.stdin.write(errormsg) p.stdin.close() #p.wait() except Exception as e: logging.warning("Failed to run apport (%s)" % e) return False return True return False def run_apport(): " run apport, check if we have a display " if "RELEASE_UPRADER_NO_APPORT" in os.environ: logging.debug("RELEASE_UPRADER_NO_APPORT env set") return False if "DISPLAY" in os.environ: # update-notifier will notify about the crash return True elif os.path.exists("/usr/bin/apport-cli"): try: return (subprocess.call("/usr/bin/apport-cli") == 0) except Exception: logging.exception("Unable to launch '/usr/bin/apport-cli'") return False logging.debug("can't find apport") return False if __name__ == "__main__": apport_crash(None, None, None)