Bug#31606: dpkg-dev: dpkg: cannot scan updates directory `/var/lib/dpkg/updates/': Bad file descriptor
This is the exact error.
dpkg-shlibdeps -Tdebian/substvars debian/tmp/usr/X11R6/bin/cheops debian/tmp/usr/lib/cheops/plugins/generic-connect.so debian/tmp/usr/lib/cheops/plugins/vnc-connect.so
dpkg: cannot scan updates directory `/var/lib/dpkg/updates/': Bad file descriptor
dpkg-shlibdeps: failure: dpkg --search gave error exit status 2
dh_shlibdeps: command returned error code
make: *** [binary-arch] Error 1
It used to work. :) I do know that /var/lib/dpkg/updates/ does exist. It is not damaged, and the disk it sits on is OK too. I can cd to the dir, create files there and delete files there. Let me know if you need more info.
-- System Information
Debian Release: 2.1
Kernel Version: Linux cerb 2.2.0-pre3 #1 Sat Jan 2 16:13:41 CST 1999 i586 unknown
Versions of the packages dpkg-dev depends on:
ii perl 5.004.04-6 Larry Wall's Practical Extracting and Report