Package: devscripts Version: 2.10.49 Severity: minor Is it possible to pre-check and print something like "Error: etc/apt/apt.conf does not exist" ?
If a relative data-dir is used and/or if for some reason the etc/apt/apt.conf file is not created, running apt-get update through chdist pops up this error: $ chdist -a i386 -d $PWD/test create unstable Now edit /home/testuser/Desktop/test/test/unstable/etc/apt/sources.list Then run chdist apt-get unstable update And enjoy. $ cat test/unstable/etc/apt/sources.list #deb http://ftp.debian.org/debian/ unstable main contrib non-free #deb-src http://ftp.debian.org/debian/ unstable main contrib non-free #deb http://archive.ubuntu.com/ubuntu dapper main restricted #deb http://archive.ubuntu.com/ubuntu dapper universe multiverse #deb-src http://archive.ubuntu.com/ubuntu dapper main restricted #deb-src http://archive.ubuntu.com/ubuntu dapper universe multiverse $ chdist -a i386 -d $PWD/test apt-get unstable update W: Forcing arch i386 for this command only. Reading package lists... Done $ chdist -a i386 -d $PWD/test apt-get unstable update $ rm -f /home/testuser/Desktop/test/test/unstable/etc/apt/apt.conf $ chdist -a i386 -d $PWD/test apt-get unstable update W: Forcing arch i386 for this command only. E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied) E: Unable to lock the list directory P.S. Is this more of an apt-related bug? -- Package-specific info: --- /etc/devscripts.conf --- --- ~/.devscripts --- Not present -- System Information: Debian Release: 5.0 APT prefers jaunty-updates APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty') Architecture: amd64 (x86_64) Kernel: Linux 2.6.28-11-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org