Package: aptitude
Version: 0.6.1.5-3
Severity: normal

On my system, users' home directories are mounted by NFS and aren't
accessible by root.  This seems to upset aptitude if I run "aptitude update"
when su'ed to root in my home directory:

wraith:/home/bjh21# aptitude update
Hit http://www-uxsup.csx.cam.ac.uk testing Release.gpg
Hit http://www-uxsup.csx.cam.ac.uk testing Release
Hit http://www-uxsup.csx.cam.ac.uk testing/main Packages/DiffIndex
Hit http://www-uxsup.csx.cam.ac.uk testing/contrib Packages/DiffIndex
Hit http://www-uxsup.csx.cam.ac.uk testing/non-free Packages/DiffIndex
E: Unable to change to /home/bjh21/ - chdir (13: Permission denied)
E: Couldn't clean out list directories

I can't see that aptitude has any reason to chdir into my home directory, so
it really shouldn't fail when that turns out to be impossible.

>From gdb, it looks like the failing call to chdir comes from
pkgAcquire::Clean(std::string).  I've not looked at the source to see how
easy it would be to fix.

-- Package-specific info:
aptitude 0.6.1.5 compiled at Mar 12 2010 09:52:06
Compiler: g++ 4.4.3
Compiled against:
  apt version 4.8.0
  NCurses version 5.7
  libsigc++ version: 2.2.4.2
  Ept support enabled.
  Gtk+ support disabled.

Current library versions:
  NCurses version: ncurses 5.7.20100313
  cwidget version: 0.5.16
  Apt version: 4.8.0
        linux-gate.so.1 =>  (0xffffe000)
        libapt-pkg-libc6.9-6.so.4.8 => /usr/lib/libapt-pkg-libc6.9-6.so.4.8 
(0xb7e63000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0xb7e1d000)
        liblog4cxx.so.10 => /usr/lib/liblog4cxx.so.10 (0xb7c77000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb7c71000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xb7bb1000)
        libept.so.0 => /usr/lib/libept.so.0 (0xb7b3d000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0xb79ed000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb79d9000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb7955000)
        libboost_iostreams.so.1.40.0 => /usr/lib/libboost_iostreams.so.1.40.0 
(0xb794a000)
        libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7930000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb783b000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7815000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb77f7000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb76b0000)
        libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb76ac000)
        libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb76a7000)
        libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0xb7687000)
        libdb-4.8.so => /usr/lib/libdb-4.8.so (0xb7521000)
        libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb74f3000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb74e2000)
        librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb74d8000)
        /lib/ld-linux.so.2 (0xb7f40000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xb74d4000)
        libcrypt.so.1 => /lib/i686/cmov/libcrypt.so.1 (0xb74a2000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb747c000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.27.9 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.9 0.7.25.3         Advanced front-end for dpkg
ii  libboost-iostreams1.40. 1.40.0-6+b1      Boost.Iostreams Library
ii  libc6                   2.10.2-9         Embedded GNU C Library: Shared lib
ii  libcwidget3             0.5.16-3         high-level terminal interface libr
ii  libept0                 0.5.30           High-level library for managing De
ii  libgcc1                 1:4.4.4-1        GCC support library
ii  liblog4cxx10            0.10.0-1.1       A logging library for C++
ii  libncursesw5            5.7+20100313-2   shared libraries for terminal hand
ii  libsigc++-2.0-0c2a      2.2.4.2-1        type-safe Signal Framework for C++
ii  libsqlite3-0            3.6.23.1-2       SQLite 3 shared library
ii  libstdc++6              4.4.4-1          The GNU Standard C++ Library v3
ii  libxapian15             1.0.20-2         Search engine library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages aptitude recommends:
ii  apt-xapian-index              0.30       maintenance tools for a Xapian ind
pn  aptitude-doc-en | aptitude-do <none>     (no description available)
ii  libparse-debianchangelog-perl 1.1.1-2    parse Debian changelogs and output
ii  sensible-utils                0.0.4      Utilities for sensible alternative

Versions of packages aptitude suggests:
pn  debtags                       <none>     (no description available)
pn  tasksel                       <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to