Bug#694127: apt-utils: apt-extracttemplates is confused when RootDir is set

2012-11-25 Thread Milan Čermák
Hi David, I've given it a try on wheezy (apt 0.9.7.6). I suppose, the new apt-get chroots into the new env before apt-extracttemplates is executed, right? Setting just RootDir made apt-extracttemplates complain about missing APT_CONFIG configuration - which is obvious as it was stored in the pa

Bug#694127: apt-utils: apt-extracttemplates is confused when RootDir is set

2012-11-25 Thread David Kalnischkies
On Sat, Nov 24, 2012 at 9:23 AM, Milan Cermak wrote: > It suggests, that apt-extracttemplates (and maybe other components) does not > honor RootDir option. The packages were downloaded to the chroot'd > environment, > but apt-extracttemplated looked them up in the primary environment. We will ne

Bug#694127: apt-utils: apt-extracttemplates is confused when RootDir is set

2012-11-24 Thread Milan Cermak
Package: apt-utils Version: 0.8.10.3+squeeze1 Severity: normal I was trying to dist-upgrade chroot'd environment. I created configuration file with: RootDir "/tmp/mychroot"; and pointed APT_CONFIG to it. Then I ran: # export APT_CONFIG # apt-get update # apt-get dist-upgrade apt-get dist-upgra