dpkg: error: info database format (2) is bogus or too new; try getting a newer dpkg

Bug #1867990 reported by Will DeBerry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wine (Ubuntu)
New
Undecided
Unassigned

Bug Description

Version: 16.04 HWE
Kernel: 4.15.0-91-generic

wdeberry@PLC-b362c669-da248f5c:~$ sudo apt install --reinstall nvidia-340
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/51.6 MB of archives.
After this operation, 0 B of additional disk space will be used.
debconf: delaying package configuration, since apt-utils is not installed
dpkg: error: info database format (2) is bogus or too new; try getting a newer dpkg
E: Sub-process /usr/bin/dpkg returned an error code (2)

Disclaimer: We run our own mirrors which is why the URLs/Domains are not the stock Ubuntu ones.
wdeberry@PLC-b362c669-da248f5c:~$ apt-cache policy dpkg
dpkg:
  Installed: 1.18.4ubuntu1.6
  Candidate: 1.18.4ubuntu1.6
  Version table:
 *** 1.18.4ubuntu1.6 500
        500 https://plc.internal.getwellnetwork.com/apt-plc4 test/xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.18.4ubuntu1 500
        500 https://plc.internal.getwellnetwork.com/apt-plc4 test/xenial/main amd64 Packages

wdeberry@PLC-b362c669-da248f5c:~$ cat /var/lib/dpkg/info/format
1

Worked with the #ubuntu channel and they had me do the following to no avail:
* sudo rm -rf /var/lib/apt/lists
* sudo apt autoclean
* sudo apt update && sudo apt-full upgrade

The only thing that lets me move on is to sudo rm /var/lib/dpkg/info/format. I have done this on one machine and the issue has now come back a day later.

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1867990/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
dexter kraynak (megafan153) wrote :

i also have the problem dpkg: error: info database format (2) is bogus or too new; try getting a newer dpkg

affects: ubuntu → wine (Ubuntu)
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.