#215: sunwarc: prerm script syntax error
-------------------------+--------------------------------------------------
 Reporter:  ErastBenson  |              Owner:  [EMAIL PROTECTED]    
     Type:  defect       |             Status:  new                   
 Priority:  normal       |          Milestone:  Elatte Unstable Beta 1
Component:  debhelper    |            Version:  1.0                   
 Severity:  normal       |         Resolution:                        
 Keywords:               |   Launchpad_linked:  0                     
-------------------------+--------------------------------------------------
Changes (by [EMAIL PROTECTED]):

  * component:  core => debhelper
  * owner:  somebody => [EMAIL PROTECTED]

Old description:

> {{{
> Preparing to replace sunwarc 5.11.30-1 (using
> .../sunwarc_5.11.33-1_solaris-i386.deb) ...
> /var/lib/dpkg/info/sunwarc.prerm: syntax error at line 22: `}' unexpected
> dpkg: warning - old pre-removal script returned error exit status 2
> dpkg - trying script from the new package instead ...
> /var/lib/dpkg/tmp.ci/prerm: syntax error at line 22: `}' unexpected
> dpkg: error processing /export/nexenta/dists/unstable/main/binary-
> solaris-i386/devel/sunwarc_5.11.33-1_solaris-i386.deb (--unpack):
>  subprocess new pre-removal script returned error exit status 2
> }}}

New description:

 {{{
 Preparing to replace sunwarc 5.11.30-1 (using
 .../sunwarc_5.11.33-1_solaris-i386.deb) ...
 /var/lib/dpkg/info/sunwarc.prerm: syntax error at line 22: `}' unexpected
 dpkg: warning - old pre-removal script returned error exit status 2
 dpkg - trying script from the new package instead ...
 /var/lib/dpkg/tmp.ci/prerm: syntax error at line 22: `}' unexpected
 dpkg: error processing /export/nexenta/dists/unstable/main/binary-
 solaris-i386/devel/sunwarc_5.11.33-1_solaris-i386.deb (--unpack):
  subprocess new pre-removal script returned error exit status 2
 }}}

Comment:

 The problem is related to dh_installproto when alient_atexit isn't
 present, and the closing bracket of the function got inserted when
 it shouldn't.

-- 
Ticket URL: <http://www.gnusolaris.org/cgi-bin/trac.cgi/ticket/215>
Nexenta Bug Tracking System <http://www.gnusolaris.org/gswiki/Bugs>
Core Components
_______________________________________________
GNU/Solaris Development mailing list
[email protected]

Reply via email to