Ubuntu 16.04 (xenial) reached end-of-standard-support on April 29, 2021. Probably just a bad package download for which: apt-get clean, apt-get update, apt-get install vim-common would have fixed the issue.
** Changed in: vim (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to vim in Ubuntu. https://bugs.launchpad.net/bugs/1659542 Title: package vim-common 2:7.4.1689-3ubuntu1.2 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration Status in vim package in Ubuntu: Invalid Bug description: Cannot run package manager ProblemType: Package DistroRelease: Ubuntu 16.04 Package: vim-common 2:7.4.1689-3ubuntu1.2 ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6 Uname: Linux 4.4.0-21-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 AptOrdering: vim-common: Configure vim-tiny: Configure NULL: ConfigurePending Architecture: amd64 Date: Thu Jan 26 04:17:45 2017 DpkgTerminalLog: dpkg: error processing package vim-common (--configure): package is in a very bad inconsistent state; you should reinstall it before attempting configuration ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting configuration InstallationDate: Installed on 2017-01-13 (13 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) RelatedPackageVersions: dpkg 1.18.4ubuntu1 apt 1.2.15ubuntu0.2 SourcePackage: vim Title: package vim-common 2:7.4.1689-3ubuntu1.2 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1659542/+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