LinuxMCE Forums

General => Installation issues => Topic started by: garagevibes on January 07, 2015, 10:50:07 PM

Title: Dependancy issues running Diskless_CreateTBZ.sh
Post by: garagevibes on January 07, 2015, 10:50:07 PM
Hi all I'm trying to re-run Diskless_CreateTBZ.sh as i had some issues with my rpi image and rebuilding it didn't seem to help but now i keep getting the following dependancy issues over and over. does anyone have any ideas what the issue could be.

I'm currently running 12.04 if thats of help.

Cheers guys

Wed Jan  7 21:37:44 GMT 2015 - #### Package pluto-orbiter failed (/opt/Diskless_CreateTBZ.DVMafPyAN) - We wait 10sec and try again - to stop retrying press Ctrl-C. 
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up pluto-storage-devices (2.0.0.46.14122429893) ...
Can't locate Crypt/SmbHash.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/pluto/bin/smbpass.pl line 3.
BEGIN failed--compilation aborted at /usr/pluto/bin/smbpass.pl line 3.
dpkg: error processing pluto-storage-devices (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of pluto-boot-scripts:
pluto-boot-scripts depends on pluto-storage-devices (>= 2.0.0.46); however:
  Package pluto-storage-devices is not configured yet.
pluto-boot-scripts depends on pluto-storage-devices (<< 2.0.0.47); however:
  Package pluto-storage-devices is not configured yet.

dpkg: error processing pluto-boot-scripts (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pluto-dcecommon:
pluto-dcecommon depends on pluto-boot-scripts (>= 2.0.0.46); however:
  Package pluto-boot-scripts is not configured yet.
pluto-dcecommon depends on pluto-boot-scripts (<< 2.0.0.47); however:
  Package pluto-boot-scripts is not configured yet.

dpkg: error processing pluto-dcecommon (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pluto-confirm-dependencies:
pluto-confirm-dependencies depends on pluto-boot-scripts (>= 2.0.0.46); however:
  Package pluto-boot-scripts is not configured yet.
pluto-confirm-dependencies depends on pluto-boot-scripts (<< 2.0.0.47); however:
  Package pluto-boot-scripts is not configured yet.

dpkg: error processing pluto-confirm-dependencies (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pluto-orbiter:
pluto-orbiter depends on pluto-boot-scripts (>= 2.0.0.46); however:
  Package pluto-boot-scripts is not configured yet.
pluto-orbiter depends on pluto-boot-scripts (<< 2.0.0.47); however:
  Package pluto-boot-scripts is not configured yet.
pluto-orbiter depends on pluto-confirm-dependencies (>= 2.0.0.46); however:
  Package pluto-confirm-dependencies is not configured yet.
pluto-orbiter depends on pluto-confirm-dependencies (<< 2.0.0.47); however:
  Package pluto-confirm-dependencies is not configured yet.
pluto-orbiter depends on pluto-dcecommon (>= 2.0.0.46); however:
  Package pluto-dcecommon is not configured yet.
pluto-orbiter depends on pluto-dcecommon (<< 2.0.0.47); however:
  Package pluto-dcecommon is not configured yet.

dpkg: error processing pluto-orbiter (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pluto-test-serial-port:
pluto-test-serial-port depends on pluto-dcecommon (>= 2.0.0.46); however:
  Package pluto-dcecommon is not configured yet.
pluto-test-serial-port depends on pluto-dcecommon (<< 2.0.0.47); however:
  Package pluto-dcecommon is not configured yet.

dpkg: error processing pluto-test-serial-port (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pluto-hald:
pluto-hald depends on pluto-dcecommon (>= 2.0.0.46); however:
  Package pluto-dcecommon is not configured yet.
pluto-hald depends on pluto-dcecommon (<< 2.0.0.47); however:
  Package pluto-dcecommon is not configured yet.

dpkg: error processing pluto-hald (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pluto-createdevice:
pluto-createdevice depends on pluto-boot-scripts (>= 2.0.0.46); however:
  Package pluto-boot-scripts is not configured yet.
pluto-createdevice depends on pluto-boot-scripts (<< 2.0.0.47); however:
  Package pluto-boot-scripts is not configured yet.

dpkg: error processing pluto-createdevice (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pluto-storage-devices
pluto-boot-scripts
pluto-dcecommon
pluto-confirm-dependencies
pluto-orbiter
pluto-test-serial-port
pluto-hald
pluto-createdevice
E: Sub-process /usr/bin/dpkg returned an error code (1)
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: phenigma on January 08, 2015, 03:08:46 AM
I'll need a complete copy of the log to make any suggestions here.  Couple questions: are you building an rpi or i386 diskless image?

pastebin the log, which is at /var/log/pluto/Diskless_MD_Creation_XXXXXXXXX.log
and pastebin the Diskless_CreateTBZ.sh script you are using.

Thanks,

J.
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: garagevibes on January 09, 2015, 12:06:41 AM
Hi Phenigma,

Thank for your help, sorry should have probably given a bit more detail.
I'm attempting to create the rpi image I had this working great with your hdmi cec adapter for the pi working as well which I love by the way.
But randomly yesterday the cec control stopped working so I attempted to rebuild the image but still no success so then I apt-get updated the core & re-ran Create_DisklessTBZ.sh but then started to get these errors.

Here is the log file (sorry it's so large I left it trying for about an hour)
http://paste.ubuntu.com/9695235/ (http://paste.ubuntu.com/9695235/)

And here is the Create_DisklessTBZ.sh script - note I commented out the deb cache in case I had a funny package in there if your wondering why that's like that.
http://paste.ubuntu.com/9695246/ (http://paste.ubuntu.com/9695246/)

Also I noticed I can get it to run successfully if I comment out line 550 but then when I boot the pi & it sets up I end up with just a command prompt I guess as no device packages have been installed.

Really hope you can help the biggest annoyance is I think the htmi cec issues I was have was just down to the cable now in the end so all this was a bit pointless but I hope it can be brought back to life if not I guess I'll have to just reinstall the core.

Many thanks again for any help you can give.
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: phenigma on January 09, 2015, 12:21:11 AM
Found it.  Missing dependency that is showing itself now, perhaps removed from another raspbian pkg.  I'll get a new pkg out in the next couple hours.  You'll be able to redo the Diskless_Create at that point.

Thanks for bringing it to my attention, let me know if you have any other issues!

J.
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: phenigma on January 09, 2015, 01:26:22 AM
The new package is up now.  Let me know if you have any other issues!

J.
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: Marie.O on January 09, 2015, 10:03:59 AM
This is perfect service Phenigma.

Between 1:06 when the issue was posted, you had a fix online at 2:26. People really get much more than they pay for :D

Thanks for all your hard work J!
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: phenigma on January 10, 2015, 01:11:38 AM
 ;D  Thanks posde!  I do aim to please.

J.
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: Marie.O on January 10, 2015, 12:20:04 PM
Your domina told me the same :D
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: garagevibes on January 11, 2015, 10:47:36 AM
Hi Phenigma,

I tested rebuilding the image & it now works perfectly.

Thank you so much for your help, you've done loads to improve the system lately as well & it's much appreciated especially all the work on the rpi.

Thank you
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: phenigma on January 12, 2015, 04:16:39 PM
You're very welcome!

J.
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: Govo on March 17, 2015, 09:11:21 PM
Don't mean to hijack this topic, but today  I  decided to install 14.4 latest snap shot.  DVD ! install wen't good except  on the first boot there was no access to lmce-admin and no access to the internet on the internal network, however there was access to the internet on the core from the external nic,  quick update and upgrade and then a dist-upgrade fixed the issue, well at least from me.

#next
Powered on the MD to set it up,  but up ran into tftboot not available. so I ran the Diskless_CreateTBZ.sh  and ended up with the same issue below at the end of it trying to install.

Package pluto-orbiter failed (/opt/Diskless_CreateTBZ.DVMafPyAN) - We wait 10sec and try again - to stop retrying press Ctrl-C.


In the middle of re-running it  again, but until it's installed correctly I have no MD'S

Snap shot
LMCE­ 1404­ 20150308181­930157.iso   08­ Mar­ 2015   3.02GB   ae20691631ebdbc0­45955bba50cd4

Hardware info
HP Proliant DL385 G2 fully loaded!
Running VMware vSphere Hypervisor ;)
VM  spec for LMCE
Memory 3GB
60GB harddrive
Two nic's
Basic vm graphics.

No issue on 10.4 on the same setup.

I don't know if this a bug as I am just a basic user. but may worth looking into.

Cheers
Govo
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: phenigma on March 17, 2015, 09:17:12 PM
When it finishes running again I'd appreciate it if you could pastebin the complete diskless_create log.  I have a feeling this is occuring simply becuase we haven't updated the packages in the 1404 main repo in a long time.  I will also try running it here as I have not run diskless_create on 1404 in a very long time.  We don't run it on the 1404 dvds atm either.

J.
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: Govo on March 17, 2015, 09:20:30 PM
No problem, its in middle of running, I will post the log.
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: Govo on March 17, 2015, 09:59:20 PM
OK its done,  but its to big for pastebin

So I have uploaded it to one of my server
http://www.woodart.ie/Diskless_MD_Creation_20150317_190044.log (http://www.woodart.ie/Diskless_MD_Creation_20150317_190044.log)

Please advise

Cheers
Govo
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: phenigma on March 17, 2015, 10:14:38 PM
Gogo your log shows two things:

1. you had a network connectivity problem to archive.ubuntu.com at some point during the installation
2. you ran out of memory for dpkg to use installing pkgs.  This is shown right at the end of the log.

J.
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: Govo on March 17, 2015, 10:20:03 PM
Thats strange J, I will up the memory, but it dropping for archive.ubuntu.com is strange, would you say there is a reason for this?

cheers
Govo
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: Govo on March 17, 2015, 10:24:02 PM
ah I only have 1gb memory applied, I have upped it to 3gb, don't understand it dropping the archive.ubuntu.com  tough.

will run it again.

Cheers
Govo
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: Marie.O on March 17, 2015, 10:28:37 PM
running out of memory has nothing to do with RAM in dpkg issues
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: Govo on March 17, 2015, 10:31:11 PM
My apologies, when he said memory I taught he was referring to ram, as basic  user, is it something I can fix ?


cheers
Govo
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: Marie.O on March 18, 2015, 02:12:00 PM
Google for apt-get out of memory - I can't remember the setting, but google never fails to remember ;)
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: Govo on March 18, 2015, 09:19:34 PM
Thanks for the reply but I updated my ram and ran the command again this evening, and hey its installed


Creating chroot for MD creation at: /opt/Diskless_CreateTBZ.P8t71ANhY
Wed Mar 18 20:07:14 GMT 2015 - Untarring /usr/pluto/install/PlutoMD_Debootstraped.tar.bz2
Wed Mar 18 20:08:16 GMT 2015 - Preparing the diskless system
/opt/Diskless_CreateTBZ.P8t71ANhY/usr/pluto/deb-cache/ubuntu-trusty-i386 ~
/opt/Diskless_CreateTBZ.P8t71ANhY/usr/pluto/deb-cache/ubuntu-trusty-i386 /opt/Diskless_CreateTBZ.P8t71ANhY/usr/pluto/deb-cache/ubuntu-trusty-i386 ~
/opt/Diskless_CreateTBZ.P8t71ANhY/usr/pluto/deb-cache/ubuntu-trusty-i386 ~
~
Wed Mar 18 20:15:38 GMT 2015 - Setting up /etc/apt/sources.list for ubuntu
Wed Mar 18 20:15:38 GMT 2015 - Setting up SSH
Wed Mar 18 20:15:38 GMT 2015 - Setting up kernel postinst.d/
Wed Mar 18 20:15:38 GMT 2015 - Setting up Foxconn NT330i compatability
Wed Mar 18 20:15:38 GMT 2015 - PreSeeding package installation preferences
Reading package lists...
Building dependency tree...
debconf-i18n is already the newest version.

Somethings never ceases to amaze me!

Cheers
Govo
Title: Re: Dependancy issues running Diskless_CreateTBZ.sh
Post by: phenigma on March 21, 2015, 01:26:42 AM
Excellent!  I'm glad the issues worked themselves out with the extra RAM.  Keep in mind that 1404 is just on the cusp of being in a usable state.  There are items, like mythtv, which are not configured properly at the moment.  We need any and all help people are willing and able to provide.  Thanks for testing!

J.