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

Bug#153305: dpkg: --root and --admindir still don't work



Package: dpkg
Version: 1.10.18
Severity: normal
Followup-For: Bug #153305

Two strace excerpts: 

testd2:/home/# strace dpkg --admindir=/home/cdimage-sparc/var/lib/dpkg -s libnet-ipnetmember-perl-cn 2>&1 | grep var/lib/dpk
execve("/usr/bin/dpkg", ["dpkg", "--admindir=/home/cdimage-sparc/var/lib/dpkg", "-s", "libnet-ipnetmember-perl-cn"], [/* 13 vars */]) = 0
open("/var/lib/dpkg/status", O_RDONLY|O_LARGEFILE) = 3
open("/var/lib/dpkg/updates/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("/var/lib/dpkg/available", O_RDONLY|O_LARGEFILE) = 3

testd2:/home# strace dpkg --root=/home/cdimage-sparc -s apt 2>&1 | grep var/lib/dpk
open("/var/lib/dpkg/status", O_RDONLY|O_LARGEFILE) = 3
open("/var/lib/dpkg/updates/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("/var/lib/dpkg/available", O_RDONLY|O_LARGEFILE) = 3


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=C, LC_CTYPE=C

Versions of packages dpkg depends on:
ii  dselect                     1.10.18      a user tool to manage Debian packa
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an

-- no debconf information




Reply to: