LinuxMCE Forums

General => Installation issues => Topic started by: F1forHELP on November 26, 2016, 06:23:55 pm

Title: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: F1forHELP on November 26, 2016, 06:23:55 pm
Downloaded the absolute latest image for the 12.04 image from http://linuxmce.iptp.org/snapshots/LMCE-1204-20161120232732-i386.iso and successfully installed.

ssh into the machine and apt-get update && apt-get upgrade to pull the latest packages

Because I have 4 media directors I executed

dcerouter_585:~# /usr/pluto/bin/Diskless_CreateTBZ.sh

It started

Sat Nov 26 07:00:07 PST 2016 - BEGIN: Host: ubuntu - precise - i386
Sat Nov 26 07:00:07 PST 2016 - BEGIN: Target: ubuntu - precise - i386
Sat Nov 26 07:00:07 PST 2016 - Creating chroot for MD creation at: /opt/Diskless_CreateTBZ.aK8KccP8A

Partway through the installer complained about missing firmware

W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168g-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8106e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8411-2.fw for module r8169

It ends with

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 lmce-md-meta : Depends: pluto-orbitergen (>= 2.0.0.46) but it is not going to be installed
                Depends: pluto-orbitergen (< 2.0.0.47) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
/usr/pluto/bin/Diskless_CreateTBZ.sh: line 170: /tmp/TeeMyOutputExitCode_3050: No such file or directory

I have lmce-md-meta installed

dcerouter_585:/etc/apt# apt-get -f install lmce-md-meta
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lmce-md-meta is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I have pluto-orbitergen installed

dcerouter_585:/etc/apt# dpkg -l | grep pluto-orbitergen
ii  pluto-orbitergen                               2.0.0.46.201611190055+fee90f43

I found the following post that kind of hints at the trouble http://forum.linuxmce.org/index.php?action=profile;u=46622;area=showposts;sa=topics;start=0 so I tried installing the packages manually.  When I attempt to reinstall the suggested packages I get

dcerouter_585:/etc/apt# apt-get -f install lmce-diskless-tools lmce-install-scripts pluto-boot-scripts pluto-hald pluto-orbitergen pluto-system-database pluto-website-admin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
pluto-boot-scripts is already the newest version.
pluto-orbitergen is already the newest version.
pluto-system-database is already the newest version.
pluto-website-admin is already the newest version.
pluto-hald is already the newest version.
lmce-install-scripts is already the newest version.
lmce-diskless-tools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dcerouter_585:/etc/apt#

Any recommendations for going forward?
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: phenigma on November 26, 2016, 06:47:00 pm
I'll try to recreate your issue.

Sent from my Nexus 5 using Tapatalk

Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: phenigma on November 27, 2016, 04:02:33 am
An update will be out in a day or two that should fix the issue you are having.  Thanks for reporting it!

J.
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: F1forHELP on November 27, 2016, 07:43:43 am
Thanks.  As I was thinking about it, I never looked to see if the files were in the download cache.

While it might not mean much, I would like to thank you and everyone else who has worked on and contributed to this project!
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: phenigma on November 27, 2016, 06:07:07 pm
Thanks again for the feedback!  The issue is actually the addition of a package that is in the Ubuntu backports repo which was not included in the diskless script.  Hopefully the fix will hit the repo today.  Have fun and thanks again for reporting!

Sent from my Nexus 5 using Tapatalk

Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: Marie.O on November 27, 2016, 07:50:26 pm
1204 debs have been created, and are online. Please report back if things are working again
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: F1forHELP on December 04, 2016, 06:51:34 pm
Just logged into my server and there are 23 packages can be updated.

Issuing the apt-get update command

The following packages have been kept back:
  linux-generic-pae linux-headers-generic-lts-trusty linux-headers-generic-pae linux-image-generic-lts-trusty
  linux-image-generic-pae
