On Mon, Mar 30, 2015 at 11:25:57AM +0100, Lisi Reisz wrote:
> The situation:
> I need to reinstall tdm-trinity.  It's a long saga.  I am getting the 
> following.  The left hand edge is missing (on the display so on my copy) and 
> I can't see the text very well, so I may have miscopied.  But here it is, for 
> what it is worth:
> -----------------------------------------------------------------------------
> # aptitude reinstall tdm-trinity
> 
> up tdm-trinity 94:14.0.1~pre21-0debian8.0.0.2~a)...
> top-daemon:pid value must be a number greater than 0
> start-stop-daemon --help for more information

My guess is that the package scripts are trying to stop the existing
display-manager so that they can start tdm-trinity. However, maybe due
to the way s-s-d is being called, s-s-d is getting an invalid value for
the Process ID of that existing display-manager. My guess, again, is
that the PID it's getting is 0, which is indicative of "the process
you're looking for isn't running"

A couple of options to hack around this are to unpack the deb, edit the
scripts (either post-inst or pre-inst as necessary) and then re-pack the
deb, which you then install.

The other alternative would be to do some prestidigitation with s-s-d.
Write a little script:
 #!/bin/sh

 exit 0

Copy /sbin/start-stop-daemon somewhere safe and put your script in its
place (make sure to chmod +x it), then install the package (at which
point, your fake s-s-d will signal success, but do nothing). Move the
original s-s-d back into place and restart the service.

> 
> ----------------------------------------
> I then tried 
> # dpkg-reconfigure tdm-trinity
> 
> I got the following error message, left hand edge missing again:
> ------------------------------------------
> 
> 064319]systemd-default-display-manager-generator[1316]:/lib/systemd/system/tdm.service
>  
> is not a systemd unit. we disable the systemd enabled display manager
> top-daemon:pid value must be a number greater than 0
> start-stop-daemon --help for more information
> -----------------------------------------------------------
> 
> Any useful suggestions for what I could try?  In my book, chuck systemd would 
> not count as useful.  Though it has crossed my mind. :-(
> 
> Thanks.
> 
> Lisi
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: https://lists.debian.org/201503301125.57809.lisi.re...@gmail.com
> 

Attachment: signature.asc
Description: Digital signature

Reply via email to