=================== BUG #1943: LATEST MODIFICATIONS ==================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=1943&group_id=2348
Changes by: Mathieu Roy <[EMAIL PROTECTED]>
Date: 2002-Dec-09 16:28 (Europe/Paris)
What | Removed | Added
---------------------------------------------------------------------------
CC | | [EMAIL PROTECTED]
------------------ Additional Follow-up Comments ----------------------------
I was not aware of this limitation.
Normally, rm -r $ORPHANS only remove files of packages removed, but anyway, it
just seems that we need to check the number of words in $ORPHANS (for instance
echo $ORPHANS | wc -w ) and if bigger than 128K cut the command.
=================== BUG #1943: FULL BUG SNAPSHOT ===================
Submitted by: yeupou Project: Package DataBase View
Submitted on: 2002-Dec-09 16:23
Category: modules Severity: 7
Bug Group: None Resolution: None
Assigned to: yeupou Status: Open
Summary: does not work with a lot of installed packages
Original Submission: (Florian seems busy - hope he does not have troubles)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=171300
here is the problem:
# /etc/cron.daily/pdbv
/usr/bin/pdbv: line 784: /bin/rm: Argument list too long
Line 784 is:
rm -f $ORPHANS
which probably fails because this system has many installed packages:
$ dpkg -l | wc -l
6215
and the Linux command line is limited to 128 KB.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux jophur.dyndns.org 2.4.19-k7 #1 Tue Nov 19 03:01:13 EST 2002 i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]
-- no debconf information
Follow-up Comments
*******************
-------------------------------------------------------
Date: 2002-Dec-09 16:28 By: yeupou
I was not aware of this limitation.
Normally, rm -r $ORPHANS only remove files of packages removed, but anyway, it
just seems that we need to check the number of words in $ORPHANS (for instance
echo $ORPHANS | wc -w ) and if bigger than 128K cut the command.
CC List
*******
CC Address | Comment
------------------------------------+-----------------------------
[EMAIL PROTECTED] | original submitter
No files currently attached
For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=1943&group_id=2348