The following packages will be upgraded:
  firefox ghostscript ghostscript-cups ghostscript-x imagemagick imagemagick-common libgs9 libgs9-common libmagickcore4
  libmagickcore4-extra libmagickwand4 perlmagick
12 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

I don't see any packages listed for LMCE

Tried running the Diskless_CreateTBZ.sh afterwards and still received the same error

Sun Dec  4 09:34:00 PST 2016 - Installing lmce-md-meta for device 28
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package lmce-md-meta
/usr/pluto/bin/Diskless_CreateTBZ.sh: line 170: /tmp/TeeMyOutputExitCode_28634: No such file or directory

I am surprised that the packages are not cached at /var/cache/apt/archives.  Looking after this latest update, the only packages that are cached are what was downloaded today.

Not being a bash programmer, could the packages be sourced from the local cache, if available, instead of being downloaded from the internet?
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: phenigma on December 04, 2016, 06:59:07 pm
New lmce packages were pushed to our repo, no idea why you wouldn't be seeing them off the top of my head.

Sent from my Nexus 5 using Tapatalk

Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: phenigma on December 05, 2016, 03:19:13 pm
Can you pastebin the output of the following on your 1204 core:
Code: [Select]
apt-cache policy lmce-md-metaJ.
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: F1forHELP on December 07, 2016, 06:43:24 am
Output as requested

dcerouter_585:/home/joseph# apt-cache policy lmce-md-meta
lmce-md-meta:
  Installed: 2.0.0.46.201611190055+fee90f43
  Candidate: 2.0.0.46.201611190055+fee90f43
  Version table:
 *** 2.0.0.46.201611190055+fee90f43 0
        100 /var/lib/dpkg/status
dcerouter_585:/home/joseph#

I just tried to update again using apt-get update

dcerouter_585:/home/joseph# apt-get update
Ign http://deb.linuxmce.org precise Release.gpg
<snip>
Ign http://deb.linuxmce.org precise Release
<snip>
Ign http://deb.linuxmce.org precise/main i386 Packages/DiffIndex               
Ign http://deb.linuxmce.org precise/main TranslationIndex
<snip>
Hit http://deb.linuxmce.org precise/main i386 Packages                       
<snip>     
Ign http://deb.linuxmce.org precise/main Translation-en_US         
<snip>
Ign http://deb.linuxmce.org precise/main Translation-en             
<snip>
Fetched 1,494 kB in 4s (338 kB/s)

Based on the IGN, it looks like it is not seeing any changes in the repos.  My sources.list as set by the installer:

dcerouter_585:/etc/apt# cat sources.list
deb http://deb.linuxmce.org/ubuntu/ precise main
#deb http://deb.linuxmce.org/ precise main
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

I don't want to go back to 10.04.  I could burn it down and try again.
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: phenigma on December 07, 2016, 02:21:38 pm
That seems strange.  I wouldn't go back to 1004.  1404 is the recommended install these days (and 1604 is likely working as well.)  The package dates you're seeing don't match with the latest version.  You're seeing the previous version.  I'll check the repo more thoroughly when I get home later today.

J.
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: phenigma on December 07, 2016, 09:48:36 pm
Hmm, so it looks like the updated package didn't make it to the repo.  We'll get it updated properly.  Sorry about the confusion and thanks for the feedback!

J.
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: Marie.O on December 08, 2016, 11:15:57 am
See if it works now.
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: F1forHELP on December 10, 2016, 08:02:00 am
Sorry,

dcerouter_585:/home/joseph# apt-get update
Ign http://deb.linuxmce.org precise Release.gpg
Ign http://deb.linuxmce.org precise Release           
<snip>
Ign http://deb.linuxmce.org precise/main i386 Packages/DiffIndex
<snip>
Ign http://deb.linuxmce.org precise/main TranslationIndex                       
<snip>
Hit http://deb.linuxmce.org precise/main i386 Packages                       
Ign http://deb.linuxmce.org precise/main Translation-en_US                   
Ign http://deb.linuxmce.org precise/main Translation-en
<snip>
Fetched 1,495 kB in 4s (328 kB/s)                                 

