Package: apt Version: 1.9.10 Severity: normal Hi,
recently mmdebstrap gained a new feature called --simulate which will call apt with -oAPT::Get::Simulate=true. While this works fine in Debian stable, it fails in current testing and unstable. To reproduce the problem consider the Packages file at the end of this mail and the following mmdebstrap command: ./mmdebstrap --verbose --dry-run --variant=essential . debian.tar "deb [trusted=yes] copy://$(pwd)/repo/ main ." [...] Reading package lists... Building dependency tree... The following additional packages will be installed: gcc-10-base libc6 libcrypt1 libgcc-s1 libgcc1 The following NEW packages will be installed: gcc-10-base libc-bin libc6 libcrypt1 libgcc-s1 libgcc1 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Inst gcc-10-base (10-20200222-1 localhost [amd64]) Conf gcc-10-base (10-20200222-1 localhost [amd64]) Inst libgcc-s1 (10-20200222-1 localhost [amd64]) [] Inst libc6 (2.29-10 localhost [amd64]) [] Inst libgcc1 (1:10-20200222-1 localhost [amd64]) [] Inst libcrypt1 (1:4.4.15-1 localhost [amd64]) Conf libgcc1 (1:10-20200222-1 localhost [amd64]) Conf libcrypt1 (1:4.4.15-1 localhost [amd64]) Conf libc6 (2.29-10 localhost [amd64]) Conf libgcc-s1 (10-20200222-1 localhost [amd64]) Inst libc-bin (2.29-10 localhost [amd64]) Conf libc-bin (2.29-10 localhost [amd64]) E: Could not configure 'libc6:amd64'. E: Could not perform immediate configuration on 'libgcc1:amd64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2) The apt command executed by mmdebstrap is essentialy: APT_CONFIG=foo apt-get --yes -oApt::Get::Download-Only=true -oAPT::Get::Simulate=true install libc-bin And where foo contains stuff along the lines of: Apt::Architecture "amd64"; Apt::Architectures "amd64"; Dir "/tmp/mmdebstrap.Dt_RUrBC0g"; Dir::State::Status "/tmp/mmdebstrap.Dt_RUrBC0g/var/lib/dpkg/status"; Dir::Etc::Trusted "/etc/apt/trusted.gpg"; Dir::Etc::TrustedParts "/etc/apt/trusted.gpg.d/"; pkgCacheGen::ForceEssential ","; I don't even know whether you care about this but the dependency situation seems trivial so maybe this is actually an important bug? Thanks! cheers, josch Package: libc-bin Version: 2.29-10 Architecture: amd64 Depends: libc6 Essential: yes Filename: foo MD5sum: bar Package: libc6 Version: 2.29-10 Architecture: amd64 Depends: libgcc1, libcrypt1 Filename: foo MD5sum: bar Package: libcrypt1 Version: 1:4.4.15-1 Architecture: amd64 Depends: libc6 Filename: foo MD5sum: bar Package: libgcc1 Version: 1:10-20200222-1 Architecture: amd64 Depends: gcc-10-base, libgcc-s1, libc6 Filename: foo MD5sum: bar Package: gcc-10-base Version: 10-20200222-1 Architecture: amd64 Filename: foo MD5sum: bar Package: libgcc-s1 Version: 10-20200222-1 Architecture: amd64 Depends: gcc-10-base, libc6 Filename: foo MD5sum: bar