Author Topic: 1004 | Cannot Create a Diskless Image  (Read 3570 times)

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
1004 | Cannot Create a Diskless Image
« on: January 22, 2012, 10:38:55 am »
Code: [Select]
dcerouter_1018133:/usr/pluto/bin# /Diskless_CreateTBZ.sh
bash: /Diskless_CreateTBZ.sh: No such file or directory
dcerouter_1018133:/usr/pluto/bin# ./Diskless_CreateTBZ.sh
Sun Jan 22 10:27:06 CET 2012 - Logging initiatilized to /var/log/pluto/Diskless_MD_Creation_20120122_102706.log
Sun Jan 22 10:27:06 CET 2012 - Creating Necessary files for MD creation to:
/tmp/Diskless_CreateTBZ.weeyGMA9k /usr/pluto/bin
Sun Jan 22 10:27:06 CET 2012 - Untarring /usr/pluto/install/PlutoMD_Debootstraped.tar.bz2
/usr/pluto/bin
Sun Jan 22 10:27:29 CET 2012 - Preparing the diskless system
OK
Sun Jan 22 10:27:32 CET 2012 - Setting up SSH
Sun Jan 22 10:27:32 CET 2012 - Setting up Foxconn NT330i compatability
Sun Jan 22 10:27:32 CET 2012 - PreSeeding package installation preferences
W: GPG error: http://packages.medibuntu.org lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2EBC26B60C5A2783
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/intrepid/universe/binary-i386/Packages.gz  404  Not Found [IP: 91.189.88.40 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.
An error (Exit code 100) occured during the last action
apt update
dcerouter_1018133:/usr/pluto/bin#

Is there something wrong with my sources.list? Or is there a bug? I also have problems upgrading, maybe related?
http://forum.linuxmce.org/index.php/topic,12331.msg86968.html#msg86968

« Last Edit: January 22, 2012, 10:41:20 am by bongowongo »

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: 1004 | Cannot Create a Diskless Image
« Reply #1 on: January 23, 2012, 02:58:06 pm »
I need to find a more reliable way to do that gpg key import, it seems to work 2 out of 3 times without problem, though sometimes it doesn't work at all.

Here's the relevant command section:
Code: [Select]
#Setup the medibuntu repo
cp -p /usr/bin/wget $TEMP_DIR/usr/bin/wget
sleep 1
LC_ALL=C chroot $TEMP_DIR /usr/bin/wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | /usr/bin/apt-key add -
VerifyExitCode "medibuntu apt key add"

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: 1004 | Cannot Create a Diskless Image
« Reply #2 on: January 23, 2012, 04:26:01 pm »
I need to find a more reliable way to do that gpg key import, it seems to work 2 out of 3 times without problem, though sometimes it doesn't work at all.

Here's the relevant command section:
Code: [Select]
#Setup the medibuntu repo
cp -p /usr/bin/wget $TEMP_DIR/usr/bin/wget
sleep 1
LC_ALL=C chroot $TEMP_DIR /usr/bin/wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | /usr/bin/apt-key add -
VerifyExitCode "medibuntu apt key add"

After your fix on the other topic about the upgrade I created a Diskless Image, it worked. Coincidence?