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

Bug#543816: marked as done (apt-get update tries to chdir $PWD)



Your message dated Fri, 14 Aug 2015 17:16:06 +0200
with message-id <20150814151606.GA16957@crossbow>
and subject line Re: apt-get update tries to chdir $PWD
has caused the Debian Bug report #543816,
regarding apt-get update tries to chdir $PWD
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
543816: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543816
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.7.22.2
Severity: minor

When I run:

sudo apt-get update

from a directory where root is not allowed to go (700 permission on NFS),
it prints this error message and I get a non-zero exit code.

E: Unable to change to /home/glisse/mail/ - chdir (13: Permission denied)

It looks like the update works nonetheless, and I can always run the
command from elsewhere, so this is very minor, but I believe it is still
a bug.

(despite what you can see in the config files, this is an up-to-date
testing system)

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Cache-Limit "20000000";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/apt-listbugs apt || exit 10";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:::: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
DPkg::Post-Invoke:: "test -f /var/run/junior-config.usermenu && if [ -x /usr/sbin/blend-update-usermenus ] ; then /usr/sbin/blend-update-usermenus junior ; fi ; rm -f /var/run/junior-config.usermenu";

-- /etc/apt/preferences --

Package: ocaml-mode
Pin: version 3.10.2-3
Pin-Priority: 990

Package: cpp-3.4
Pin: version 3.4.6-6
Pin-Priority: 990

Package: gcc-3.4
Pin: version 3.4.6-6
Pin-Priority: 990

Package: gcc-3.4-base
Pin: version 3.4.6-6
Pin-Priority: 990

Package: libg2c0
Pin: version 1:3.4.6-6
Pin-Priority: 990

Package: iceape-dev-bin
Pin: version 1.1.14-1
Pin-Priority: 990

Package: *
Pin: release a=stable
Pin-Priority: 500

Package: *
Pin: release a=testing
Pin-Priority: 50

Package: *
Pin: release a=unstable
Pin-Priority: 10


-- /etc/apt/sources.list --

deb file:/var/cache/apt-build/repository apt-build main

deb     http://mir2.ovh.net/debian/ stable main non-free contrib
deb-src http://mir2.ovh.net/debian/ stable main non-free contrib
deb     ftp://ftp.fr.debian.org/debian/ testing main non-free contrib
deb-src ftp://ftp.fr.debian.org/debian/ testing main non-free contrib
deb     ftp://ftp.fr.debian.org/debian/ unstable main non-free contrib
deb-src ftp://ftp.fr.debian.org/debian/ unstable main non-free contrib

deb     ftp://ftp.fr.debian.org/debian-non-US/ stable/non-US main contrib non-free
deb-src ftp://ftp.fr.debian.org/debian-non-US/ stable/non-US main contrib non-free

deb http://security.debian.org/ stable/updates main non-free contrib
deb http://security.debian.org/ testing/updates main non-free contrib

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

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring        2009.01.31 GnuPG archive keys of the Debian a
ii  libc6                         2.9-23     GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.1-1  GCC support library
ii  libstdc++6                    4.4.1-1    The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
ii  apt-doc                   0.7.22.2       Documentation for APT
ii  aptitude                  0.4.11.11-1+b2 terminal-based package manager
ii  bzip2                     1.0.5-3        high-quality block-sorting file co
ii  dpkg-dev                  1.15.3.1       Debian package development tools
ii  lzma                      4.43-14        Compression method of 7z format in
ii  python-apt                0.7.12.1       Python interface to libapt-pkg
ii  synaptic                  0.62.7+b1      Graphical package manager

-- no debconf information



--- End Message ---
--- Begin Message ---
On Thu, Aug 27, 2009 at 08:46:20AM +0200, Marc Glisse wrote:
> from a directory where root is not allowed to go (700 permission on NFS),
> it prints this error message and I get a non-zero exit code.
> 
> E: Unable to change to /home/glisse/mail/ - chdir (13: Permission denied)
> 
> It looks like the update works nonetheless, and I can always run the
> command from elsewhere, so this is very minor, but I believe it is still
> a bug.

I just tried something similar:

I created an empty directory, changed into it and then removed it from
an other terminal. I then called "apt update" and it ran & finished
successsfully without any message about failing to change dir – which it
should have if it had tried, so I assume this was fixed and the meantime
and therefore I am closing this report.

Feel free to reopen if this can still be reproduced of course!


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: