On Sun, Dec 22, 2013 at 11:56:50AM +0100, Thomas Bechtold wrote: > Package: apt > Version: 0.9.14.1 > Followup-For: Bug #728500
Thanks for your bugreport and your patch! > I have the same problem on my system. > The thing is that apt-get update uses the $TMPDIR variable. > On my system, this variable is set to /tmp/user/0 when I run "apt-get update" > inside of the chroot. > But this directory doesn't exist inside of the chroot. > > "TMPDIR=/tmp apt-get update" inside of the chroot works fine. > > Attached is a patch for apt to fallback to /tmp in case of a unavailable > directory given from $TMPDIR. Of course this doesn't help for already > released apt versions so we need to know why $TMPDIR is set to this > directory but for future apt releases, the patch handles this error case > better. [..] I think this approch makes a lot of sense and I merged your patch into our git tree. Thanks! I will probably add another one on top of it to have one "GetTmpDir()" funtion in libapt. Cheers, Michael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org