Comment 4 for bug 590228

Revision history for this message
Eddy (krionic) wrote : Re: package linux-image-2.6.32-22-generic 2.6.32-22.36 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 2

Sorry, I should have posted this right after I figured it out. A couple of weeks ago, I started going through things in a little more detail.

First error: Can't locate Debconf/Db.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/share/debconf/frontend line 6.

I checked the locations listed (/etc/perl for instance), and I couldn't find a Debconf/Db.pm folder/file. After doing a complete search of the drive, I found the file and created a sym-link to it in the /usr/local/lib/perl/5.10.1 folder. I attempted to re-install the faulty package, and it moved on to another error on the next line. At least it made progress, but it led to me doubt a whole list of packages.

Through trial and error, I found my system to essentially have a faulty debconf package. I downloaded the current package from http://packages.ubuntu.com/lucid/debconf and tried to re-install. This time, everything went well.

I wound up using dpkg due to synaptic and apt-get insisting that I fix my broken packages first.

Again, sorry I didn't post right after I figured it out.