dcerouter_585:/home/joseph# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  linux-generic-pae linux-headers-generic-lts-trusty linux-headers-generic-pae linux-image-generic-lts-trusty
  linux-image-generic-pae
The following packages will be upgraded:
  libsoap-lite-perl tzdata update-manager update-manager-core update-manager-kde
5 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Since 14.04 is the recommended install, I will just burn this down and reinstall.  Fighting repositories that are four years old doesn't sound like a good use of time.

Thank you for your efforts!  This is awesome software!
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: Marie.O on December 10, 2016, 11:37:27 am
I have done a full rebuild, and put new debs up. Please try one last time. If you still don't get the new packages, something must be very screwy.
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: F1forHELP on December 11, 2016, 07:12:16 am
dcerouter_585:/home/joseph# apt-get update
Ign http://deb.linuxmce.org precise Release.gpg
Hit http://archive.ubuntu.com precise Release.gpg
Get:1 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://archive.ubuntu.com precise-backports Release.gpg
Ign http://deb.linuxmce.org precise Release
Hit http://archive.ubuntu.com precise Release
Get:2 http://archive.ubuntu.com precise-updates Release [55.4 kB]
Ign http://deb.linuxmce.org precise/main i386 Packages/DiffIndex               
Ign http://deb.linuxmce.org precise/main TranslationIndex
Hit http://archive.ubuntu.com precise-backports Release
Hit http://archive.ubuntu.com precise/main i386 Packages               
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Get:3 http://archive.ubuntu.com precise-updates/main i386 Packages [1,113 kB]
Hit http://deb.linuxmce.org precise/main i386 Packages                       
Ign http://deb.linuxmce.org precise/main Translation-en_US                   
Ign http://deb.linuxmce.org precise/main Translation-en
Get:4 http://archive.ubuntu.com precise-updates/restricted i386 Packages [15.4 kB]
Get:5 http://archive.ubuntu.com precise-updates/universe i386 Packages [293 kB]
Get:6 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [17.3 kB]
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://archive.ubuntu.com precise-backports/main i386 Packages
Hit http://archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en
Hit http://archive.ubuntu.com precise-updates/main Translation-en
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://archive.ubuntu.com precise-updates/universe Translation-en                                                   
Hit http://archive.ubuntu.com precise-backports/main Translation-en                                                     
Hit http://archive.ubuntu.com precise-backports/multiverse Translation-en                                               
Hit http://archive.ubuntu.com precise-backports/restricted Translation-en                                               
Hit http://archive.ubuntu.com precise-backports/universe Translation-en                                                 
Fetched 1,495 kB in 7s (204 kB/s)                                                                                       
Reading package lists... Done
dcerouter_585:/home/joseph# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  linux-generic-pae linux-headers-generic-lts-trusty linux-headers-generic-pae linux-image-generic-lts-trusty
  linux-image-generic-pae
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

This was at 22:10PST on 12/10/2016.  I will try again in the morning but will probably be upgrading to 14.04 as suggested.
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: Marie.O on December 11, 2016, 10:06:22 am
what does

apt-cache policy lmce-oauth2-server

say?
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: Marie.O on December 11, 2016, 10:51:22 pm
Okay. Found the reason. Someone sometime decided it was a good idea to softlink amd64 to i386... Fixed, Packages update, and containing the right version of lmce-diskless-tools.
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: F1forHELP on December 13, 2016, 01:57:16 pm
Mon Dec 12 23:04:33 PST 2016 - Diskless media director images setup completed without a detected issue!

Thank you for your efforts!
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: phenigma on December 13, 2016, 02:00:51 pm
Excellent!  Thanks for the feedback, have fun!

J.
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: tompin2 on December 30, 2016, 04:48:53 pm
Just logged into my server and there are 23 packages can be updated.

Issuing the apt-get update command

