Public bug reported: 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) ** Affects: tar (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package need-duplicate-check xenial -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to tar in Ubuntu. https://bugs.launchpad.net/bugs/1657250 Title: package tar 1.28-2.1ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 Status in tar package in Ubuntu: New 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) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tar/+bug/1657250/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp