Package: turck-mmcache Version: 2.4.6-12
When upgrading the turck-mmcache package, the process stops when trying to remove a lot of files in the /var/cache/turck-mmcache directory.
$ sudo apt-get upgrade Setting up turck-mmcache (2.4.6-12) ... /var/lib/dpkg/info/turck-mmcache.postinst: /bin/rm: Argument list too long dpkg: error processing turck-mmcache (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: turck-mmcache E: Sub-process /usr/bin/dpkg returned an error code (1)
$ ls -l /var/cache/turck-mmcache/ |wc -l 12424
The problem comes on line 197 in the file /var/lib/dpkg/info/turck-mmcache.postinst :
rm -f /var/cache/turck-mmcache/*
Using the following command instead resolves the problem :
find /var/cache/turck-mmcache/ -type f -name mmcache*.* -exec rm {} \;
I'm using Debian GNU/Linux 3.0, whith a 2.4.27 kernel, libc version 2.3.2.ds1-20 and coreutils version 5.2.1-2.
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]