Bug#344976: syntax error on /var/lib/dpkg/info/debsecan.config

2005-12-28 Thread Florian Weimer
tags 344976 confirmed pending
thanks

* Nelson A. de Oliveira:

 Today while upgrading debsecan to version 0.3.2, I saw this error:

 Setting up debsecan (0.3.2) ...
 /var/lib/dpkg/info/debsecan.config: 30: arith: syntax error: STATE + 1
 dpkg: error processing debsecan (--configure):
  subprocess post-installation script returned error exit status 2
 Errors were encountered while processing:
  debsecan

 Line 30 of /var/lib/dpkg/info/debsecan.config is just a done. I don't know 
 what could be...

This is a bashism in the lines before.  POSIX requires $(($STATE + 1)),
instead of $((STATE + 1)).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#344976: syntax error on /var/lib/dpkg/info/debsecan.config

2005-12-27 Thread Nelson A. de Oliveira
Package: debsecan
Version: 0.3.2
Severity: normal

Hi!

Today while upgrading debsecan to version 0.3.2, I saw this error:

Setting up debsecan (0.3.2) ...
/var/lib/dpkg/info/debsecan.config: 30: arith: syntax error: STATE + 1
dpkg: error processing debsecan (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 debsecan

Line 30 of /var/lib/dpkg/info/debsecan.config is just a done. I don't know 
what could be...

Thank you
Nelson

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.13-rc5-mm1
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to 
pt_BR)

Versions of packages debsecan depends on:
ii  debconf [debconf-2.0] 1.4.66 Debian configuration management sy
ii  python2.3.5-3An interactive high-level object-o

Versions of packages debsecan recommends:
ii  cron  3.0pl1-92  management of regular background p
ii  postfix [mail-transport-agent 2.2.7-1A high-performance mail transport 

-- debconf information:
  debsecan/suite: GENERIC
  debsecan/report: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]