Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - brononius

Pages: 1 [2] 3 4 ... 31
16
Installation issues / Re: apt-get issues
« on: January 20, 2016, 06:49:35 am »
Here's the code:

Code: [Select]
cat /var/lib/dpkg/info/lmce-diskless-tools.postinst
#!/bin/bash
#!/bin/sh
# postinst script for lmce-diskless-tools
#
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
#        * <postinst> `configure' <most-recently-configured-version>
#        * <old-postinst> `abort-upgrade' <new version>
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
#          <new-version>
#        * <postinst> `abort-remove'
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
#          <failed-install-package> <version> `removing'
#          <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
    configure)
# /var/lmce-build/svn/trunk/src/UbuntuDiskless/mkr_postinst.sh
#!/bin/bash

# summary of how this script can be called:
#        * <postinst> `configure' <most-recently-configured-version>
#if [[ "$2" != "" ]] ;then
#       /usr/pluto/bin/Diskless_CreateTBZ.sh || echo "WARNING: Diskless_CreateTBZ.sh returned an error!"
#fi

if [ -x /usr/pluto/bin/Debug_LogKernelModules.sh ]; then
        /usr/pluto/bin/Debug_LogKernelModules.sh "$0" || :
fi

#################################################################
## move deb-cache to newer multi-arch friendly location
## update sourcs.list on core and all MDs to reflect new locations
if [ ! -d /usr/pluto/deb-cache ]; then
        exit 0
fi

LastVersion="$2"

# TODO: check if ver <= 20.0.0.45 (1004), only run this if it's that old
if [[ -n "$LastVersion" ]] ; then
        /usr/pluto/bin/UpdateDebCache.sh
fi

    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.



exit 0


ps my version
Quote from: cat /proc/version
Linux version 3.16.0-36-generic (buildd@roseapple) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #48~14.04.1-Ubuntu SMP Wed Apr 15 13:12:28 UTC 2015


I'll have a look tomorrow how to forcibly remove and re-install the eibd-package.... Hope I don't break to much...

17
Installation issues / Re: apt-get issues
« on: January 19, 2016, 03:15:00 pm »
Just tried to uncomment it, but still gotting some issues:

