| Server IP : 104.21.93.65 / Your IP : 104.23.197.32 Web Server : Apache System : Linux server.localhost.com 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64 User : pahana ( 1029) PHP Version : 7.4.33 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, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
# See deb-postinst(5).
set -e
PROGNAME=dpkg
. /usr/share/dpkg/sh/dpkg-error.sh
setup_colors
get_vendor()
{
local origin="$DPKG_ROOT/etc/dpkg/origins/default"
local vendor
if [ -n "$DEB_VENDOR" ]; then
vendor="$DEB_VENDOR"
elif [ -e "$origin" ]; then
vendor=$(sed -ne 's/^Vendor: *\([^ ]\+\) */\1/p' "$origin" | tr A-Z a-z)
fi
echo "${vendor:-default}"
}
check_merged_usr_via_aliased_dirs()
{
local vendor
vendor=$(get_vendor)
case "$vendor" in
debian)
# In Debian some people have gotten so offended by the following _warning_
# that they have resorted to bullying and abuse. Life's too short, sorry.
return
;;
ubuntu)
# Ubuntu does not seem interested in it.
return
;;
esac
for d in /bin /sbin /lib /lib32 /libo32 /libx32 /lib64; do
linkname="$(readlink $DPKG_ROOT$d || true)"
if [ "$linkname" = "usr$d" ] || [ "$linkname" = "/usr$d" ]; then
warning "This system uses merged-usr-via-aliased-dirs, going behind dpkg's"
warning "back, breaking its core assumptions. This can cause silent file"
warning "overwrites and disappearances, and its general tools misbehavior."
warning "See <https://wiki.debian.org/Teams/Dpkg/FAQ#broken-usrmerge>."
break
fi
done
}
setup_aliases()
{
local prog=start-stop-daemon
# Add a backward compatibility symlink alias for s-s-d, which is now
# installed in its canonical location.
if [ ! -f "$DPKG_ROOT/sbin/$prog" ]; then
ln -s "/usr/sbin/$prog" "$DPKG_ROOT/sbin/$prog"
fi
}
case "$1" in
configure)
check_merged_usr_via_aliased_dirs
setup_aliases
;;
abort-upgrade|abort-deconfigure|abort-remove)
;;
*)
error "called with unknown argument '$1'"
;;
esac
# Due to #932360 in debhelper we need to explicitly tell systemd to reload.
case "$1" in
configure|abort-upgrade|abort-deconfigure|abort-remove)
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
fi
;;
esac
# Automatically added by dh_installsystemd/13.14.1ubuntu5
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
# The following line should be removed in trixie or trixie+1
deb-systemd-helper unmask 'dpkg-db-backup.timer' >/dev/null || true
# was-enabled defaults to true, so new installations run enable.
if deb-systemd-helper --quiet was-enabled 'dpkg-db-backup.timer'; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper enable 'dpkg-db-backup.timer' >/dev/null || true
else
# Update the statefile to add new symlinks (if any), which need to be
# cleaned up on purge. Also remove old symlinks.
deb-systemd-helper update-state 'dpkg-db-backup.timer' >/dev/null || true
fi
fi
# End automatically added section
exit 0