[Piuparts-devel] Bug#647752: piuparts: fails to create lenny chroot due to missing /etc/dpkg/dpkg.cfg.d/

Andreas Beckmann debian at abeckmann.de
Sat Nov 5 19:56:09 UTC 2011


Package: piuparts
Version: 0.41
Severity: normal
Tags: patch

Running

  piuparts -t ... -m ... -d lenny -a piuparts

fails with

  0m34.5s ERROR: Couldn't create file /tmp/piuparts/tmpAV8F3d/etc/dpkg/dpkg.cfg.d/piuparts:
  [Errno 2] No such file or directory: '/tmp/piuparts/tmpAV8F3d/etc/dpkg/dpkg.cfg.d/piuparts'

because lenny does not ship /etc/dpkg/dpkg.cfg.d/

Attached patch fixes this.


Andreas

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (500, 'stable-updates'), (130, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages piuparts depends on:
ii  apt            0.8.10.3+squeeze1
ii  debootstrap    1.0.37           
ii  lsb-release    3.2-23.2squeeze1 
ii  lsof           4.81.dfsg.1-1    
ii  python         2.6.7-3          
ii  python-debian  0.1.18           
ii  python2.6      2.6.7-3          
ii  python2.7      2.7.2-5          

piuparts recommends no packages.

Versions of packages piuparts suggests:
pn  ghostscript  8.71~dfsg2-9
pn  python-rpy   <none>      

-- no debconf information
-------------- next part --------------
An embedded message was scrubbed...
From: Andreas Beckmann <debian at abeckmann.de>
Subject: [PATCH] create /etc/dpkg/dpkg.cfg.d/ if missing
Date: no date
Size: 1021
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20111105/df9dd255/attachment.mht>


More information about the Piuparts-devel mailing list