| Server IP : 172.67.206.42 / Your IP : 104.23.197.33 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
set -e
is_merged() {
local directories="/bin /sbin /lib"
for dir in $directories; do
[ -e "$DPKG_ROOT$dir" ] || continue
[ "$(readlink -f "$DPKG_ROOT$dir")" = "$DPKG_ROOT/usr$dir" ] || return 1
done
# Avoid an exact match, as the target might vary depending on the tool
# building the image. For example, systemd-nspawn links /lib64 to
# /usr/lib/aarch64-linux-gnu on arm64, while on amd64 debootstrap links it to
# /usr/lib64 and doesn't create it at all on arm64.
# See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019575
local arch_directories="/lib64 /lib32 /libo32 /libx32"
for dir in $arch_directories; do
[ -e "$DPKG_ROOT$dir" ] || continue
case "$(readlink -f "$DPKG_ROOT$dir")" in
"$DPKG_ROOT/usr/lib"*) ;;
*) return 1;;
esac
done
return 0
}
fail_if_unmerged() {
if is_merged; then return; fi
cat << END
******************************************************************************
*
* The udev package cannot be installed because this system does
* not have a merged /usr.
*
* Please install the usrmerge package to convert this system to merged-/usr.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************
END
exit 1
}
case "$1" in
install|upgrade)
fail_if_unmerged
;;
esac
# Automatically added by dh_installdeb/13.14.1ubuntu5
dpkg-maintscript-helper rm_conffile /etc/init.d/udev 254.3-1\~ -- "$@"
# End automatically added section