Comment 200 for bug 1871268

Revision history for this message
dragonhahney (dragonhahney) wrote : Re: [Bug 1871268] Re: Installation fails due to useless immediate configuration error when "Install Third-Party Drivers" is selected

Thank you, sir/madam.

On Wed, Mar 10, 2021, 6:56 AM Sancho <email address hidden> wrote:

> ** Changed in: apt (Ubuntu Bionic)
> Status: In Progress => Fix Released
>
> --
> You received this bug notification because you are subscribed to apt in
> Ubuntu.
> Matching subscriptions: dragonhahney
> https://bugs.launchpad.net/bugs/1871268
>
> Title:
> Installation fails due to useless immediate configuration error when
> "Install Third-Party Drivers" is selected
>
> Status in Ubuntu CD Images:
> Fix Released
> Status in apt package in Ubuntu:
> Fix Released
> Status in apt source package in Bionic:
> Fix Released
> Status in apt source package in Focal:
> Fix Released
> Status in apt source package in Groovy:
> Fix Released
> Status in apt package in Debian:
> Fix Released
>
> Bug description:
> [Impact]
> Installations that really succeeded would then fail because APT could
> not immediately configure a package. Which is a pointless way to fail at
> that point, because everything did work out anyway.
>
> We have two changes that help address this:
>
> * The first one stops immediately configuring multi-arch siblings
> (e.g. libc6:i386 when it's configuring libc6:amd64). This was not
> necessary, and caused all the libc6:i386 failures here.
>
> * The second change sort of also supersedes the first one: It just
> ignores any errors from immediate configuration, relying on the fact
> that it's checked and rectified at a later point if there are
> unconfigured packages (which is what made all those failures happen
> spuriously after having successfully installed everything).
>
> [Test case]
> We have one test case in EIPP format in the Debian bug 973305 which was
> only helped by the second change, not the first one. Run
> /usr/lib/apt/planners < eipp.log and check there are no errors.
>
> TODO: It's unclear if the APT from proposed installed in the live
> session will fix the installer, needs investigation, but would make a
> useful test case.
>
> [Regression potential]
> It's imaginable that we missed something somewhere and some path that
> checked for a set error doesn't check it anymore, and we report success
> when we hit an error, but it seems unlikely.
>
> Behavior of --simulate changes. This used to fail before as well, and
> will now only produce a warning. We don't believe that is a reason of
> concern.
>
> [Groovy SRU]
> The groovy SRU is a sync of the 2.1.11 micro release from Debian
> unstable which also incorporates changes to the documentation: A typo fix,
> replacing focal with groovy in examples, and minor Dutch manual pages
> translation updates.
>
> We do not have test cases for the documentation changes, and we do not
> consider there to be a huge regression potential. As long as they
> build, they should be readable - maybe some words are wrong in the
> translation, who knows.
>
> [Original bug report]
> Test Case
> 1. Install Ubuntu Desktop on hardware with an nVidia card and select to
> install 3rd party drivers
> 2. Proceed with installation
>
> The following error message is displayed in /var/log/syslog
> /plugininstall.py: Verifying downloads ...
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/g/gcc-defaults/gcc_9.3.0-1ubuntu2_amd64.deb: "Version:
> '9.3.0-1ubuntu2' not found."
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/libx/libxcrypt/libcrypt-dev_4.4.10-10ubuntu4_amd64.deb:
> "Version: '4.4.10-10ubuntu4' not found."
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/g/gcc-defaults/g++_9.3.0-1ubuntu2_amd64.deb: "Version:
> '9.3.0-1ubuntu2' not found."
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/z/zlib/zlib1g_1.2.11.dfsg-2ubuntu1_i386.deb: "Version:
> '1.2.11.dfsg-2ubuntu1' not found."
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/libx/libxau/libxau6_1.0.9-0ubuntu1_i386.deb: "Version:
> '1.0.9-0ubuntu1' not found."
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/libx/libxdmcp/libxdmcp6_1.1.3-0ubuntu1_i386.deb:
> "Version: '1.1.3-0ubuntu1' not found."
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/libx/libx11/libx11-6_1.6.9-2ubuntu1_i386.deb: "Version:
> '1.6.9-2ubuntu1' not found."
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/libx/libxext/libxext6_1.3.4-0ubuntu1_i386.deb: "Version:
> '1.3.4-0ubuntu1' not found."
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/l/lm-sensors/libsensors5_3.6.0-2ubuntu1_i386.deb:
> "Version: '3.6.0-2ubuntu1' not found."
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/libx/libx11/libx11-xcb1_1.6.9-2ubuntu1_i386.deb:
> "Version: '1.6.9-2ubuntu1' not found."
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/libx/libxdamage/libxdamage1_1.1.5-1_i386.deb: "Version:
> '1.1.5-1' not found."
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/libx/libxfixes/libxfixes3_5.0.3-1_i386.deb: "Version:
> '5.0.3-1' not found."
> /plugininstall.py: Failed to find package object for
> /cdrom//pool/main/libx/libxxf86vm/libxxf86vm1_1.1.4-1build1_i386.deb:
> "Version: '1.1.4-1build1' not found."
> /plugininstall.py: Downloads verified successfully
> ubiquity: Error in function: install
> /plugininstall.py: Exception during installation:
> /plugininstall.py: apt_pkg.Error: E:Could not configure 'libc6:i386'. ,
> E:Could not perform immediate configuration on 'libgcc-s1:i386'. Please see
> man 5 apt.conf under APT::Immediate-Configure for details. (2)
> /plugininstall.py:
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: ubiquity 20.04.9
> ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
> Uname: Linux 5.4.0-21-generic x86_64
> NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
> ApportVersion: 2.20.11-0ubuntu22
> Architecture: amd64
> CasperVersion: 1.442
> Date: Mon Apr 6 20:17:07 2020
> InstallCmdLine: file=/cdrom/preseed/xubuntu.seed only-ubiquity
> initrd=/casper/initrd quiet splash ---
> LiveMediaBuild: Xubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
> ProcEnviron:
> LANGUAGE=es_EC.UTF-8
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=es_EC.UTF-8
> LC_NUMERIC=C.UTF-8
> SourcePackage: ubiquity
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-cdimage/+bug/1871268/+subscriptions
>