Package: redmine
Version: 0.9.0~svn2907-1

Preparing to replace redmine 0.9.0~svn2798-1~bpo0804+1 (using
redmine_0.9.0~svn2907-1~bpo50+1_all.deb) ...
dpkg: error processing redmine_0.9.0~svn2907-1~bpo50+1_all.deb
(--install):
 subprocess pre-installation script returned error exit status 10
 dbconfig-common: flushing administrative password
 Errors were encountered while processing:
  redmine_0.9.0~svn2907-1~bpo50+1_all.deb
  
Looking at the preinst:
   dpkg --compare-versions "$2" le "0.9.0~svn2819" || fCode=$?
   
This won't work as in all linux shells (but not the _proper_ ksh) all
pipelines are executed as a shell process. This needs to be rewritten
as:

  if ! dpkg --compare-versions "$2" le "0.9.0~svn2819"; then
    fCode=$?
  fi

Not sure why the preinst is failing (twice in a row).  Running preinst
by hand it all seems to work okay (and not even the first mv had
worked).  The only thing I can think is that the sourcing of
/usr/share/debconf/confmodule failed (the file does exist).  Indeed
replacing that with an empty file fixed the problem.

Thanks for packaging redmine :-)

Adrian
-- 
bitcube.co.uk - Linux infrastructure consultancy
Puppet, Debian, Red Hat, Ubuntu, CentOS, ...



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

Reply via email to