Debian Bug report logs - #953260
E: Could not perform immediate configuration on 'libgcc1:amd64'.

version graph

Package: apt; Maintainer for apt is APT Development Team <deity@lists.debian.org>; Source for apt is src:apt (PTS, buildd, popcon).

Reported by: Johannes 'josch' Schauer <josch@debian.org>

Date: Fri, 6 Mar 2020 15:48:02 UTC

Severity: normal

Found in version apt/1.9.10

Done: Johannes Schauer <josch@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, josch@debian.org, APT Development Team <deity@lists.debian.org>:
Bug#953260; Package apt. (Fri, 06 Mar 2020 15:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Johannes 'josch' Schauer <josch@debian.org>:
New Bug report received and forwarded. Copy sent to josch@debian.org, APT Development Team <deity@lists.debian.org>. (Fri, 06 Mar 2020 15:48:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Johannes 'josch' Schauer <josch@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: E: Could not perform immediate configuration on 'libgcc1:amd64'.
Date: Fri, 06 Mar 2020 16:45:55 +0100
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



Reply sent to Johannes Schauer <josch@debian.org>:
You have taken responsibility. (Fri, 06 Mar 2020 18:09:37 GMT) (full text, mbox, link).


Notification sent to Johannes 'josch' Schauer <josch@debian.org>:
Bug acknowledged by developer. (Fri, 06 Mar 2020 18:09:37 GMT) (full text, mbox, link).


Message #10 received at 953260-done@bugs.debian.org (full text, mbox, reply):

From: Johannes Schauer <josch@debian.org>
To: 953260-done@bugs.debian.org
Subject: Re: Bug#953260: Acknowledgement (E: Could not perform immediate configuration on 'libgcc1:amd64'.)
Date: Fri, 06 Mar 2020 18:58:53 +0100
[Message part 1 (text/plain, inline)]
Okay, this is embarrassing... The solution was even in the error message.
Setting APT::Immediate-Configure to false fixes this problem. Thanks! :)
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 04 Apr 2020 07:28:44 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Aug 8 02:44:56 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.