Package: x11-common Version: 6.9.0.dfsg.1-4etch2 Severity: important
x11-common.postinst dies in several places in the function find_culprits with "argument list too long". It appears to be trying to expand glob patterns that look like this: /var/lib/dpkg/info/*.list as in: ls -1 $_dpkg_info_dir/*.list This of course fails if you have a lot of packages installed, preventing pretty much anything that even thinks about X11 from installing. Fixing this problem by replacing the code with the following: find $_dpkg_info_dir/. -name '*.list' simply causes the problem to recur on the following lines, which have similar scaling issues. Something like this code to generate $_smoking_guns would be better: find $_dpkg_info_dir/. -name '*.list' -print0 | egrep -zv '(xbase-clients|x11-common|xfs|xlibs)' | xargs -0 grep -l "$1" although there are some error cases that are caught by the existing code in the package that aren't caught by the above code. It would at least be able to process an unlimited number of packages. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (102, 'testing'), (101, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.16.19-zb5s-s2-nf Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages x11-common depends on: ii debconf [debconf-2.0] 1.4.30.13 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii lsb-base 3.1-5 Linux Standard Base 3.1 init scrip -- debconf information: x11-common/experimental_packages: x11-common/xwrapper/actual_allowed_users: rootonly x11-common/xwrapper/nice_value/error: * x11-common/upgrade_issues: * x11-common/x11r6_bin_not_empty: * x11-common/xwrapper/allowed_users: Root Only * x11-common/xwrapper/nice_value: 0 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]