Packages that trigger multiple debconf prompts fail to install

Bug #1688721 reported by Rafael Belmonte
This bug affects 207 people
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Fix Released
High
Robert Ancell
Xenial
Fix Released
High
Robert Ancell
Yakkety
Fix Released
High
Robert Ancell
Zesty
Fix Released
High
Robert Ancell
Artful
Fix Released
High
Robert Ancell

Bug Description

[Impact]
Some packages stall on installing. These are packages that generate multiple debconf prompts (the prompts may be empty and so not user visible, e.g. gconf2-common).

[Test Case]
1. Remove gconf2-common (warning, may uninstall packages like gnome-terminal):
$ sudo apt purge gconf2-common
2. Download the debian package of Chrome from www.google.com/chrome.
3. Install the package (browser will prompt, or double click on package in Nautilus).

Expected result:
Chrome installs correctly.

Observed result:
The installation hangs on 51%.

[Regression Potential]
The debconf conde was modified to support multiple requests. This could expose other debconf issues or break other .deb install code.

Revision history for this message
Rafael Belmonte (eaglescreen) wrote :
description: updated
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gconf (Ubuntu):
status: New → Confirmed
Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :

I got this same problem on Ubuntu GNOME 17.10 64-bit when trying to run the following in the terminal:

sudo apt update && sudo apt upgrade -y

tags: added: bugpattern-needed
tags: added: artful
Revision history for this message
Wild Man (wildmanne39) wrote :

Affects me while testing 17.10.

tags: added: yakkety
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

setting to high given the frequency of this defect.

description: updated
Changed in gconf (Ubuntu):
importance: Undecided → High
Revision history for this message
Iain Lane (laney) wrote :

Robert, can you look please? Sounds to me like it's something to do with debconf support which you've worked on lately. The testcase in the original report was on zesty - not sure if it's still there in artful.

Changed in gnome-software (Ubuntu):
assignee: nobody → Robert Ancell (robert-ancell)
Revision history for this message
Will Cooke (willcooke) wrote : Automatically added comment
tags: added: trello-import
tags: added: desktop-trello-import
removed: trello-import
tags: removed: desktop-trello-import
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: package gconf2-common 3.2.6-3ubuntu7 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-software (Ubuntu):
status: New → Confirmed
Revision history for this message
Robert Ancell (robert-ancell) wrote :

I could reproduce in Zesty, but not Artful or Xenial.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

All current duplicates are for Zesty, except for bug 1691599 (Artful) and bug 1692344 (Yakkety).

Changed in gnome-software (Ubuntu Zesty):
assignee: nobody → Robert Ancell (robert-ancell)
Changed in gnome-software (Ubuntu):
status: Confirmed → Fix Released
Changed in gconf (Ubuntu):
status: Confirmed → Fix Released
Changed in gconf (Ubuntu Zesty):
importance: Undecided → High
Changed in gnome-software (Ubuntu Zesty):
importance: Undecided → High
Changed in gnome-software (Ubuntu):
importance: Undecided → High
Revision history for this message
Robert Ancell (robert-ancell) wrote :

By purging gconf2-common, I can reproduce in Artful.

i.e.
$ sudo apt purge gconf2-common
$ gnome-software --local-filename ~/Downloads/google-chrome-stable_current_amd64.deb

Changed in gnome-software (Ubuntu):
status: Fix Released → New
Changed in gconf (Ubuntu):
status: Fix Released → New
Changed in gconf (Ubuntu Yakkety):
importance: Undecided → High
Changed in gconf (Ubuntu Xenial):
importance: Undecided → High
Changed in gnome-software (Ubuntu Xenial):
importance: Undecided → High
Changed in gnome-software (Ubuntu Yakkety):
importance: Undecided → High
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Using the purge technique I can also reproduce in Xenial. I suspect this problem isn't being seen much pre-Zesty because gconf is already installed (pulled in by aisleriot and probably other older pacakges).

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I reproduced the same defect on Artful. Also while installing updates the libpam-systemd also failed to install with a similar trace.

