fail to install with subprocess post-installation script returned error exit status 3
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | console-setup (Ubuntu) |
Medium
|
Colin Watson | ||
Bug Description
Binary package hint: console-setup
Hi there, I get this when updating:
Setting up console-setup (1.13ubuntu8) ...
DESTROY created new reference to dead object ' Qt::VBoxLayout' during global destruction.
dpkg: error processing console-setup (--configure):
subprocess post-installation script returned error exit status 3
I tried running :
- apt-get dist-upgrade
- apt-get --fix-broken dist-upgrade
Did not worked...
Hope this helps,
Related branches
| Terence Simpson (tsimpson) wrote : | #1 |
| zabbaskeema (zabbaskeema) wrote : | #2 |
Mine fails like that:
root@zabba9000:
DESTROY created new reference to dead object ' Qt::VBoxLayout' during global destruction.
| Fran6co (fran6co) wrote : | #3 |
Mine also fails like that:
dpkg: error al procesar console-setup (--configure):
el subproceso post-installation script devolvió el código de salida de error 20
dpkg: problemas de dependencias impiden la configuración de ubuntu-minimal:
ubuntu-minimal depende de console-setup; sin embargo:
El paquete `console-setup' no está configurado todavía.
dpkg: error al procesar ubuntu-minimal (--configure):
problemas de dependencias - se deja sin configurar
Se encontraron errores al procesar:
console-setup
ubuntu-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
| Richard Johnson (nixternal) wrote : | #4 |
Confirming since everyone responded with a broken install, plus there is a guy in #kubuntu right now with the same issue.
| Changed in console-setup: | |
| importance: | Undecided → Medium |
| status: | Unconfirmed → Confirmed |
| fenrig (maregt0) wrote : | #5 |
I get this error too
I dont know why.
Here i did a pastbin, but its in dutch.
| Oscar (osh-nbit) wrote : | #6 |
Confirmed in swedish localization too. I don't know if that's a factor though.
What would be the effect of this bug? Does anyone know?
Log follows:
sudo aptitude dist-upgrade
Läser paketlistor... Färdig
Bygger beroendeträd
Reading state information... Färdig
Läser utökad tillståndsinfor
Initierar pakettillstånd... Färdig
Bygger taggdatabas... Färdig
Inga paket kommer att installeras, uppgraderas eller tas bort.
0 paket uppgraderade, 0 nyinstallerade. 0 att ta bort och 0 inte uppgraderade.
Behöver hämta 0B arkiv. Efter uppackning kommer 0B diskplats att användas.
Ställer in console-setup (1.13ubuntu9) ...
dpkg: fel vid hantering av console-setup (--configure):
underprocess post-installation script gav felkod 20
Fel uppstod vid hantering:
console-setup
E: Sub-process /usr/bin/dpkg returned an error code (1)
En paketinstallation misslyckades. Försöker att återhämta:
Ställer in console-setup (1.13ubuntu9) ...
dpkg: fel vid hantering av console-setup (--configure):
underprocess post-installation script gav felkod 20
Fel uppstod vid hantering:
console-setup
| . (asfg-deactivatedaccount) wrote : | #7 |
Same failing here.
Setting up console-setup (1.13ubuntu9) ...
dpkg: error processing console-setup (--configure):
subprocess post-installation script returned error exit status 20
It's kind of bothersome, since ubuntu-minimal requires it.
| . (asfg-deactivatedaccount) wrote : | #8 |
Managed to get this out of it:
Setting up console-setup (1.13ubuntu9) ...
D000002: fork/exec /var/lib/
dpkg: error processing console-setup (--install):
subprocess post-installation script returned error exit status 20
Errors were encountered while processing:
console-setup
Running "sudo /var/lib/
| . (asfg-deactivatedaccount) wrote : | #9 |
Seems to be only on Kubuntu Feisty.
What seems weird, though, is that AFAIK console-setup shouldn't have too much to do with KDE.
| Joe Dougherty (joe-attaboy) wrote : | #10 |
Martin's comment got me thinking about this again. Are either one of these packages necessary for Kubuntu? I have some gnome apps installed, which is really the only non-KDE/ubuntu stuff I have on the system. What's odd about this is that it only began to occur about two weeks ago. I ignored it for a while because I've seen many bugs killed in subsequent updates. Since this is a beta, you tend not to worry about them.
I didn't want to ignore console-setup because of ubuntu-minimal's dependency on it. If you read the description of ubuntu-minimal, it appears to be necessary for the sysytem to do important stuff, so the user is between a rocak and a hard place on this.
I also noticed last night that the bug acts differently based on how you do an update. If I use apt-get from the console, everything downloaded is installed, and the error appears at the end of the update, with apparently no negative affect on the other updates.
However, if I run Adept to do the upgrades, it will fail part of the way through because of the console-
If I go back after and finish the update from the console manually, the uninstalled packages get installed and setup correctly.
| Matej Kenda (matejken) wrote : | #11 |
Trying to reconfigure the package gives the following error:
$ sudo dpkg-reconfigure console-setup
/usr/sbin/
$ dpkg -s console-setup
Package: console-setup
Status: install ok half-configured
Priority: optional
Section: utils
Installed-Size: 1148
Maintainer: Colin Watson <email address hidden>
Architecture: all
Version: 1.13ubuntu9
Config-Version: 1.13ubuntu8
Depends: debconf (>= 0.5) | debconf-2.0, perl, console-terminus (>= 4.16), xkb-data (>= 0.9), initramfs-tools (>= 0.40ubuntu30)
Recommends: kbd (>= 1.12-15) | console-tools (>= 1:0.2.3dbs-
Suggests: lsb-base (>= 3.0-6)
Conflicts: lsb-core (<< 2.0-6), lsb (<< 2.0-6), lsb-base (<< 3.0-6)
Conffiles:
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/console-
/etc/init.
/etc/init.
Description: Setup the font and the keyboard on the console
The package provides the Linux console with the same versatile
keyboard configuration that X Window uses. As a result there is no
need to duplicate or change the keyboard files just to make simple
customisations such as the use of dead keys, th...
| Matej Kenda (matejken) wrote : | #12 |
The command "/usr/share/
Does this mean that there is something wrong in the dpkg "database" files?
-- snippet of code from usr/share/
my $confmodule=
$confmodule-
1 while ($confmodule-
$frontend-
Debconf::Db->save;
exit $confmodule-
| description: | updated |
| . (asfg-deactivatedaccount) wrote : | #13 |
Found a solution. Just purge console-setup and install it again.
| Anthony Mercatante (tonio) wrote : | #14 |
That means previous version of the package had an issue, and the latest one fixes it.... Changed status to fix released.
| Changed in console-setup: | |
| status: | Confirmed → Fix Released |
| . (asfg-deactivatedaccount) wrote : | #15 |
Just purge the package and install again.
| marcmpub (marcmpub) wrote : | #16 |
Sorry if my question seems stupid but I understood martin suggestion as remove the console set-up package and then reinstall it (apt-get remove and then via adept manager request console-set-up install) and I get again the error for this console setup package....
So either i didn't understood Martin suggestion either there are still a problem
dpkg : erreur de traitement de console-setup (--configure) :
le sous-processus post-installation script a retourné une erreur de sortie d'état 20
Des erreurs ont été rencontrées pendant l'exécution :
console-setup
E: Sub-process /usr/bin/dpkg returned an error code (1)
| . (asfg-deactivatedaccount) wrote : | #17 |
run "sudo apt-get purge console-setup" and then "sudo apt-get install console-setup".
| Fran6co (fran6co) wrote : Re: [Bug 91399] Re: fail to install with subprocess post-installation script returned error exit status 3 | #18 |
No, you got to purge the package using this command:
sudo apt-get --purge remove console-setup
this will remove all the configuration files of console-setup. Then install
with:
sudo apt-get install ubuntu-minimal
On 3/23/07, marcmpub <email address hidden> wrote:
>
> Sorry if my question seems stupid but I understood martin suggestion as
> remove the console set-up package and then reinstall it (apt-get remove and
> then via adept manager request console-set-up install) and I get again the
> error for this console setup package....
> So either i didn't understood Martin suggestion either there are still a
> problem
>
> dpkg: erreur de traitement de console-setup (--configure):
> le sous-processus post-installation script a retourné une erreur de sortie
> d'état 20
> Des erreurs ont été rencontrées pendant l'exécution:
> console-setup
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> --
> fail to install with subprocess post-installation script returned error
> exit status 3
> https:/
>
| marcmpub (marcmpub) wrote : | #19 |
usermoi@ubuntu:~$ sudo apt-get purge console-setup
Password:
E: L'opération purge n'est pas valable
meaning with a rough traduction purge operation is not valid
this other suggestion
sudo apt-get --purge remove console-setup
this will remove all the configuration files of console-setup. Then install
with:
sudo apt-get install ubuntu-minimal
doesn't give any error message (against what happened in the past)
and nice to see that console-setup is installed (during my tries I could remove console setup and of course after that nothing was complainning about error in consol-setup)
Thanks to all of you it looks fine now, you are marvellous
I can go sleeping it's enough for today ;-)
| Pete Luckraft (peteluckraft) wrote : | #20 |
Fran6co saved my system ;
sudo apt-get --purge remove console-setup
sudo apt-get install ubuntu-minimal ;
Worked for me :-))
| Oscar (osh-nbit) wrote : | #21 |
Confirmed. Worked for me too.
A bug that can be closed?
| . (asfg-deactivatedaccount) wrote : | #22 |
Got the same error, again, after updating. Purging and reinstalling seems to fix it. Doesn't look like the package is able to be updated.
Who is responsible for these .debs?
| Changed in console-setup: | |
| status: | Fix Released → Confirmed |
| hector (mailbox-deandreis) wrote : | #23 |
After some (recent) updates, the bug seems to be solved (for me).
| . (asfg-deactivatedaccount) wrote : | #24 |
Got the same bug _again_ today, with the latest version of console-setup.
| Changed in console-setup: | |
| assignee: | nobody → kamion |
| Colin Watson (cjwatson) wrote : | #25 |
It looks like this bug has moved on from its initial manifestation. The original problem was probably something that's since been worked around in debconf. As for the exit status 20 which several people seem to be getting, unfortunately not one of the many logs posted here sheds any light on that.
Could somebody suffering from this problem please reproduce it with the environment variable DEBCONF_
| Changed in console-setup: | |
| status: | Confirmed → Needs Info |
| Simon Edwards (simon-simonzone) wrote : | #26 |
I'm get the same problem here when upgrading from feisty to gutsy on my laptop. The output with DEBCONF_
<apt get out stuff ....>
Setting up console-setup (1.16ubuntu5) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is console-setup
debconf (developer): starting /var/lib/
debconf (developer): <-- DEBIAN_
debconf (developer): <-- CAPB backup
debconf (developer): --> 0 multiselect escape backup
dpkg: error processing console-set (--configure):
subprocess post-installation script returned error exit status 20
dpkg: dependency problems prevent configuration of ubuntu-minimal:
ubuntu-minimal depends on console-setup; however:
Package console-setup is not configured yet.
dpkg: error processing ubuntu-minimal (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
console-setup
ubuntu-minimal
| Colin Watson (cjwatson) wrote : | #27 |
Thanks, Simon. Are you certain that this is an accurate transcription? I noticed one typo ("console-set" for "console-setup"), and wondered if there might be others. The CAPB command cannot ordinarily return anything but 0. Code 20 is "syntax error", suggesting a malformed incoming command, but incoming commands are logged before that check and I can't see any evidence of this in your log.
Very strange.
| Brian Murray (brian-murray) wrote : | #28 |
I recently noticed this error on one of my systems and have included the full debug output requested.
| Brian Murray (brian-murray) wrote : | #29 |
| Colin Watson (cjwatson) wrote : | #30 |
Fix committed for the next upload, thanks to Brian's log and configuration file.
| Changed in console-setup: | |
| status: | Incomplete → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #31 |
This bug was fixed in the package console-setup - 1.19ubuntu2
---------------
console-setup (1.19ubuntu2) hardy; urgency=low
* Handle an empty codeset in the configuration file gracefully (a remnant
of a previous bug, perhaps Debian #420802?), and re-ask the question on
upgrade (LP: #91399).
-- Colin Watson <email address hidden> Fri, 11 Jan 2008 00:30:07 +0000
| Changed in console-setup: | |
| status: | Fix Committed → Fix Released |


I have a similar error (up-to-date Kubuntu Feisty):
-----
stdin@home:~$ sudo dpkg --configure -a
Setting up console-setup (1.13ubuntu8) ...
dpkg: error processing console-setup (--configure):
subprocess post-installation script returned error exit status 20
dpkg: dependency problems prevent configuration of ubuntu-minimal:
ubuntu-minimal depends on console-setup; however:
Package console-setup is not configured yet.
dpkg: error processing ubuntu-minimal (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
console-setup
ubuntu-minimal
-----
After changing 'set -e' to 'set -ex' to the postinst I got: sbin/md5sum ] bin/md5sum ] /usr/bin/ md5sum console- setup-mini/ console- setup.config ] /etc/console- setup /etc/default/ console- setup debconf/ confmodule debconf/ frontend /var/lib/ dpkg/info/ console- setup.postinst configure 1.13ubuntu7 debconf/ frontend /var/lib/ dpkg/info/ console- setup.postinst configure 1.13ubuntu7" fails with status 20 (in my case)
-----
stdin@home:~$ sudo dpkg --configure -a
Setting up console-setup (1.13ubuntu8) ...
+ which md5sum
+ local IFS
+ IFS=:
+ [ -x /usr/local/
+ [ -x /usr/local/
+ [ -x /usr/sbin/md5sum ]
+ [ -x /usr/bin/md5sum ]
+ echo /usr/bin/md5sum
+ return 0
+ md5sum=
+ [ -z /usr/bin/md5sum ]
+ [ -f /usr/share/
+ CONFIGDIR=
+ CONFIGFILE=
+ . /usr/share/
+ [ ! ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [ ]
+ exec /usr/share/
dpkg: error processing console-setup (--configure):
subprocess post-installation script returned error exit status 20
dpkg: dependency problems prevent configuration of ubuntu-minimal:
ubuntu-minimal depends on console-setup; however:
Package console-setup is not configured yet.
dpkg: error processing ubuntu-minimal (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
console-setup
ubuntu-minimal
-----
so It looks like "exec /usr/share/