Author Topic: Dependancy issues running Diskless_CreateTBZ.sh  (Read 8828 times)

garagevibes

  • Regular Poster
  • **
  • Posts: 42
    • View Profile
Dependancy issues running Diskless_CreateTBZ.sh
« 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

Code: [Select]
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)

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #1 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.

garagevibes

  • Regular Poster
  • **
  • Posts: 42
    • View Profile
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #2 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/

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/

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.

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #3 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.

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #4 on: January 09, 2015, 01:26:22 am »
The new package is up now.  Let me know if you have any other issues!

J.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #5 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!

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #6 on: January 10, 2015, 01:11:38 am »
 ;D  Thanks posde!  I do aim to please.

J.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #7 on: January 10, 2015, 12:20:04 pm »
Your domina told me the same :D

garagevibes

  • Regular Poster
  • **
  • Posts: 42
    • View Profile
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #8 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

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #9 on: January 12, 2015, 04:16:39 pm »
You're very welcome!

J.

Govo

  • Guru
  • ****
  • Posts: 204
    • View Profile
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #10 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

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #11 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.

Govo

  • Guru
  • ****
  • Posts: 204
    • View Profile
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #12 on: March 17, 2015, 09:20:30 pm »
No problem, its in middle of running, I will post the log.

Govo

  • Guru
  • ****
  • Posts: 204
    • View Profile
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #13 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

Please advise

Cheers
Govo

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Dependancy issues running Diskless_CreateTBZ.sh
« Reply #14 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.