On Wed, Feb 18, 2015 at 09:43:19AM -0500, Wietse Venema wrote: > Rich Shepard: > > When upgrading to -2.11.4 (on Slackware-14.1), a message is displayed > > that > > line 504 in /usr/libexec/postfix/post-install has too many arguments. Adding > > double quotes to $path fixes this problem. > > Maintainers sometimes make "improvements" and that can change line > numbers. Just to be sure we are talking about the same thing, are > you referring to the same line 504 that I have here: > > 501 # Flag obsolete objects. XXX Solaris 2..9 does not have "test -e". > 502 if [ -n "$obsolete_flag" ] > 503 then > 504 test -r $path -a "$type" != "d" && obsolete="$obsolete $path" > 505 continue; > 506 else > 507 keep_list="$keep_list $path" > 508 fi > > What was the 100% exact text of the error message?
Oops, I was looking at line 504 in the 3.0.0 source. Indeed in the above line 504, $path should be in quotes, though it if it needs quoting, appending it to "obsolete" still won't work right. So the question is still why this particular obsolete path expands to too many arguments. The obsolete files counts are: 1 d $sample_directory - The directory is obsolete 32 f $sample_directory - And all the files that used to be in it 11 f $config_directory - 11 obsolete files in $config_directory 4 f $html_directory - 4 obsolete files in $html_directory 3 f $readme_directory - 3 obsolete files in $readme_directory 2 f $manpage_directory - 2 obsolete files in $manpage_directory So perhaps one of the above macros was misconfigured to contain whitespace. -- Viktor.