"package is in a very bad inconsistent state" suggests a bad download and not an Ubuntu bug.
If this is still an issue then: sudo apt clean sudo apt update sudo apt install vim-common and may be sudo -f install should fix the problem. ** Changed in: vim (Ubuntu) Status: New => Incomplete -- 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/1968625 Title: package vim-common 2:8.1.2269-1ubuntu5.7 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: Incomplete Bug description: I don't know. ProblemType: Package DistroRelease: Ubuntu 20.04 Package: vim-common 2:8.1.2269-1ubuntu5.7 ProcVersionSignature: Ubuntu 5.13.0-39.44~20.04.1-generic 5.13.19 Uname: Linux 5.13.0-39-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.21 Architecture: amd64 CasperMD5CheckResult: skip Date: Mon Apr 11 14:08:22 2022 DuplicateSignature: package:vim-common:2:8.1.2269-1ubuntu5.7 Setting up libwbclient0:amd64 (2:4.13.17~dfsg-0ubuntu0.21.04.2) ... dpkg: error processing package vim-common (--configure): package is in a very bad inconsistent state; you should ErrorMessage: package is in a very bad inconsistent state; you should reinstall it before attempting configuration InstallationDate: Installed on 2021-12-28 (104 days ago) InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819) PackageArchitecture: all Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.6 SourcePackage: vim Title: package vim-common 2:8.1.2269-1ubuntu5.7 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/1968625/+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