This is 'Stretching' me.... :( - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Installation (/forum-16.html) +--- Thread: This is 'Stretching' me.... :( (/thread-3953.html) |
RE: This is 'Stretching' me.... :( - Skywatch - 3rd Jan, 2018 04:54 AM Well, it is still running - I guess it is better to leave it now? Or should I stop it, reflash and start again with the new commands? RE: This is 'Stretching' me.... :( - Nachteule - 3rd Jan, 2018 04:58 AM Let it run RE: This is 'Stretching' me.... :( - Skywatch - 3rd Jan, 2018 05:05 AM Ok - Give me a few hours and I'll let you know how it went! RE: This is 'Stretching' me.... :( - Skywatch - 3rd Jan, 2018 06:23 AM At 89% I get a putty fatal error, connection terminated. And trying other commands.... Terminal xbian@lounge2 ~ $ sudo xbian-config updates distupgrade prepare 1 xbian@lounge2 ~ $ sudo xbian-config updates distupgrade execute 1 nohup: redirecting stderr to stdout xbian@lounge2 ~ $ sudo xbian-config updates progress 1 And..... Terminal xbian@lounge2 ~ $ sudo dpkg --configure -a Setting up cgmanager (0.41-2) ... initctl: Unknown job: K02nfs-common insserv: warning: script 'K02nfs-common' missing LSB tags and overrides initctl: Unknown job: K02nfs-common initctl: Unknown job: S02dbus insserv: warning: script 'S02dbus' missing LSB tags and overrides initctl: Unknown job: S05nfs-common initctl: Unknown job: S02dbus initctl: Unknown job: S05nfs-common initctl: Unknown job: S02dbus initctl: Unknown job: S05nfs-common initctl: Unknown job: S02dbus initctl: Unknown job: S05nfs-common initctl: Unknown job: K02nfs-common initctl: Unknown job: S05nfs-common initctl: Unknown job: S05mountnfs-bootclean.sh insserv: warning: script 'S05mountnfs-bootclean.sh' missing LSB tags and overrides initctl: Unknown job: S05checkroot-bootclean.sh insserv: warning: script 'S05checkroot-bootclean.sh' missing LSB tags and overrides insserv: Service mountkernfs has to be enabled to start service cgmanager insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error processing package cgmanager (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of systemd-shim: systemd-shim depends on cgmanager (>= 0.32); however: Package cgmanager is not configured yet. dpkg: error processing package systemd-shim (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: cgmanager systemd-shim xbian@lounge2 ~ $ Can I get forward from here - all seems to be working.... ??? RE: This is 'Stretching' me.... :( - Nachteule - 3rd Jan, 2018 07:22 AM Why are you running sudo dpkg --configure -a The progress command returns 1, means upgrade is in progress. You have to wait until progress returns 0 RE: This is 'Stretching' me.... :( - Skywatch - 3rd Jan, 2018 07:36 AM There was a time gap between those term outputs. The pi rebooted and I thought that it might help to seeif there was anything missing. Now I have stretch working it seems (confirmed by lsb_release -a) and even after xbian-config there are no updates and no new upgrades. All is the latest (or so it tells me). Returns a 0 now too It's working as far as I can tell. Nothing not working I have tried at all. So, is there anything you can think of to check to make sure? RE: This is 'Stretching' me.... :( - Nachteule - 3rd Jan, 2018 07:54 AM (3rd Jan, 2018 07:36 AM)Skywatch Wrote: There was a time gap between those term outputs. The pi rebooted and I thought that it might help to seeif there was anything missing. Congratulations If apt-get upgrade does not do anything and apt-get install -f runs ok, all has been done But, dpkg --configure -a reports an error, does this error still exists? RE: This is 'Stretching' me.... :( - Skywatch - 3rd Jan, 2018 08:10 AM Thanks!...... Hmmm....maybe a little cleaning up to do then...... Terminal xbian@lounge2 ~ $ sudo apt-get install -f [sudo] password for xbian: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Create a snapshot of '/run/btrfs-snap/root/@' in '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2018-01-02-2208' Delete subvolume (no-commit): '/run/btrfs-snap/root/@last_good_known' Create a snapshot of '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2018-01-02-2208' in '/run/btrfs-snap/root/@last_good_known' Delete subvolume (no-commit): '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2018-01-02-2044' @btrfs-auto-snap_apt-run-2018-01-02-2208, 1 created snapshots, 1 destroyed snapshots, 0 warnings. Setting up cgmanager (0.41-2) ... initctl: Unknown job: K02nfs-common insserv: warning: script 'K02nfs-common' missing LSB tags and overrides initctl: Unknown job: K02nfs-common initctl: Unknown job: S02dbus insserv: warning: script 'S02dbus' missing LSB tags and overrides initctl: Unknown job: S05nfs-common initctl: Unknown job: S02dbus initctl: Unknown job: S05nfs-common initctl: Unknown job: S02dbus initctl: Unknown job: S05nfs-common initctl: Unknown job: S02dbus initctl: Unknown job: S05nfs-common initctl: Unknown job: K02nfs-common initctl: Unknown job: S05nfs-common initctl: Unknown job: S05mountnfs-bootclean.sh insserv: warning: script 'S05mountnfs-bootclean.sh' missing LSB tags and overrides initctl: Unknown job: S05checkroot-bootclean.sh insserv: warning: script 'S05checkroot-bootclean.sh' missing LSB tags and overrides insserv: Service mountkernfs has to be enabled to start service cgmanager insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error processing package cgmanager (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of systemd-shim: systemd-shim depends on cgmanager (>= 0.32); however: Package cgmanager is not configured yet. dpkg: error processing package systemd-shim (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: cgmanager systemd-shim E: Sub-process /usr/bin/dpkg returned an error code (1) Thank you as ever..... RE: This is 'Stretching' me.... :( - Nachteule - 4th Jan, 2018 02:00 AM Seems you have to reinstall cgmanager first: Code: cd /tmp && apt-get download cgmanager && sudo dpkg -i cgmanager*deb && sudo apt-get install -f RE: This is 'Stretching' me.... :( - Skywatch - 4th Jan, 2018 02:08 AM Thank you - But that still gives an error for some reason..... Terminal xbian@lounge2 ~ $ cd /tmp && apt-get download cgmanager && sudo dpkg -i cgmanager*deb && apt-get install -f Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main armhf cgmanager armhf 0.41-2 [78.7 kB] Fetched 78.7 kB in 0s (144 kB/s) [sudo] password for xbian: (Reading database ... 41416 files and directories currently installed.) Preparing to unpack cgmanager_0.41-2_armhf.deb ... Unpacking cgmanager (0.41-2) over (0.41-2) ... Setting up cgmanager (0.41-2) ... initctl: Unknown job: K02nfs-common insserv: warning: script 'K02nfs-common' missing LSB tags and overrides initctl: Unknown job: K02nfs-common initctl: Unknown job: S02dbus insserv: warning: script 'S02dbus' missing LSB tags and overrides initctl: Unknown job: S05nfs-common initctl: Unknown job: S02dbus initctl: Unknown job: S05nfs-common initctl: Unknown job: S02dbus initctl: Unknown job: S05nfs-common initctl: Unknown job: S02dbus initctl: Unknown job: S05nfs-common initctl: Unknown job: K02nfs-common initctl: Unknown job: S05nfs-common initctl: Unknown job: S05mountnfs-bootclean.sh insserv: warning: script 'S05mountnfs-bootclean.sh' missing LSB tags and overrides initctl: Unknown job: S05checkroot-bootclean.sh insserv: warning: script 'S05checkroot-bootclean.sh' missing LSB tags and overrides insserv: Service mountkernfs has to be enabled to start service cgmanager insserv: exiting now! update-rc.d: error: insserv rejected the script header dpkg: error processing package cgmanager (--install): subprocess installed post-installation script returned error exit status 1 Processing triggers for systemd (232-25+deb9u1) ... Processing triggers for man-db (2.7.6.1-2) ... Errors were encountered while processing: cgmanager RE: This is 'Stretching' me.... :( - Nachteule - 4th Jan, 2018 02:12 AM OMG, that mountkernfs issue again Run: Code: sudo ln -s ../init.d/mountkernfs.sh /etc/rcS.d/S04mountkernfs and try again Btw, is this the Pi you migrated from Pi1 to Pi2? RE: This is 'Stretching' me.... :( - Skywatch - 4th Jan, 2018 02:38 AM (4th Jan, 2018 02:12 AM)Nachteule Wrote: Btw, is this the Pi you migrated from Pi1 to Pi2? Yes and no Yes, it is that pi. No it is not that OS (did the 'dirty' upgrade in the end so no original stuff from the old pi1 for 'this' pi would be left on there). I needed to add another 'sudo' to your command, but now I have this..... Terminal xbian@lounge2 /tmp $ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Success Thanks so much for the help. RE: This is 'Stretching' me.... :( - Nachteule - 4th Jan, 2018 02:51 AM Ah, good news Usually I never use sudo because I'm sshing always as root (old behavior ). Anyway, I've added that missing sudo RE: This is 'Stretching' me.... :( - Skywatch - 4th Jan, 2018 02:54 AM (4th Jan, 2018 02:51 AM)Nachteule Wrote: Usually I never use sudo because I'm sshing always as root (old behavior ). Anyway, I've added that missing sudo I read that is was a secuirty risk to allow ssh root access, that is why I never use it even though it is set up to not allow passwords or pam and only works with key authentication. RE: This is 'Stretching' me.... :( - Nachteule - 4th Jan, 2018 03:05 AM Yeah, I'm using ssh with keys only since years Quote:I read that is was a secuirty risk to allow ssh root access, that is why I never use it even though it is set up to not allow passwords or pam and only works with key authentication. But, honestly, this is bullshit, bc as far as you can login as user xbian with standard password, you can run sudo bash and have full root rights Btw, in a few days (probably next weekend) I'll enable warning message if xbian's password has not been changed |