Bug#1004302: mmdebstrap: Unable to specify APT pinning (via Dir::Etc::preferencesparts)

2022-01-25 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Benjamin Drung (2022-01-25 21:01:11) > > I find it interesting that somebody is using the --simulate option. In > > what scenario is it useful to have it? > > We have a web UI to select packages (plus their version) and > repositories that we want to add to the image that we built.

Bug#1004302: mmdebstrap: Unable to specify APT pinning (via Dir::Etc::preferencesparts)

2022-01-25 Thread Benjamin Drung
Am Dienstag, dem 25.01.2022 um 17:58 +0100 schrieb Johannes Schauer Marin Rodrigues: > Quoting Benjamin Drung (2022-01-25 17:48:42) > > > I do not yet understand why your "copy-in" essential hook where > > > you copy > > > bookworm.pref into /etc/apt/preferences.d inside the chroot > > > doesn't

Bug#1004302: mmdebstrap: Unable to specify APT pinning (via Dir::Etc::preferencesparts)

2022-01-25 Thread Johannes Schauer Marin Rodrigues
Quoting Benjamin Drung (2022-01-25 17:48:42) > > I do not yet understand why your "copy-in" essential hook where you copy > > bookworm.pref into /etc/apt/preferences.d inside the chroot doesn't solve > > this problem for you. Even though mmdebstrap doesn't run apt from inside > > the chroot

Bug#1004302: mmdebstrap: Unable to specify APT pinning (via Dir::Etc::preferencesparts)

2022-01-25 Thread Benjamin Drung
Am Montag, dem 24.01.2022 um 17:23 +0100 schrieb Johannes Schauer Marin Rodrigues: > Quoting Benjamin Drung (2022-01-24 17:14:18) > > > to make sure I understand your problem correctly: The mmdebstrap > > > version in > > > unstable is doing exactly what you want/expect but only the > > > version

Bug#1004302: mmdebstrap: Unable to specify APT pinning (via Dir::Etc::preferencesparts)

2022-01-24 Thread Johannes Schauer Marin Rodrigues
Quoting Benjamin Drung (2022-01-24 17:14:18) > > to make sure I understand your problem correctly: The mmdebstrap version in > > unstable is doing exactly what you want/expect but only the version in > > stable is not doing what you want? > > Yes, The difference you see between running the

Bug#1004302: mmdebstrap: Unable to specify APT pinning (via Dir::Etc::preferencesparts)

2022-01-24 Thread Benjamin Drung
Am Montag, dem 24.01.2022 um 16:54 +0100 schrieb Johannes Schauer Marin Rodrigues: > Quoting Benjamin Drung (2022-01-24 16:22:43) > > I tested this in a minimal Debian schroot: > > > > ``` > > apt -y install mmdebstrap > > mkdir -p preferences.d > > printf 'Package: *\nPin: release

Bug#1004302: mmdebstrap: Unable to specify APT pinning (via Dir::Etc::preferencesparts)

2022-01-24 Thread Johannes Schauer Marin Rodrigues
Quoting Benjamin Drung (2022-01-24 16:22:43) > I tested this in a minimal Debian schroot: > > ``` > apt -y install mmdebstrap > mkdir -p preferences.d > printf 'Package: *\nPin: release l=Debian,n=bookworm\nPin-Priority: 400\n' > > preferences.d/bookworm.pref > mmdebstrap -v --variant=minbase \

Bug#1004302: mmdebstrap: Unable to specify APT pinning (via Dir::Etc::preferencesparts)

2022-01-24 Thread Benjamin Drung
Package: mmdebstrap Version: 0.7.5-2.2 Severity: normal Hi, I want to use mmdebstrap combined with APT pinning in a consistent way (i.e. that mmdebstrap behaves the same in normal and dry-run mode), but I failed to do so. To demonstrate the issue, I constructed a simple test case: This test case