On 18 Dec 2009, Wietse Venema wrote:
> Anthony Campbell:
> > On 18 Dec 2009, Wietse Venema wrote:
> > > Anthony Campbell:
> > > >  
> > > > I am running postfix via the Debian package in Sid.
> > > > 
> > > > I get the following message during installation or with postfix check:
> > > > 
> > > > postfix/usr/lib/postfix/post-install: line 493: test: too many arguments
> > > > /usr/lib/postfix/post-install: line 493: test: too many arguments
> > > > /usr/lib/postfix/post-install: line 493: test: too many arguments
> > > > /usr/lib/postfix/post-install: line 493: test: too many arguments
> > > > 
> > > > But postfix still runs normally.
> > > > 
> > > > I commented out the following lines in /usr/lib/postfix/post-install
> > > > which seem to refer to Solaris:
> > > > 
> > > >          # Flag obsolete objects. XXX Solaris 2..9 does not have "test 
> > > > -e".
> > > >         if [ -n "$obsolete_flag" ]
> > > >         then
> > > >             test -r $path -a "$type" != "d" && obsolete="$obsolete 
> > > > $path"
> > > >             continue;
> > > >         else
> > > >             keep_list="$keep_list $path"
> > > >         fi
> > > > 
> > > > This removes the error  and there don't seem to be any adverse effects
> > > > so far. Can anyone shed light on this please?
> > > 
> > > You probably have garbage at the end of /etc/postfix/postfix-files. 
> > > Delete any empty line, ^Z characters or other junk.
> > > 
> > >   Wietse
> > 
> > There doesn't seem to be anything of that sort there, and no empty
> > lines.
> 
> I will not take futher action until I have enough information to
> reproduce this. Perhaps surprisingly, I am not running the same
> Postfix port, and I am not running the same OS distribution.
> 
>       Wietse

I've reported it as a Debian bug for the package. Meanwhile, I assume my
workaround of commenting out the lines will not cause any problems?

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell

Reply via email to