Bug#680283: makejail: packages= option is broken with 64-bit packages

2016-05-26 Thread Matthias Buecher / Germany
Still an issue in Debian 8.0 "Jessie".



Bug#680283: makejail: packages= option is broken with 64-bit packages

2013-05-27 Thread Olivier Le Cam

Hi -

Faced the same problem this morning. Here is a quick and dirty hack:

~# diff /usr/sbin/makejail.origin /usr/sbin/makejail
229c229,234
return readFileLines(config.debianDpkgInfoFile % package)
---
for arch in [':amd64', ':i386', '']:
fileName = %s%s % (package,arch)
filePath = (config.debianDpkgInfoFile % fileName)
if os.path.exists(filePath):
break
return readFileLines(filePath)

Regards,
--
Olivier


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#680283: makejail: packages= option is broken with 64-bit packages

2012-07-04 Thread Elias Pschernig
Package: makejail
Version: 0.0.5-10
Severity: important

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?

trying to recreate a chroot jail

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

makejail config.py

   * What was the outcome of this action?

ended with this error message:

ERROR: Cannot read file '/var/lib/dpkg/info/gcc-4.7-base.list'

   * What outcome did you expect instead?

the correct file to read would have been 
/var/lib/dpkg/info/gcc-4.7-base:amd64.list I assume.

*** End of the template - remove these lines ***


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages makejail depends on:
ii  binstats  1.08-8
ii  debconf   1.5.44
ii  psmisc22.19-1
ii  python2.7.3~rc2-1
ii  strace4.5.20-2.3

makejail recommends no packages.

makejail suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org