[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Apt-get Error



On Wed, Jul 11, 2007 at 11:05:04AM +0100, Richard Ibbotson wrote:
> Does anyone know how to force this so that the error is fixed ? .....
> 
> After unpacking 0B of additional disk space will be used.
> Setting up mythtv-backend (0.20-svn20070223-0.0) ...
> udev active, devices will be created in /dev/.static/dev/
> Starting MythTV server: mythbackend/etc/init.d/mythtv-backend: line 
> 36: 27243 Segmentation fault      start-stop-daemon --start --pidfile 
> $RUNDIR/$NAME.pid --chuid $USER --nicelevel $NICE --exec $DAEMON -- 
> $ARGS

This segfault doesn't look good. Is it mythbackend doing that? What
happens if you try to run mythbackend without using the init script?

> invoke-rc.d: initscript mythtv-backend, action "start" failed.
> dpkg: error processing mythtv-backend (--configure):
>  subprocess post-installation script returned error exit status 139
> Errors were encountered while processing:
>  mythtv-backend
> E: Sub-process /usr/bin/dpkg returned an error code (1)

As for forcing it, you can create a script in /usr/sbin/policy-rc.d that
just contains the line "exit 101". This will stop the init script from
running.

More details on policy-rc.d are here:
http://people.debian.org/~hmh/invokerc.d-policyrc.d-specification.txt

-- 
Chris
http://crispygoth.livejournal.com/

_______________________________________________
        Sheffield Linux User's Group
  http://www.sheflug.org.uk/mailfaq.html
 GNU - The choice of a complete generation