The following packages have been kept back:
  linux-generic-pae linux-headers-generic-lts-trusty linux-headers-generic-pae linux-image-generic-lts-trusty
  linux-image-generic-pae
The following packages will be upgraded:
  firefox ghostscript ghostscript-cups ghostscript-x imagemagick imagemagick-common libgs9 libgs9-common libmagickcore4
  libmagickcore4-extra libmagickwand4 perlmagick
12 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

I don't see any packages listed for LMCE

Tried running the Diskless_CreateTBZ.sh afterwards and still received the same error

Sun Dec  4 09:34:00 PST 2016 - Installing lmce-md-meta for device 28
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package lmce-md-meta
/usr/pluto/bin/Diskless_CreateTBZ.sh: line 170: /tmp/TeeMyOutputExitCode_28634: No such file or directory

I am surprised that the packages are not cached at /var/cache/apt/archives.  Looking after this latest update, the only packages that are cached are what was downloaded today.

Not being a bash programmer, could the packages be sourced from the local cache, if available, instead of being downloaded from the internet?

Dear All Im getting this same issue but in 1404 and unable to get md diskless running, my Diskless Create TBZ has a similar output

Here is my output.

dcerouter_679:/usr/pluto/bin#  ./Diskless_CreateTBZ.sh
vie dic 30 10:42:36 EST 2016 - Logging initiatilized to /var/log/pluto/Diskless_MD_Creation_20161230_104236.log
vie dic 30 10:42:36 EST 2016 - BEGIN: Host: ubuntu - trusty - i386
vie dic 30 10:42:36 EST 2016 - BEGIN: Target: ubuntu - trusty - i386
vie dic 30 10:42:36 EST 2016 - Creating chroot for MD creation at: /opt/Diskless_CreateTBZ.K4WOZTR2Y
vie dic 30 10:42:36 EST 2016 - Creating debootstrap
I: Retrieving Release
I: Retrieving Packages
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Chosen extractor for .deb packages: dpkg-deb
chroot: failed to run command ‘/debootstrap/debootstrap’: No such file or directory
./Diskless_CreateTBZ.sh: line 170: /tmp/TeeMyOutputExitCode_6234: No such file or directory

I checked the lmce-oauth2-server and it had none installed so I Installed but no different results.

apt-get update and dist-upgrade tells no new or missing packages.  This was tested a few minutes ago.

Any ideas?
T
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: phenigma on December 30, 2016, 06:54:30 pm
You're issue looks very different.  Open a new thread and provide a pastebin of the log.

Sent from my Nexus 5 using Tapatalk

Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: tompin2 on December 30, 2016, 09:18:59 pm
Thanks Posde... Ill do it just right now... there is caos in my house!!! hahahahahahah.
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: tompin2 on December 31, 2016, 04:18:38 am
You're issue looks very different.  Open a new thread and provide a pastebin of the log.

Sent from my Nexus 5 using Tapatalk
Hi Again Posde, no need to open a new thread, I found what was causing the problem.  The router was restarting every 10 min, cause by problems with authentication with the NAS.

Thanks again for your quick reply.
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: phenigma on December 31, 2016, 04:22:04 am
I'm not posde, but you're welcome.  ;)

Sent from my Nexus 5 using Tapatalk

Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: Marie.O on December 31, 2016, 01:12:00 pm
hihi
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: tompin2 on January 01, 2017, 05:57:56 pm
I'm not posde, but you're welcome.  ;)

Sent from my Nexus 5 using Tapatalk

hahahahahahahahah ;D sorry Phenigma!!! hhaahahhahaha, I was reading another post were posde posted some info I tried to figure out the issue hahahahahah. so sorry, but thanks to all of you lmce gods that always answers!!!!!
Happy 2017... best wishes for this new year
Title: Re: I wasn't able to locate a file for the lmce-diskless-tools package
Post by: phenigma on January 01, 2017, 07:08:53 pm
;)  Happy New year to you as well!

Sent from my Nexus 5 using Tapatalk