[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#895412: debootstrap: Cannot find dpkg on NetBSD (or other OSes using pkgsrc)

package: debootstrap
severity: minor


 On NetBSD, we can install dpkg via pkgsrc but it's under /usr/pkg/bin

netbsd# ./debootstrap: /usr/bin/dpkg: not found
netbsd# which dpkg

 And now dpkg is specified with absolute path as below.
> if in_path dpkg && \
>      dpkg --print-architecture >/dev/null 2>&1; then
>         HOST_ARCH=$(/usr/bin/dpkg --print-architecture)
> elif in_path udpkg && \      
>      udpkg --print-architecture >/dev/null 2>&1; then
>         HOST_ARCH=$(/usr/bin/udpkg --print-architecture)

 Is there any reason to do so? Just use dpkg is something wrong?


 Hideki Yamane     henrich @ debian.org/iijmio-mail.jp

Reply to: