LinuxMCE Forums
General => Installation issues => Topic started by: maverick0815 on May 15, 2017, 07:57:14 am
-
I have just installed the latest updates ans lmce-core produces an error
dcerouter_1047595:/home/linuxmce# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 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-core (2.0.0.47.201705131307+14f85ee9) ...
Mo 15. Mai 07:52:50 CEST 2017 - Updating /etc/pluto.conf (if required)
/var/lib/dpkg/info/lmce-core.postinst: line 99: Configure_NTP_Server: command not found
dpkg: error processing package lmce-core (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
lmce-core
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
Strange - that call has been in there for over a year...
Do you need a hotfix, or is everything working, except the upgrade itself?
-
I did some more checking. Would you mind pasting the output of
dpkg -l | grep lmce | grep script
please.
-
There you go
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-117-generic i686)
* Documentation: https://help.ubuntu.com/
0 packages can be updated.
0 updates are security updates.
New release '16.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Last login: Mon May 15 07:42:55 2017 from 192.168.80.196
linuxmce@dcerouter:~$ sudo su
[sudo] password for linuxmce:
dcerouter_1047595:/home/linuxmce# dpkg -l | grep lmce | grep script
ii lmce-advanced-ip-camera 2.0.0.47.201702201459+325cc736 i386 <insert up to 60 chars description>
ii lmce-autotagger 2.0.0.47.201609172308+325de35d i386 <insert up to 60 chars description>
ii lmce-cec-adaptor 2.0.0.47.15121131752 i386 <insert up to 60 chars description>
iF lmce-core 2.0.0.47.201705131307+14f85ee9 i386 <insert up to 60 chars description>
ii lmce-diskless-tools 2.0.0.47.201611272017+a7c10426 i386 <insert up to 60 chars description>
ii lmce-game-db 2.0.0.47.16010131782 i386 <insert up to 60 chars description>
ii lmce-hybrid 2.0.0.47.15121531757 i386 <insert up to 60 chars description>
ii lmce-install-scripts 2.0.0.47.201602141633+a332f49a i386 <insert up to 60 chars description>
ii lmce-launch-manager 2.0.0.47.201602240724+a84db86f i386 <insert up to 60 chars description>
ii lmce-linux-igd 2.0.0.47.15121131752 i386 <insert up to 60 chars description>
ii lmce-md-meta 2.0.0.47.201705131307+14f85ee9 i386 <insert up to 60 chars description>
ii lmce-mediatomb 2.0.0.47.15121131752 i386 <insert up to 60 chars description>
ii lmce-nbd-client-wrapper 2.0.0.47.15121131752 i386 <insert up to 60 chars description>
ii lmce-qmediaplayer-plugin 2.0.0.47.15121131752 i386 <insert up to 60 chars description>
ii lmce-qorbiter-android 2.0.0.47.201603251446+a1c0f6ea i386 <insert up to 60 chars description>
ii lmce-squeezeslave 2.0.0.47.15121131752 i386 <insert up to 60 chars description>
ii lmce-usb-gamepad 2.0.0.47.15121131752 i386 <insert up to 60 chars description>
ii lmce-weather 2.0.0.47.15121131752 i386 <insert up to 60 chars description>
ii lmce-weather-plugin 2.0.0.47.15121131752 i386 <insert up to 60 chars description>
ii lmce-windowutils 2.0.0.47.16010131782 i386 <insert up to 60 chars description>
ii lmce-zfs-support 2.0.0.47.201705131307+14f85ee9 i386 <insert up to 60 chars description>
dcerouter_1047595:/home/linuxmce#
so far no hotfix is besser here
-
Is this an older install?
You /should/ have a package called lmce-install-scripts, which replaces pluto-install-scripts. See if
apt-get install lmce-core lmce-install-scripts
provides a solution.
If you *must* just have a working install, modify /var/lib/dpkg/info/lmce-core.postinst and put
Configure_NTP_Server || :
in line 99.
But I would appreciate, if you first tried the apt-get.
-
I do think its better to go through the paces...this usually brings about a solid solution, so here is the result:
login as: linuxmce
linuxmce@dcerouter's password:
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-117-generic i686)
* Documentation: https://help.ubuntu.com/
*** System restart required ***
Last login: Mon May 15 19:04:34 2017 from 192.168.80.196
linuxmce@dcerouter:~$ sudo su
[sudo] password for linuxmce:
dcerouter_1047595:/home/linuxmce# apt-get install lmce-core lmce-install-scripts
Reading package lists... Done
Building dependency tree
Reading state information... Done
lmce-core is already the newest version.
lmce-install-scripts is already the newest version.
lmce-install-scripts set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 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-core (2.0.0.47.201705131307+14f85ee9) ...
Mo 15. Mai 21:51:28 CEST 2017 - Updating /etc/pluto.conf (if required)
/var/lib/dpkg/info/lmce-core.postinst: line 99: Configure_NTP_Server: command no t found
dpkg: error processing package lmce-core (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
lmce-core
E: Sub-process /usr/bin/dpkg returned an error code (1)
dcerouter_1047595:/home/linuxmce#
it says above "System restart required" but I'd hold off on that until you tell me its okay to do so.
-
System restart is required has to do with the fact, that you probably installed a new kernel as well.
Question: Did you do apt-get upgrade first, or did you directly run apt-get dist-upgrade
-
I always do a apt-get update before the dist-upgrade.
-
apt-get up*grade* - of course you first do an up*date, but after that, do you do an upgrade or dist-upgrade?
-
:-) I understand that.
I do an apt-get update and then apt-get dist-upgrade, just as it states on the wiki-page
-
Ok. Thanks.
You didn't answer my question if this is an older install. Is it?
-
Nevermind, I think I found the issue.
Please do another apt-get update and apt-get upgrade and see if that fixes the issue. If it doesn't, do
apt-get install --reinstall lmce-core lmce-install-scripts
but as always, try the regular apt-get update / upgrade first.
Thanks
-
apt-get upgrade was working...everything is peachy :-)
Thank you very much!
-
You are welcome.