package tar 1.28-2.1ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1657250 reported by hamza
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tar (Ubuntu)
New
Undecided
Unassigned

Bug Description

Issue is i mistakenly deleted dpkg folder so so many errors arises due to that.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: tar 1.28-2.1ubuntu0.1
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
Uname: Linux 4.4.0-31-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Tue Jan 17 21:05:48 2017
DuplicateSignature:
 package:tar:1.28-2.1ubuntu0.1
 Setting up tar (1.28-2.1ubuntu0.1) ...
 update-alternatives: error: cannot scan directory '/var/lib/dpkg/alternatives': No such file or directory
 dpkg: error processing package tar (--configure):
  subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2017-01-17 (0 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: tar
Title: package tar 1.28-2.1ubuntu0.1 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
hamza (mnhaj124) 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.