no longer affects: gconf (Ubuntu)
no longer affects: gconf (Ubuntu Xenial)
no longer affects: gconf (Ubuntu Yakkety)
no longer affects: gconf (Ubuntu Zesty)
no longer affects: gconf (Ubuntu Artful)
description: updated
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Cause is due to there being multiple debconf connections when gconf-common is configured (all of which close without any content being sent). The gnome-software debconf code only handled the first connection.

Changed in gnome-software (Ubuntu Artful):
status: New → Fix Committed
Changed in gnome-software (Ubuntu Zesty):
status: New → Fix Committed
Changed in gnome-software (Ubuntu Yakkety):
status: New → Fix Committed
Changed in gnome-software (Ubuntu Xenial):
status: New → Fix Committed
Changed in gnome-software (Ubuntu Yakkety):
assignee: nobody → Robert Ancell (robert-ancell)
Changed in gnome-software (Ubuntu Xenial):
assignee: nobody → Robert Ancell (robert-ancell)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.24.3-0ubuntu3

---------------
gnome-software (3.24.3-0ubuntu3) artful; urgency=medium

  * debian/patches/0006-Add-an-APT-plugin.patch:
    - Handle multiple debconf connections (LP: #1688721)

 -- Robert Ancell <email address hidden> Tue, 23 May 2017 21:28:12 +1200

Changed in gnome-software (Ubuntu Artful):
status: Fix Committed → Fix Released
Revision history for this message
Robert Ancell (robert-ancell) wrote :
description: updated
description: updated
summary: - package gconf2-common 3.2.6-3ubuntu7 failed to install/upgrade:
- subprocess installed post-installation script returned error exit status
- 128
+ Packages that trigger multiple debconf prompts fail to install
Revision history for this message
Iain Lane (laney) wrote :

Well done!

Revision history for this message
Pier Luigi Bonucci (pierluigibonucci) wrote :

Sorry, I can't understand how to fix the bug. Can you clarify me what to do?

Pier Luigi Bonucci

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Rafael, or anyone else affected,

Accepted gnome-software into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-software/3.20.1+git20170524.0.ea2fe2b0-0ubuntu0.16.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Rafael, or anyone else affected,

Accepted gnome-software into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-software/3.20.1+git20170524.0.ea2fe2b0-0ubuntu0.16.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Brian Murray (brian-murray) wrote : Proposed package upload rejected

An upload of gnome-software to zesty-proposed has been rejected from the upload queue for the following reason: "This upload also includes version 3.22.7-0ubuntu3.17.04.3 of gnome-software which fixes bug 1689425, however this bug does not appear in the Launchpad-Bugs-Fixed section of the .changes file (https://launchpadlibrarian.net/320895234/gnome-software_3.22.7-0ubuntu3.17.04.4_source.changes) as such that bug won't be tracked as a part of the SRU when it should be. Subsequently, I'm rejecting this upload.".

Revision history for this message
Brian Murray (brian-murray) wrote :

The latest upload to the zesty queue of gnome-software now contains the following in the changelog:

+ * debian/patches/0006-Add-an-APT-plugin.patch:
+ - Handle multiple debconf connections (LP: #1688721)

However, there isn't actually a 0006-Add-an-APT-plugin.patch file in the diff. There is a 0002-Add-an-APT-plugin.patch file in the diff and it looks to me (based off looking at the yakkety diff of the package in -proposed) like the multiple debconf connections work is included in the 0002 patch. If that is correct I'm happy to accept the package into -proposed with the typo in the changelog, I just want to confirm we really are getting the fix for this bug in zesty. Thanks!

Changed in gnome-software (Ubuntu Zesty):
status: Fix Committed → Incomplete
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Yeah, this is just a typo copying the changelog from a artful back to zesty. The fix is in the 0002 patch.

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Rafael, or anyone else affected,

Accepted gnome-software into zesty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-software/3.22.7-0ubuntu3.17.04.5 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gnome-software (Ubuntu Zesty):
status: Incomplete → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Change of SRU verification policy

As part of a recent change in the Stable Release Update verification policy we would like to inform that for a bug to be considered verified for a given release a verification-done-$RELEASE tag needs to be added to the bug where $RELEASE is the name of the series the package that was tested (e.g. verification-done-xenial). Please note that the global 'verification-done' tag can no longer be used for this purpose.

Thank you!

Revision history for this message
Jeremy Bícha (jbicha) wrote :

I verified that I can install Google Chrome now with 3.22.7-0ubuntu3.17.04.5 on Ubuntu GNOME 17.04 where gconf was not already pre-installed.

tags: added: verification-done-zesty
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I also verified that Google Chrome now installs successfully with
3.20.1+git20170524.0.ea2fe2b0-0ubuntu0.16.10.1 on Ubuntu GNOME 16.10
3.20.1+git20170524.0.ea2fe2b0-0ubuntu0.16.04.1 on Ubuntu GNOME 16.04 LTS

tags: added: verification-done-xenial verification-done-yakkety
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.20.1+git20170524.0.ea2fe2b0-0ubuntu0.16.04.1

---------------
gnome-software (3.20.1+git20170524.0.ea2fe2b0-0ubuntu0.16.04.1) xenial; urgency=medium

  * New upstream snapshot from the wip/ubuntu-3-20 branch at
    git://git.gnome.org/gnome-software.
    - Handle multiple debconf connections (LP: #1688721)
    - Limit search entry in case of accidental input (LP: #1692398)

 -- Robert Ancell <email address hidden> Wed, 24 May 2017 09:49:56 +1200

Changed in gnome-software (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for gnome-software has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.20.1+git20170524.0.ea2fe2b0-0ubuntu0.16.10.1

---------------
gnome-software (3.20.1+git20170524.0.ea2fe2b0-0ubuntu0.16.10.1) yakkety; urgency=medium

  * New upstream snapshot from the wip/ubuntu-3-20 branch at
    git://git.gnome.org/gnome-software.
    - Handle multiple debconf connections (LP: #1688721)
    - Limit search entry in case of accidental input (LP: #1692398)

 -- Robert Ancell <email address hidden> Wed, 24 May 2017 09:49:56 +1200

Changed in gnome-software (Ubuntu Yakkety):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-software - 3.22.7-0ubuntu3.17.04.5

---------------
gnome-software (3.22.7-0ubuntu3.17.04.5) zesty; urgency=medium

  * debian/patches/0001-snap-Fix-icons-not-being-converted-to-pixbufs.patch:
    - Fix snaps without icons not showing reliably (LP: #1697565)
  * debian/patches/0001-snap-Backport-fixes-from-master.patch:
    - Show featured snaps (LP: #1663097)
  * debian/patches/0017-Use-snap-name-field-for-app-name.patch:
    - Dropped, merged into above patch

gnome-software (3.22.7-0ubuntu3.17.04.4) zesty; urgency=medium

  * debian/patches/0006-Add-an-APT-plugin.patch:
    - Handle multiple debconf connections (LP: #1688721)
  * debian/patches/0018-Limit-search-entry-to-100-characters.patch:
    - Limit search entry in case of accidental input (LP: #1692398)

gnome-software (3.22.7-0ubuntu3.17.04.3) zesty; urgency=medium

  * debian/patches/0002-Add-an-APT-plugin.patch:
    - Fix crash when debconf socket fails (LP: #1689425)

 -- Robert Ancell <email address hidden> Fri, 16 Jun 2017 13:42:12 +1200

Changed in gnome-software (Ubuntu Zesty):
status: Fix Committed → Fix Released
Revision history for this message
Mac Abdul (macabdul) wrote : Re: [Bug 1688721] Re: Packages that trigger multiple debconf prompts fail to install

Whenever i try to install any appliacation i have face this problem ?
Note : See the screenshot

On Fri, Jun 30, 2017 at 1:06 AM, Launchpad Bug Tracker <
<email address hidden>> wrote:

> This bug was fixed in the package gnome-software -
> 3.22.7-0ubuntu3.17.04.5
>
> ---------------
> gnome-software (3.22.7-0ubuntu3.17.04.5) zesty; urgency=medium
>
> * debian/patches/0001-snap-Fix-icons-not-being-converted-to-
> pixbufs.patch:
> - Fix snaps without icons not showing reliably (LP: #1697565)
> * debian/patches/0001-snap-Backport-fixes-from-master.patch:
> - Show featured snaps (LP: #1663097)
> * debian/patches/0017-Use-snap-name-field-for-app-name.patch:
> - Dropped, merged into above patch
>
> gnome-software (3.22.7-0ubuntu3.17.04.4) zesty; urgency=medium
>
> * debian/patches/0006-Add-an-APT-plugin.patch:
> - Handle multiple debconf connections (LP: #1688721)
> * debian/patches/0018-Limit-search-entry-to-100-characters.patch:
> - Limit search entry in case of accidental input (LP: #1692398)
>
> gnome-software (3.22.7-0ubuntu3.17.04.3) zesty; urgency=medium
>
> * debian/patches/0002-Add-an-APT-plugin.patch:
> - Fix crash when debconf socket fails (LP: #1689425)
>
> -- Robert Ancell <email address hidden> Fri, 16 Jun 2017
> 13:42:12 +1200
>
> ** Changed in: gnome-software (Ubuntu Zesty)
> Status: Fix Committed => Fix Released
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1694521).
> https://bugs.launchpad.net/bugs/1688721
>
> Title:
> Packages that trigger multiple debconf prompts fail to install
>
> Status in gnome-software package in Ubuntu:
> Fix Released
> Status in gnome-software source package in Xenial:
> Fix Released
> Status in gnome-software source package in Yakkety:
> Fix Released
> Status in gnome-software source package in Zesty:
> Fix Released
> Status in gnome-software source package in Artful:
> Fix Released
>
> Bug description:
> [Impact]
> Some packages stall on installing. These are packages that generate
> multiple debconf prompts (the prompts may be empty and so not user visible,
> e.g. gconf2-common).
>
> [Test Case]
> 1. Remove gconf2-common (warning, may uninstall packages like
> gnome-terminal):
> $ sudo apt purge gconf2-common
> 2. Download the debian package of Chrome from www.google.com/chrome.
> 3. Install the package (browser will prompt, or double click on package
> in Nautilus).
>
> Expected result:
> Chrome installs correctly.
>
> Observed result:
> The installation hangs on 51%.
>
> [Regression Potential]
> The debconf conde was modified to support multiple requests. This could
> expose other debconf issues or break other .deb install code.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/gnome-software/
> +bug/1688721/+subscriptions
>

Revision history for this message
carlos roberto alves benevides (carlosbenevides7) wrote :
Download full text (5.0 KiB)

Dear Sir. Mac Abdul,

This issue was solved as per previous instructions and correct way to install the program. Thanks all team involved for their efforts and results to provide a quick answer.

________________________________
De: <email address hidden> <email address hidden> em nome de Mac Abdul <email address hidden>
Enviado: quinta-feira, 6 de julho de 2017 08:45:19
Para: <email address hidden>
Assunto: Re: [Bug 1688721] Re: Packages that trigger multiple debconf prompts fail to install

Whenever i try to install any appliacation i have face this problem ?
Note : See the screenshot

On Fri, Jun 30, 2017 at 1:06 AM, Launchpad Bug Tracker <
<email address hidden>> wrote:

> This bug was fixed in the package gnome-software -
> 3.22.7-0ubuntu3.17.04.5
>
> ---------------
> gnome-software (3.22.7-0ubuntu3.17.04.5) zesty; urgency=medium
>
> * debian/patches/0001-snap-Fix-icons-not-being-converted-to-
> pixbufs.patch:
> - Fix snaps without icons not showing reliably (LP: #1697565)
> * debian/patches/0001-snap-Backport-fixes-from-master.patch:
> - Show featured snaps (LP: #1663097)
> * debian/patches/0017-Use-snap-name-field-for-app-name.patch:
> - Dropped, merged into above patch
>
> gnome-software (3.22.7-0ubuntu3.17.04.4) zesty; urgency=medium
>
> * debian/patches/0006-Add-an-APT-plugin.patch:
> - Handle multiple debconf connections (LP: #1688721)
> * debian/patches/0018-Limit-search-entry-to-100-characters.patch:
> - Limit search entry in case of accidental input (LP: #1692398)
>
> gnome-software (3.22.7-0ubuntu3.17.04.3) zesty; urgency=medium
>
> * debian/patches/0002-Add-an-APT-plugin.patch:
> - Fix crash when debconf socket fails (LP: #1689425)
>
> -- Robert Ancell <email address hidden> Fri, 16 Jun 2017
> 13:42:12 +1200
>
> ** Changed in: gnome-software (Ubuntu Zesty)
> Status: Fix Committed => Fix Released
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1694521).
> https://bugs.launchpad.net/bugs/1688721
>
> Title:
> Packages that trigger multiple debconf prompts fail to install
>
> Status in gnome-software package in Ubuntu:
> Fix Released
> Status in gnome-software source package in Xenial:
> Fix Released
> Status in gnome-software source package in Yakkety:
> Fix Released
> Status in gnome-software source package in Zesty:
> Fix Released
> Status in gnome-software source package in Artful:
> Fix Released
>
> Bug description:
> [Impact]
> Some packages stall on installing. These are packages that generate
> multiple debconf prompts (the prompts may be empty and so not user visible,
> e.g. gconf2-common).
>
> [Test Case]
> 1. Remove gconf2-common (warning, may uninstall packages like
> gnome-terminal):
> $ sudo apt purge gconf2-common
> 2. Download the debian package of Chrome from www.google.com/chrome<http://www.google.com/chrome>.
> 3. Install the package (browser will prompt, or double click on package
> in Nautilus).
>
> Expected result:
> Chrome installs correctly.
>
> Observed result:
> The installation hangs on 51%.
>
> [Regression Potential]
> The debconf conde was modi...

Read more...

Revision history for this message
Mac Abdul (macabdul) wrote :
Download full text (7.0 KiB)

In Ubuntu 17.10 the "show application" should have on top-left instead of
bottom-left and "minimize-maximize-close" buttons should have been on the
left side of the window instead of right side.

On Thu, Jul 6, 2017 at 5:49 PM, carlos roberto alves benevides <
<email address hidden>> wrote:

> Dear Sir. Mac Abdul,
>
>
> This issue was solved as per previous instructions and correct way to
> install the program. Thanks all team involved for their efforts and results
> to provide a quick answer.
>
> ________________________________
> De: <email address hidden> <email address hidden> em nome de Mac Abdul <
> <email address hidden>>
> Enviado: quinta-feira, 6 de julho de 2017 08:45:19
> Para: <email address hidden>
> Assunto: Re: [Bug 1688721] Re: Packages that trigger multiple debconf
> prompts fail to install
>
> Whenever i try to install any appliacation i have face this problem ?
> Note : See the screenshot
>
> On Fri, Jun 30, 2017 at 1:06 AM, Launchpad Bug Tracker <
> <email address hidden>> wrote:
>
> > This bug was fixed in the package gnome-software -
> > 3.22.7-0ubuntu3.17.04.5
> >
> > ---------------
> > gnome-software (3.22.7-0ubuntu3.17.04.5) zesty; urgency=medium
> >
> > * debian/patches/0001-snap-Fix-icons-not-being-converted-to-
> > pixbufs.patch:
> > - Fix snaps without icons not showing reliably (LP: #1697565)
> > * debian/patches/0001-snap-Backport-fixes-from-master.patch:
> > - Show featured snaps (LP: #1663097)
> > * debian/patches/0017-Use-snap-name-field-for-app-name.patch:
> > - Dropped, merged into above patch
> >
> > gnome-software (3.22.7-0ubuntu3.17.04.4) zesty; urgency=medium
> >
> > * debian/patches/0006-Add-an-APT-plugin.patch:
> > - Handle multiple debconf connections (LP: #1688721)
> > * debian/patches/0018-Limit-search-entry-to-100-characters.patch:
> > - Limit search entry in case of accidental input (LP: #1692398)
> >
> > gnome-software (3.22.7-0ubuntu3.17.04.3) zesty; urgency=medium
> >
> > * debian/patches/0002-Add-an-APT-plugin.patch:
> > - Fix crash when debconf socket fails (LP: #1689425)
> >
> > -- Robert Ancell <email address hidden> Fri, 16 Jun 2017
> > 13:42:12 +1200
> >
> > ** Changed in: gnome-software (Ubuntu Zesty)
> > Status: Fix Committed => Fix Released
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (1694521).
> > https://bugs.launchpad.net/bugs/1688721
> >
> > Title:
> > Packages that trigger multiple debconf prompts fail to install
> >
> > Status in gnome-software package in Ubuntu:
> > Fix Released
> > Status in gnome-software source package in Xenial:
> > Fix Released
> > Status in gnome-software source package in Yakkety:
> > Fix Released
> > Status in gnome-software source package in Zesty:
> > Fix Released
> > Status in gnome-software source package in Artful:
> > Fix Released
> >
> > Bug description:
> > [Impact]
> > Some packages stall on installing. These are packages that generate
> > multiple debconf prompts (the prompts may be empty and so not user
> visible,
> > e.g. gconf2-common).
> >
> > [Test Case]
> > 1. Remove gconf2-common (w...

Read more...

Revision history for this message
invernosantigos (invernosantigos) wrote :
Download full text (4.9 KiB)

   So far, the solution has been to apply
          sudo dpkg --configure -a
          sudo apt --fix-broken install
          sudo dpkg --configure -a

Which doesn't seem like something that will bring happiness to anyone.
     But the worst is that these solutions have not worked for everyone. A lot of people gave up and had to reinstall. I was left out, for example, and I was killing myself with this problem until I almost reincarnated. I'm sure when I die, I'll be canonized...

  I found ! I found the problem (and a better solution than what the veterans have recommended): Manually installing gconf2-common via dpkg -- which is normally considered dangerous and not recommended because of the risks. dconf2-common is definitely bugged, but it's not empty or false bug reports as some veterans and developers have said out there -- it's much more serious : The configuration is incomplete and errors go up to initramfs, which accumulates errors, until installation break. this accumulation even prevents the complete and correct installation of packages in the following updates, and these errors also go up to Initramfs, in a vicious circle that ends up breaking the installation. And the unfortunate gconf-service-backend and gconf-service have a circular dependency between them. In short, gconf is all shit by sheer sloppiness of the developer. A mistake is fine, but 2, including circular dependency is just plain sloppiness, really, indefensible! The difficulty here is "Dreadful" level. But I've had a lot of practice installing packages by hand, since the time of the legendary Build-Essential bug in Trusty Tahr, which broke the system every time you tried to install the damn thing, and took 2 years to solve... challenge, and I had to download all the packages by hand and install them one-by-one, in order of dependencies, until I found the bugs. More than 20 depes... At the time, the bugs were, for example: a circular dependency on libc++-6-dev, and a dependency on it that was rotten and had to install the Lucid version, a brutal downgrade, 2 versions below. It was a school! I applied the same method here, although I don't miss the thing at all. The trick itself is to download the dependencies and place them in individual numbered folders, following the order they were installed in the dependency chain, and then open a terminal in each one and apply the dreaded "sudo dpkg --force-breaks -i *". This option is very dangerous, and it takes a lot of marijuana to face this adventure... So I first test with the "sudo dpkg -i *" version to see if there are any other pending dependencies. When approved, then yes, I reinstall with the option sudo dpkg --force-breaks -i * to ensure the package configuration without false or "semi-false" error warnings (which look fake, but generate errors in the initramfs ). The package gconf2-common can only be installed by this option in a folder ONLY with it. Otherwise, it is unconfigured, and it fucks all dependents of it that comes after... The option * should install all the packages that are in the folder together. But the new version of dpkg has one of those security features of dubious utility, which allows you to...

Read more...

Revision history for this message
invernosantigos (invernosantigos) wrote :

    And just to embitter a bit, on Debian, there are complaints about this bug dating back 3 years...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.