package lua5.2 (not installed) failed to install/upgrade: installed lua5.2 package post-installation script subprocess returned error exit status 2
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)
ProcVersionSign
Uname: Linux 5.4.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
AptOrdering:
lua5.2:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Tue Oct 6 16:37:47 2020
DuplicateSignature:
package:
Setting up lua5.2 (5.2.4-1.1build3) ...
update-
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
RelatedPackageV
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)
tags: | removed: need-duplicate-check |
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: www.ubuntu. com/support/ community
http://