package lua5.2 (not installed) failed to install/upgrade: installed lua5.2 package post-installation script subprocess returned error exit status 2

Bug #1898707 reported by animesh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lua5.2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Problems while installing lua

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: lua5.2 (not installed)
ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
Uname: Linux 5.4.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
AptOrdering:
 lua5.2:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Oct 6 16:37:47 2020
DuplicateSignature:
 package:lua5.2:(not installed)
 Setting up lua5.2 (5.2.4-1.1build3) ...
 update-alternatives: error: alternative link /usr/bin/lua is already managed by lua
 dpkg: error processing package lua5.2 (--configure):
  installed lua5.2 package post-installation script subprocess returned error exit status 2
ErrorMessage: installed lua5.2 package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2020-08-19 (47 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2ubuntu0.1
SourcePackage: lua5.2
Title: package lua5.2 (not installed) failed to install/upgrade: installed lua5.2 package post-installation script subprocess returned error exit status 2
UpgradeStatus: Upgraded to focal on 2020-10-05 (0 days ago)

Revision history for this message
animesh (sasan1) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thank you for taking the time to file a bug report.

Based on your dpkg history log, it seems like you were not able to "apt install" other packages before trying to install lua5.2. Can you provide more information about what happened when you tried to install lua5.3, for example? It seems like dpkg has entered an inconsistent state for some reason. I tried installing lua5.3 along with lua5.2 here, as well as removing the packages (with and without --purge), and did not encounter any problems.

Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.

However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community

Changed in lua5.2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lua5.2 (Ubuntu) because there has been no activity for 60 days.]

Changed in lua5.2 (Ubuntu):
status: Incomplete → Expired
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.