package lxterminal 0.3.1-2ubuntu1 failed to install/upgrade: installed lxterminal package post-installation script subprocess returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxterminal (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
An update to lubuntu-gtk-core and lxterminal failed with the error message:-
dpkg: dependency problems prevent configuration of lubuntu-gtk-core:
lubuntu-gtk-core depends on lxterminal; however:
Package lxterminal is not configured yet.
dpkg: error processing package lubuntu-gtk-core (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
Running:
sudo dpkg --configure lxterminal
results in:-
Setting up lxterminal (0.3.1-2ubuntu1) ...
/var/lib/
dpkg: error processing package lxterminal (--configure):
installed lxterminal package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
lxterminal
and attempting to reinstall lxterminal with
sudo apt-get install --reinstall lxterminal
results in:-
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 1 reinstalled, 0 to remove and 0 not to upgrade.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for lxterminal:amd64
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: lxterminal 0.3.1-2ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Mon Mar 19 13:57:03 2018
DuplicateSignature:
package:
Setting up lxterminal (0.3.1-2ubuntu1) ...
/var/lib/
dpkg: error processing package lxterminal (--configure):
installed lxterminal package post-installation script subprocess returned error exit status 2
ErrorMessage: installed lxterminal package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2018-03-13 (5 days ago)
InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180312)
JournalErrors:
-- Logs begin at Tue 2018-03-13 23:19:22 GMT, end at Mon 2018-03-19 13:59:31 GMT. --
Mar 17 03:02:08 hostname systemd[1]: Failed to mount Mount unit for spotify.
Mar 18 12:34:49 hostname pulseaudio[931]: [alsa-sink-Intel ICH] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Mar 18 12:34:49 hostname pulseaudio[931]: [alsa-sink-Intel ICH] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to the ALSA developers.
Mar 18 12:34:49 hostname pulseaudio[931]: [alsa-sink-Intel ICH] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Python3Details: /usr/bin/python3.6, Python 3.6.5rc1, python3-minimal, 3.6.4-1
PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
RelatedPackageV
dpkg 1.19.0.5ubuntu1
apt 1.6~beta1
SourcePackage: lxterminal
Title: package lxterminal 0.3.1-2ubuntu1 failed to install/upgrade: installed lxterminal package post-installation script subprocess returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
The issue appears to be the comment:-
# The reason why this isn't 20 is documented at https:/ /bugs.launchpad .net/ubuntu/ +source/ lubuntu- meta/+bug/ 1752733/ comments/ 3
on line 8 of the lxterminal.postinst script
remove that comment, and
sudo dpkg --configure lxterminal
completes without error.