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

Bug#878961: marked as done (debootstrap fails to resolve dependencies on virtual packages)



Your message dated Sun, 3 Jun 2018 16:52:23 +0900
with message-id <CAPpVEmWczMxzhzS9cQw06HfnZ8-_u8LZazR07uEk2XQKCN-25A@mail.gmail.com>
and subject line 
has caused the Debian Bug report #878961,
regarding debootstrap fails to resolve dependencies on virtual packages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
878961: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878961
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debootstrap
Version: 1.0.81ubuntu3.2
Severity: normal

debootstrap is unable to operate if the packages being included have a
virtual dependency which is not otherwise resolved.

Easy reproducer:
  # debootstrap --include=libnet-ssleay-perl stretch stretch
  [...]
  W: Failure while configuring base packages.  This will be re-attempted up to five times.
  W: See debootstrap.log for details (possibly the package libnet-ssleay-perl is at fault)

The log shows error:
  dpkg: dependency problems prevent configuration of libnet-ssleay-perl:
   libnet-ssleay-perl depends on perl-openssl-abi-1.1; however:
    Package perl-openssl-abi-1.1 is not installed.

libnet-ssleay-perl depends on perl-openssl-abi-1.1, which is a virtual package
provided by perl-openssl-defaults.

debootstrap's pkgdetails_perl dependency resolution mechanism does not
consider virtual packages, so the dependency on perl-openssl-abi-1.1 is
basically ignored.

The expected outcome is for it to be resolved to perl-openssl-defaults,
which would then be installed along with the other packages and result in a
usable bootstrap.

I've reproduced this on v1.0.81ubuntu3.2 but from code inspection I can see
the same problem exists in current git - nothing examines Provides here.

Also reported at
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/86536

-- System Information:
Debian Release: stretch/sid
  APT prefers zesty-updates
  APT policy: (500, 'zesty-updates'), (500, 'zesty-security'), (500, 'zesty'), (100, 'zesty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.10.0-26-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debootstrap depends on:
ii  wget  1.18-2ubuntu1

Versions of packages debootstrap recommends:
ii  gnupg           2.1.15-1ubuntu7
ii  ubuntu-keyring  2016.10.27

debootstrap suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
X-CrossAssassin-Score: 89248

--- End Message ---

Reply to: