package console-setup 1.70ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1068222 reported by natasha
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
console-setup (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

no able to delete gnu gettext

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: console-setup 1.70ubuntu5
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu13
AptOrdering:
 gettext: Remove
 console-setup: Configure
 ubuntu-minimal: Configure
Architecture: amd64
Date: Thu Oct 18 20:52:02 2012
DuplicateSignature:
 Setting up console-setup (1.70ubuntu5) ...
 update-alternatives: error: alternative path /etc/console-setup/vtrgb doesn't exist.
 dpkg: error processing console-setup (--configure):
  subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageArchitecture: all
SourcePackage: console-setup
Title: package console-setup 1.70ubuntu5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to precise on 2012-08-25 (54 days ago)
modified.conffile..etc.console.setup.remap.inc: [deleted]
modified.conffile..etc.console.setup.vtrgb: [deleted]
modified.conffile..etc.console.setup.vtrgb.vga: [deleted]
modified.conffile..etc.init.setvtrgb.conf: [deleted]
mtime.conffile..etc.init.console.setup.conf: 2010-12-21T18:50:22

Revision history for this message
natasha (nvergueles) wrote :
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 console-setup (Ubuntu):
status: New → Confirmed
Revision history for this message
JungleEditor (subscriptions-ruadesign) wrote :

I get similar error on Ubuntu 16.10 upgrade:

sudo dpkg --configure -a
Setting up console-setup-linux (1.142ubuntu5) ...
update-alternatives: error: alternative path /etc/console-setup/vtrgb.vga doesn't exist
dpkg: error processing package console-setup-linux (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 console-setup-linux

Any workarounds? (The upgrade was otherwise OK)

Revision history for this message
August Pamplona (cosmicaug-h) wrote :

I had the issue. After trying different things....

I created two files, vtrgb and vtrgb.vga as per https://www.apt-browse.org/browse/ubuntu/bionic/main/all/console-setup-linux/1.178ubuntu2/file/etc/console-setup (even though I am on Focal Fossa) and placed them at /etc/console-setup/ .

I ran sudo dpkg --configure -a and the error was gone.

Revision history for this message
August Pamplona (cosmicaug-h) wrote :

P.S. OS is recently installed Linux Mint 20.04.

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.