|
Server : LiteSpeed System : Linux srv104790275 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : dewac4139 ( 1077) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
set -e
remove_apt_files() {
# This list should be kept up to date with the list of available apt-repo-based services
for service in anbox cc-eal cis esm-apps esm-infra fips fips-preview fips-updates realtime-kernel ros ros-updates; do
rm -f /etc/apt/sources.list.d/ubuntu-${service}.list
rm -f /etc/apt/sources.list.d/ubuntu-${service}.sources
done
# preferences are only dynamically created for fips services
for fips_service in fips fips-preview fips-updates; do
rm -f /etc/apt/preferences.d/ubuntu-${fips_service}
done
}
case "$1" in
purge|remove)
remove_apt_files
;;
esac
# Automatically added by dh_systemd_start/13.6ubuntu1
if [ -z "${DPKG_ROOT:-}" ] && [ -d /run/systemd/system ]; then
deb-systemd-invoke stop 'ubuntu-advantage.service' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_start/13.6ubuntu1
if [ -z "${DPKG_ROOT:-}" ] && [ -d /run/systemd/system ]; then
deb-systemd-invoke stop 'ua-timer.timer' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_python3
if command -v py3clean >/dev/null 2>&1; then
py3clean -p ubuntu-pro-client:amd64
else
dpkg -L ubuntu-pro-client:amd64 | perl -ne 's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach glob($_)'
find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
fi
# End automatically added section
exit 0