Code: [Select]
dcerouter_1044981:/# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-generic-lts-utopic linux-headers-generic-lts-utopic
  linux-image-generic-lts-utopic lmce-asterisk lmce-cec-adaptor lmce-core
  lmce-md-meta mythtv-common mythtv-frontend mythweb openjdk-7-jre
  openjdk-7-jre-headless pluto-avwizard pluto-boot-scripts
  pluto-confirm-dependencies pluto-xine-player
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up lmce-datalogger-plugin (2.0.0.47.15121131752) ...
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update
WARNING: "pear/Image_Color" is deprecated in favor of "pear/Image_Color2"
Did not download optional dependencies: pear/Numbers_Roman, pear/Numbers_Words, use --alldeps to download automatically
pear/Image_Graph can optionally use package "pear/Numbers_Roman"
pear/Image_Graph can optionally use package "pear/Numbers_Words"
downloading Image_Canvas-0.3.3.tgz ...
Starting to download Image_Canvas-0.3.3.tgz (55,245 bytes)
.....done: 55,245 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Canvas-0.3.3.tgz"
Download of "pear/Image_Canvas" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Canvas"
downloading Image_Graph-0.8.0.tgz ...
Starting to download Image_Graph-0.8.0.tgz (370,682 bytes)
...done: 370,682 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Graph-0.8.0.tgz"
Download of "pear/Image_Graph" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Graph"
downloading Image_Color-1.0.4.tgz ...
Starting to download Image_Color-1.0.4.tgz (9,656 bytes)
...done: 9,656 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Color-1.0.4.tgz"
Download of "pear/Image_Color" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Color"
Download failed
install failed
dpkg: error processing package lmce-datalogger-plugin (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up lmce-diskless-tools (2.0.0.47.15121131752) ...
/var/lib/dpkg/info/lmce-diskless-tools.postinst: line 49: syntax error near unexpected token `fi'
dpkg: error processing package lmce-diskless-tools (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up lmce-eib-eibd (2.0.0.47.15121131752) ...
The system user `eib' already exists. Exiting.
eibd: unrecognized service
dpkg: error processing package lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pluto-newmdinteractor:
 pluto-newmdinteractor depends on lmce-diskless-tools (>= 2.0.0.47); however:
  Package lmce-diskless-tools is not configured yet.
 pluto-newmdinteractor depends on lmce-diskless-tools (<< 2.0.0.48); however:
  Package lmce-diskless-tools is not configured yet.

dpkg: error processing package pluto-newmdinteractor (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 lmce-datalogger-plugin
 lmce-diskless-tools
 lmce-eib-eibd
 pluto-newmdinteractor
E: Sub-process /usr/bin/dpkg returned an error code (1)


Not sure if it's important, but it can wait for me (most important things are working on my linuxMCE). But if you want me to test/debug it a bit more, I can do it...

18
Installation issues / Re: apt-get issues
« on: January 19, 2016, 01:09:30 pm »
I couldn't uninstall the package with an underscore, but with 'dpkg -r id_my_disc'.
This removed properly the package.

And for the moment, i'm getting some other 'warnings':
Code: [Select]
dcerouter_1044981:/tmp# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-generic-lts-utopic linux-headers-generic-lts-utopic
  linux-image-generic-lts-utopic lmce-asterisk lmce-cec-adaptor lmce-core
  lmce-md-meta mythtv-common mythtv-frontend mythweb openjdk-7-jre
  openjdk-7-jre-headless pluto-avwizard pluto-boot-scripts
  pluto-confirm-dependencies pluto-xine-player
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up lmce-datalogger-plugin (2.0.0.47.15121131752) ...
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update
WARNING: "pear/Image_Color" is deprecated in favor of "pear/Image_Color2"
Did not download optional dependencies: pear/Numbers_Roman, pear/Numbers_Words, use --alldeps to download automatically
pear/Image_Graph can optionally use package "pear/Numbers_Roman"
pear/Image_Graph can optionally use package "pear/Numbers_Words"
downloading Image_Canvas-0.3.3.tgz ...
Starting to download Image_Canvas-0.3.3.tgz (55,245 bytes)
.....done: 55,245 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Canvas-0.3.3.tgz"
Download of "pear/Image_Canvas" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Canvas"
downloading Image_Graph-0.8.0.tgz ...
Starting to download Image_Graph-0.8.0.tgz (370,682 bytes)
...done: 370,682 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Graph-0.8.0.tgz"
Download of "pear/Image_Graph" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Graph"
downloading Image_Color-1.0.4.tgz ...
Starting to download Image_Color-1.0.4.tgz (9,656 bytes)
...done: 9,656 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Color-1.0.4.tgz"
Download of "pear/Image_Color" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Color"
Download failed
install failed
dpkg: error processing package lmce-datalogger-plugin (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up lmce-diskless-tools (2.0.0.47.15121131752) ...
/var/lib/dpkg/info/lmce-diskless-tools.postinst: line 48: /usr/pluto/bin/UpdateDebCache.sh: No such file or directory
dpkg: error processing package lmce-diskless-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up lmce-eib-eibd (2.0.0.47.15121131752) ...
The system user `eib' already exists. Exiting.
eibd: unrecognized service
dpkg: error processing package lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pluto-newmdinteractor:
 pluto-newmdinteractor depends on lmce-diskless-tools (>= 2.0.0.47); however:
  Package lmce-diskless-tools is not configured yet.
 pluto-newmdinteractor depends on lmce-diskless-tools (<< 2.0.0.48); however:
  Package lmce-diskless-tools is not configured yet.

dpkg: error processing package pluto-newmdinteractor (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 lmce-datalogger-plugin
 lmce-diskless-tools
 lmce-eib-eibd
 pluto-newmdinteractor
E: Sub-process /usr/bin/dpkg returned an error code (1)


ps Should I be worry about the packages that are hold back?

19
Users / Re: EIB segmentation fault
« on: January 19, 2016, 07:55:54 am »
Each time I perform an apt upgrade, i'm having the same issue.  :-[

I can "solve" it with:
Code: [Select]
wget https://www.auto.tuwien.ac.at/~mkoegler/debian/pool/main/p/pthsem/libpthsem20_2.0.8_i386.deb
dpkg -i libpthsem20_2.0.8_i386.deb

I've tried to follow the things that posde did, but I haven't got /etc/apt/preferences.
And when i run the apt reinstall, I'm getting the error
Quote
WARNING: The following packages cannot be authenticated!
  eibd-client-sources eibd-clients eibd-server libeibclient-dev libeibclient0
Authentication warning overridden.
E: Internal Error, No file name for lmce-eib-eibd:i386

When i do the apt-get update command, i'm getting
Quote
W: Failed to fetch http://ppa.launchpad.net/mkoegler/bcusdk/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.


ps I'm also getting other issues with the global apt-get upgrade. Not sure if it's related, but I mention it here, just in case... (forum-topic)

20
Installation issues / apt-get issues
« on: January 19, 2016, 07:44:53 am »
Hey,

When I try to do some apt-get upgrades, I've got several fails.
Is this easy to repair or... ?
I've already done an 'apt-get autoremove', but the errors remain.

Quote
dcerouter_1044981:/# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-generic-lts-utopic linux-headers-generic-lts-utopic
  linux-image-generic-lts-utopic lmce-asterisk lmce-cec-adaptor lmce-core
  lmce-md-meta mythtv-common mythtv-frontend mythweb openjdk-7-jre
  openjdk-7-jre-headless pluto-avwizard pluto-boot-scripts
  pluto-confirm-dependencies pluto-xine-player
The following packages will be upgraded:
  lmce-media-identifier
1 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
4 not fully installed or removed.
Need to get 0 B/375 kB of archives.
After this operation, 352 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
WARNING: The following packages cannot be authenticated!
  lmce-media-identifier
Authentication warning overridden.
(Reading database ... 179317 files and directories currently installed.)
Preparing to unpack .../lmce-media-identifier_2.0.0.47.16010531792_i386.deb ...
Unpacking lmce-media-identifier (2.0.0.47.16010531792) over (2.0.0.47.15121131752) ...
dpkg: error processing archive /var/cache/apt/archives/lmce-media-identifier_2.0.0.47.16010531792_i386.deb (--unpack):
 trying to overwrite '/usr/pluto/bin/External_Media_Identifier', which is also in package id-my-disc 1.8.ub1004
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/lmce-media-identifier_2.0.0.47

21
Users / Re: Filter the KNX Motion detection?
« on: January 18, 2016, 01:14:36 pm »
I'm using 14.04.

Not sure if the egg-timer can help me in this case, but i'm willing to give it a try.

But the eggtimer is certainly interesting since I've got the same issue that when movement is detect, the light goes out after a certain time, even when another motion has been detected. So it would be nice to extend each time the 'ON-time' when movement is detected.

22
Users / Re: Filter the KNX Motion detection?
« on: January 18, 2016, 12:26:56 pm »
I've tried that, but or i'm doing something wrong, or it doesn't do a lot. Tried min and max level, but it keeps on triggering to much.... In fact, I didn't see any difference. Btw I hate that ETS stuff to get something done with KNX. :-[

So I was thinking of finding a solution with LinuxMCE. Much easier with the events and so.

23
Users / Filter the KNX Motion detection?
« on: January 18, 2016, 08:35:36 am »
Hey,

I've got several motion detector around my house to activate some outside lights. But for the moment, they're triggered a lot by moving trees/plants... Fe i've got 35 times last night that a light went on (and off). Luckily i'm using all 'leds', but nevertheless. I would like to limit this a bit on an intelligent way (=by linuxmce i would like to say?).

I was thinking for example to use an kind of event that needs 2x times a input trigger before it activate the light. But can't find the proper formula for this.

Any tips or examples for it?

24
Users / Re: EIB segmentation fault
« on: December 14, 2015, 02:59:59 pm »
It was alread the 0.0.5 (what I did before):
Code: [Select]
https://www.auto.tuwien.ac.at/~mkoegler/debian/pool/main/b/bcusdk/bcusdk_0.0.5_all.deb
dpkg -i bcusdk_0.0.5_all.deb

but after installing the libpthsem20 2.0.8, it started to start without error?
Code: [Select]
wget https://www.auto.tuwien.ac.at/~mkoegler/debian/pool/main/p/pthsem/libpthsem20_2.0.8_i386.deb
dpkg -i libpthsem20_2.0.8_i386.deb


Code: [Select]
/usr/bin/eibd -D -R -S -i -u --daemon=/var/log/eibd.log ipt:192.168.111.21
ps -ef | grep eibd
      root     19594     1  0 14:50 ?        00:00:00 /usr/bin/eibd -D -R -S -i -u --daemon=/var/log/eibd.log ipt:192.168.111.21
      root     26480     1  0 14:22 ?        00:00:00 /usr/bin/SCREEN -d -m -S KNX_via_eibd99 /usr/pluto/bin/Spawn_Device.sh 99

So I guess it working now fine for me.
Thanks!!!

If I can test/do something to help, let me know!

25
Users / Re: EIB segmentation fault
« on: December 14, 2015, 02:48:34 pm »
Installing the deb package worked to downgrade:
Code: [Select]
      wget https://www.auto.tuwien.ac.at/~mkoegler/debian/pool/main/b/bcusdk/bcusdk_0.0.4_all.deb
      dpkg -i bcusdk_0.0.4_all.deb

But gives me the same error:
Code: [Select]
      dcerouter_1044981:/tmp# /usr/bin/eibd -D -R -S -i -u --daemon=/var/log/eibd.log ipt:192.168.111.21
      Segmentation fault (core dumped)

26
Users / Re: EIB segmentation fault
« on: December 14, 2015, 02:32:48 pm »
Sorry, no clue... :$

27
Users / Re: EIB segmentation fault
« on: December 14, 2015, 02:28:54 pm »
Are there alternatives for eibd?
I don't know any other way how to contact the IP-router of my knx installation.  :$

I'm trying to find out how I can install it directly from kroegler, but I'm always getting the info that i'm already on the latest version. :$

They're already at home complaining that some functions aren't working regarding the ligths and so (you only miss what you've got when it's not there)...


ps see my signature for the version... ;)






28
Users / Re: EIB segmentation fault
« on: December 14, 2015, 02:00:07 pm »
Poewee, no idea what I'm doing, but with gdb, I'm getting an issue with /usr/lib/libpthsem.so.20?

Code: [Select]
dcerouter_1044981:/# gdb eibd
    GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
    Copyright (C) 2014 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i686-linux-gnu".
    Type "show configuration" for configuration details.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>.
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.
    For help, type "help".
    Type "apropos word" to search for commands related to "word"...
    Reading symbols from eibd...(no debugging symbols found)...done.

(gdb) run -D -T -R -S -i -u --daemon=/var/log/eibd.log ipt:192.168.111.21
    Starting program: /usr/bin/eibd -D -T -R -S -i -u --daemon=/var/log/eibd.log ipt:192.168.111.21
    Program received signal SIGSEGV, Segmentation fault.
    0xb7fa9ab8 in ?? () from /usr/lib/libpthsem.so.20

29
Users / Re: EIB segmentation fault
« on: December 14, 2015, 01:14:43 pm »
Forget to mention that some packages were skipped during upgrade. No idea if it's linked with it.

Code: [Select]
dcerouter_1044981:/# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-generic-lts-utopic linux-headers-generic-lts-utopic
  linux-image-generic-lts-utopic lmce-asterisk lmce-cec-adaptor lmce-core
  lmce-md-meta mythtv-common mythtv-frontend mythweb openjdk-7-jre
  openjdk-7-jre-headless pluto-avwizard pluto-boot-scripts
  pluto-confirm-dependencies pluto-xine-player
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up lmce-datalogger-plugin (2.0.0.47.15121131752) ...
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update
WARNING: "pear/Image_Color" is deprecated in favor of "pear/Image_Color2"
Did not download optional dependencies: pear/Numbers_Roman, pear/Numbers_Words, use --alldeps to download automatically
pear/Image_Graph can optionally use package "pear/Numbers_Roman"
pear/Image_Graph can optionally use package "pear/Numbers_Words"
downloading Image_Canvas-0.3.3.tgz ...
Starting to download Image_Canvas-0.3.3.tgz (55,245 bytes)
.....done: 55,245 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Canvas-0.3.3.tgz"
Download of "pear/Image_Canvas" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Canvas"
downloading Image_Graph-0.8.0.tgz ...
Starting to download Image_Graph-0.8.0.tgz (370,682 bytes)
...done: 370,682 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Graph-0.8.0.tgz"
Download of "pear/Image_Graph" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Graph"
downloading Image_Color-1.0.4.tgz ...
Starting to download Image_Color-1.0.4.tgz (9,656 bytes)
...done: 9,656 bytes
could not extract the package.xml file from "/build/php5-0LI9sl/php5-5.5.9+dfsg/pear-build-download/Image_Color-1.0.4.tgz"
Download of "pear/Image_Color" succeeded, but it is not a valid package archive
Error: cannot download "pear/Image_Color"
Download failed
install failed
dpkg: error processing package lmce-datalogger-plugin (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up lmce-diskless-tools (2.0.0.47.15121131752) ...
/var/lib/dpkg/info/lmce-diskless-tools.postinst: line 48: /usr/pluto/bin/UpdateDebCache.sh: No such file or directory
dpkg: error processing package lmce-diskless-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up lmce-eib-eibd (2.0.0.47.15121131752) ...
The system user `eib' already exists. Exiting.
eibd: unrecognized service
dpkg: error processing package lmce-eib-eibd (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pluto-newmdinteractor:
 pluto-newmdinteractor depends on lmce-diskless-tools (>= 2.0.0.47); however:
  Package lmce-diskless-tools is not configured yet.
 pluto-newmdinteractor depends on lmce-diskless-tools (<< 2.0.0.48); however:
  Package lmce-diskless-tools is not configured yet.

dpkg: error processing package pluto-newmdinteractor (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 lmce-datalogger-plugin
 lmce-diskless-tools
 lmce-eib-eibd
 pluto-newmdinteractor
E: Sub-process /usr/bin/dpkg returned an error code (1)

30
Users / EIB segmentation fault
« on: December 14, 2015, 01:11:00 pm »
Hey,

Just did some apt-get upgrades, rebooted my server, and my EIB won't start anymore.  :-[
I'm getting a segmentation fault.

Code: [Select]
dcerouter_1044981:/# /usr/bin/eibd -D -T -R -S -i -u --daemon=/var/log/eibd.log ipt:192.168.111.21
   Segmentation fault (core dumped)

Any idea what i'm doing wrong, or what can be done to troubleshoot this?



ps the IP is correct, my core is 192.168.111.1.

Pages: 1 [2] 3 4 ... 31