Bug#527566: mediatomb-daemon: Installation error due to postinst script

2009-08-31 Thread Jeppe Øland
This fix is apparently not making it into testing because it depends on
mysql-dfsg-5.1.(And this package was blocked by aba).

Any idea when it will move to testing?


Bug#527566: mediatomb-daemon: Installation error due to postinst script

2009-05-16 Thread Olivier Berger
On Sat, May 09, 2009 at 09:37:51AM +0200, Eric Valette wrote:
  So the update-rc.d fails and then the postinstall script due to || exit $?
  after the command. adding || /bin/true makes the script behave correctly
  
  The '|| exit $?' happens during 'configure', not 'purge'. Were you trying 
  to 
  'purge' the package?
  
 
 Sorry I mean configure instead of purge.
 

FYI, here, there was no previous version installed, so, in the following code :
if dpkg --compare-versions $2 le 0.11.0-3; then
update-rc.d mediatomb remove /dev/null || exit $?
fi
$2 is empty, and I'm not sure dpkg --compare-versions $2 le 0.11.0-3 should 
be executed, then :-(

I patched the /var/lib/dpkg/info/mediatomb-daemon.postinst script to protect 
the configure code by a test like :
if [ x$2 != x ]; then
...
fi
and it solved the problem.

I guess this should be a valid workaround.

Best regards,



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#527566: mediatomb-daemon: Installation error due to postinst script

2009-05-09 Thread Eric Valette
Andres Mejia wrote:
 On Friday 08 May 2009 03:38:01 Eric Valette wrote:
 Package: mediatomb-daemon
 Version: 0.12.0~svn2018-2
 Severity: important

 update-rc.d: /etc/init.d/mediatomb exists during rc.d purge (use -f to
 force)

 So the update-rc.d fails and then the postinstall script due to || exit $?
 after the command. adding || /bin/true makes the script behave correctly
 
 The '|| exit $?' happens during 'configure', not 'purge'. Were you trying to 
 'purge' the package?
 

Sorry I mean configure instead of purge.

--eric




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#527566: mediatomb-daemon: Installation error due to postinst script

2009-05-08 Thread Eric Valette
Package: mediatomb-daemon
Version: 0.12.0~svn2018-2
Severity: important

update-rc.d: /etc/init.d/mediatomb exists during rc.d purge (use -f to force)

So the update-rc.d fails and then the postinstall script due to || exit $? 
after the command. adding || /bin/true makes the script behave correctly

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-rc4-git3 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mediatomb-daemon depends on:
ii  adduser 3.110add and remove users and groups
ii  mediatomb-common0.12.0~svn2018-2 UPnP MediaServer (base package)

mediatomb-daemon recommends no packages.

mediatomb-daemon suggests no packages.

-- no debconf information




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#527566: mediatomb-daemon: Installation error due to postinst script

2009-05-08 Thread Andres Mejia
On Friday 08 May 2009 03:38:01 Eric Valette wrote:
 Package: mediatomb-daemon
 Version: 0.12.0~svn2018-2
 Severity: important

 update-rc.d: /etc/init.d/mediatomb exists during rc.d purge (use -f to
 force)

 So the update-rc.d fails and then the postinstall script due to || exit $?
 after the command. adding || /bin/true makes the script behave correctly

The '|| exit $?' happens during 'configure', not 'purge'. Were you trying to 
'purge' the package?

-- 
Regards,
Andres


signature.asc
Description: This is a digitally signed message part.