[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#768062: Does not take already-selected alternate dependencies into account



Package: debootstrap
Version: 1.0.64
Severity: normal

Please see the analysis in bug 746578.

The essential package "init" has:
Depends: systemd-sysv | sysvinit-core | upstart

The test in bug 746578 involved a modified libpam-systemd that had:
Depends: systemd-shim (>= 8-2) | systemd-sysv

The test invoked debootstrap like this:
debootstrap --print-debs --no-check-gpg --include=libpam-systemd jessie $DIR $MIRROR

Given that set of constraints, debootstrap *should* install init,
systemd-sysv, libpam-systemd, and *not* systemd-shim, since systemd-sysv
already satisfies libpam-systemd's dependency.

In addition to figuring that out automatically, debootstrap should at
least have produced that result if given --exclude=systemd-shim, since
no dependency requires debootstrap to add that back in.

- Josh Triplett

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages debootstrap depends on:
ii  wget  1.16-1

Versions of packages debootstrap recommends:
ii  debian-archive-keyring  2014.1
ii  gnupg                   1.4.18-4

debootstrap suggests no packages.

-- no debconf information


Reply to: