Yang Zhang | 4 Apr 2011 18:11
Picon
Gravatar

Re: Ubuntu PPA package broken?

On Mon, Apr 4, 2011 at 2:50 AM,  <chris <at> ccburton.com> wrote:
>
> Yang Zhang <yanghatespam <at> gmail.com> wrote on 04/04/2011 04:34:08:
>
>> Hi, the Ubuntu 10.04 package of freenx from the PPA seems to have a
>> syntax error on line 13 of the Upstart conf. Is something wrong with
>> my installation? Thanks in advance.
>>
>> $ lsb_release -a
>> No LSB modules are available.
>> Distributor ID: Ubuntu
>> Description:    Ubuntu 10.04.2 LTS
>> Release:        10.04
>> Codename:       lucid
>>
>> $ apt-cache policy freenx
>> freenx:
>>   Installed: 0.7.3.git100327.e224628-0~ppa7~lucid
>>   Candidate: 0.7.3.git100327.e224628-0~ppa7~lucid
>>   Version table:
>>  *** 0.7.3.git100327.e224628-0~ppa7~lucid 0
>>         500
> http://ppa.launchpad.net/freenx-team/ppa/ubuntu/
>> lucid/main Packages
>>         100 /var/lib/dpkg/status
>>
>> $ sudo service freenx-server status
>> start: Unknown job: freenx-server
>
> That doesn't look right to me . . .
> . . .  but then I don't know much about ubuntu
>
> Try
> sudo service freenx-server start
>
> and see if it still gives "unknown job"
>
> or there is
>
> start freenx-server
>
>>
>> $ sudo initctl reload-configuration
>>
>> $ tail -1 /var/log/syslog
>> Apr  3 20:26:45 zs init: /etc/init/freenx-server.conf:13: Unknown stanza
>
> Yup
>
>>
>> $ cat /etc/init/freenx-server.conf
>> # apport - automatic crash report generation
>> #
>> # While this job is active, core dumps will captured by apport and
>> # used to generate automatic crash reports.
>>
>> description     "automatic crash report generation"
>>
>> start on runlevel [2345]
>> stop on runlevel [!2345]
>>
>> env enabled=1
>>
>> PATH_BIN=/usr/lib/nx
>
> PATH_BIN is not an upstart stanza. Try putting env (which
> is an upstart stanza) in front of it, (see line 11) and see
> if any errors go away  . . .

Yep, that's what I already did to get past this error on my box, but I
figured I'd report it here, and also even after doing that, other
things seem broken. Haven't looked into those, just figured it was a
sign of the general state of the package:

$ sudo service freenx-server start
start: Job failed to start

$ tail /var/log/syslog
...
Apr  4 09:09:32 zs init: freenx-server pre-start process (4704)
terminated with status 1
Apr  4 09:09:33 zs init: freenx-server post-stop process (4775)
terminated with status 1

--

-- 
Yang Zhang
http://yz.mit.edu/
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/ 

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX <at> kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________


Gmane