HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux newsites.squeezer-software.com 6.8.0-90-generic #91-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 18 14:14:30 UTC 2025 x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: 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,
Upload Files
File: //usr/share/bug/dpkg
#!/bin/sh

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 $d)"
    if [ "$linkname" = "usr$d" ] || [ "$linkname" = "/usr$d" ]; then
      echo "This system uses merged-usr-via-aliased-dirs, going behind dpkg's" >&3
      echo "back, breaking its core assumptions. This can cause silent file" >&3
      echo "overwrites and disappearances, and its general tools misbehavior." >&3
      echo "See <https://wiki.debian.org/Teams/Dpkg/FAQ#broken-usrmerge>." >&3
      break
    fi
  done
}

check_merged_usr_via_aliased_dirs