I run a potato system an came over this while upgrading vi apt, in
the configure phase:

S
syntax error at /usr/lib/xaw-wrappers//XawWrapper.pm line 42, near ");"
syntax error at /usr/lib/xaw-wrappers//XawWrapper.pm line 57, near ");"
BEGIN failed--compilation aborted at /usr/sbin/update-xaw-wrappers line 98.
dpkg: error processing xaw-wrappers (--configure):
 subprocess post-installation script returned error exit status 2


i changed the mentioned script /usr/lib/xaw-wrappers/XawWrapper.pm
(added two closing parantheses near the end of each of the lines
42 and 57).

[EMAIL PROTECTED] xaw-wrappers]# diff  XawWrapper.pm XawWrapper.pm.orig
42c42
<                                       
XawWrapper::DeSymlinkPath(XawWrapper::GetAbsolutePath($data{program})));
---
>                                       
> XawWrapper::DeSymlinkPath(XawWrapper::GetAbsolutePath($data{program});
57c57
<               
XawWrapper::DeSymlinkPath(XawWrapper::GetAbsolutePath($data{program})));
---
>               
> XawWrapper::DeSymlinkPath(XawWrapper::GetAbsolutePath($data{program});


Johan

Reply via email to