package lua5.1 5.1.5-8ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1671349 reported by Tushar Chauhan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lua5.1 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Fetched 115 kB in 2s (48.3 kB/s)
Selecting previously unselected package lua5.1.
(Reading database ... 113410 files and directories currently installed.)
Preparing to unpack .../lua5.1_5.1.5-8ubuntu1_armhf.deb ...
Unpacking lua5.1 (5.1.5-8ubuntu1) ...
Selecting previously unselected package raspi-config.
Preparing to unpack .../raspi-config_20170207-1~xenial1.1_all.deb ...
Unpacking raspi-config (20170207-1~xenial1.1) ...
Selecting previously unselected package triggerhappy.
Preparing to unpack .../triggerhappy_0.3.4-2_armhf.deb ...
Unpacking triggerhappy (0.3.4-2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up lua5.1 (5.1.5-8ubuntu1) ...
update-alternatives: error: unable to open file '/var/lib/dpkg/alternatives/pico': Structure needs cleaning
dpkg: error processing package lua5.1 (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of raspi-config:
 raspi-config depends on lua5.1; however:
  Package lua5.1 is not configured yet.

dpkg: error processing package raspi-config (--configure):
 dependency problems - leaving unconfigured
Setting up triggerhappy (0.3.4-2) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                          Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...

I got above error when installing raspi-config is anyone know how to solve above error?

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: lua5.1 5.1.5-8ubuntu1
Uname: Linux 4.4.38-v7+ armv7l
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: armhf
Date: Thu Mar 9 11:15:02 2017
DuplicateSignature:
 package:lua5.1:5.1.5-8ubuntu1
 Setting up lua5.1 (5.1.5-8ubuntu1) ...
 update-alternatives: error: unable to open file '/var/lib/dpkg/alternatives/pico': Structure needs cleaning
 dpkg: error processing package lua5.1 (--configure):
  subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.19
SourcePackage: lua5.1
Title: package lua5.1 5.1.5-8ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Tushar Chauhan (tushar048) wrote :
tags: removed: need-duplicate-check
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.