Author Topic: [SOLVED] Diskless_CreateTBZ.sh error: run dist-upgrade?  (Read 4374 times)

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
[SOLVED] Diskless_CreateTBZ.sh error: run dist-upgrade?
« on: October 12, 2012, 07:37:35 am »
Hey,

I'm giving the Diskless MD another try. But when i run the script (diskless_createtbz.sh), it ends with an error.
Any idea what's going wrong?

Code: [Select]
sudo /usr/pluto/bin/Diskless_CreateTBZ.sh | tee > /var/log/dctbz.log
more /var/log/dctbz.log
Code: [Select]
more /var/log/dctbz.log
Fri Oct 12 09:31:15 CEST 2012 - Logging initiatilized to /var/log/pluto/Diskless_MD_Creation_20121012_093115.log
Fri Oct 12 09:31:15 CEST 2012 - BEGIN: Target: ubuntu - lucid - i386
Fri Oct 12 09:31:15 CEST 2012 - BEGIN: Host: ubuntu - lucid - i386
Fri Oct 12 09:31:15 CEST 2012 - Creating chroot for MD creation at: /tmp/Diskless_CreateTBZ.ukfieISNY
Fri Oct 12 09:31:15 CEST 2012 - Untarring /usr/pluto/install/PlutoMD_Debootstraped.tar.bz2
Fri Oct 12 09:32:30 CEST 2012 - Preparing the diskless system
Fri Oct 12 09:32:31 CEST 2012 - Setting up /etc/sources.list for HOST_DISTRO: ubuntu
Fri Oct 12 09:32:31 CEST 2012 - Setting up SSH
Fri Oct 12 09:32:31 CEST 2012 - Setting up Foxconn NT330i compatability
Fri Oct 12 09:32:31 CEST 2012 - PreSeeding package installation preferences
W: GPG error: http://webmin.mirror.somersettechsolutions.co.uk sarge Release: The following signatures couldn't be verified because the public key is not ava
ilable: NO_PUBKEY D97A3AE911F63C51
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 2
EBC26B60C5A2783
W: GPG error: http://www.auto.tuwien.ac.at eib Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7DC4
FF45991BF361
W: GPG error: http://download.webmin.com sarge Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D97A
3AE911F63C51
Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  medibuntu-keyring
0 upgraded, 1 newly installed, 0 to remove and 79 not upgraded.
Need to get 0B/3448B of archives.
After this operation, 49.2kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  medibuntu-keyring
Authentication warning overridden.
Selecting previously deselected package medibuntu-keyring.
(Reading database ... 11215 files and directories currently installed.)
Unpacking medibuntu-keyring (from .../medibuntu-keyring_2008.04.20_all.deb) ...
Setting up medibuntu-keyring (2008.04.20) ...
OK

Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  debconf-utils
0 upgraded, 1 newly installed, 0 to remove and 79 not upgraded.
Need to get 0B/40.4kB of archives.
After this operation, 168kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  debconf-utils
Authentication warning overridden.
Selecting previously deselected package debconf-utils.
(Reading database ... 11219 files and directories currently installed.)
Unpacking debconf-utils (from .../debconf-utils_1.5.28ubuntu4_all.deb) ...
Setting up debconf-utils (1.5.28ubuntu4) ...

Fri Oct 12 09:32:50 CEST 2012 - Installing packages to MD
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 79 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  apt apt-utils aptitude base-files bsdutils bzip2 ca-certificates coreutils
  cron dhcp3-client dhcp3-common dmsetup dpkg e2fslibs e2fsprogs gcc-4.4-base
  gnupg gnupg-curl gpgv gzip ifupdown initscripts insserv libblkid1 libbz2-1.0
  libc-bin libc6 libc6-i686 libcomerr2 libcurl3-gnutls libdbus-1-3
  libdevmapper1.02.1 libgcc1 libgcrypt11 libglib2.0-0 libgnutls26
  libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2
  libpam-modules libpam-runtime libpam0g libpcre3 libplymouth2 libpng12-0
  libss2 libssl0.9.8 libstdc++6 libtasn1-3 libudev0 libusb-0.1-4 libuuid1
  login logrotate mount mountall ntpdate openssl passwd perl perl-base
  perl-modules plymouth procps python2.6 python2.6-minimal rsyslog sudo
  sysv-rc sysvinit-utils tar tzdata udev upstart ureadahead util-linux
  xkb-data
79 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/43.8MB of archives.
After this operation, 442kB disk space will be freed.
WARNING: The following packages cannot be authenticated!
  libpam-modules base-files coreutils dpkg libc-bin libc6 libc6-i686
  gcc-4.4-base libgcc1 libstdc++6 tzdata e2fslibs e2fsprogs gzip login mount
  perl-modules bzip2 libbz2-1.0 perl perl-base tar insserv sysvinit-utils
  sysv-rc libpam0g passwd initscripts libdbus-1-3 libudev0 ifupdown
  libdevmapper1.02.1 util-linux udev dmsetup libpcre3 libglib2.0-0
  libusb-0.1-4 procps plymouth libpng12-0 libplymouth2 mountall upstart
  bsdutils apt libssl0.9.8 libuuid1 libblkid1 libcomerr2 libpam-runtime libss2
  python2.6 python2.6-minimal apt-utils aptitude cron dhcp3-client
  dhcp3-common gpgv gnupg libgcrypt11 libtasn1-3 libgnutls26 libk5crypto3
  libgssapi-krb5-2 libkrb5-3 libkrb5support0 libldap-2.4-2 openssl
  ca-certificates libcurl3-gnutls gnupg-curl logrotate rsyslog ureadahead
  ntpdate sudo xkb-data
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
(Reading database ... 11242 files and directories currently installed.)
Preparing to replace libpam-modules 1.1.1-2ubuntu2 (using .../libpam-modules_1.1.1-2ubuntu5.4_i386.deb) ...
Unpacking replacement libpam-modules ...
Setting up libpam-modules (1.1.1-2ubuntu5.4) ...

(Reading database ... 11242 files and directories currently installed.)
Preparing to replace base-files 5.0.0ubuntu20 (using .../base-files_5.0.0ubuntu20.10.04.5_i386.deb) ...
Unpacking replacement base-files ...
Setting up base-files (5.0.0ubuntu20.10.04.5) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...

(Reading database ... 11242 files and directories currently installed.)
Preparing to replace coreutils 7.4-2ubuntu2 (using .../coreutils_7.4-2ubuntu3_i386.deb) ...
Unpacking replacement coreutils ...
Setting up coreutils (7.4-2ubuntu3) ...
(Reading database ... 11242 files and directories currently installed.)
Preparing to replace dpkg 1.15.5.6ubuntu4 (using .../dpkg_1.15.5.6ubuntu4.6_i386.deb) ...
Unpacking replacement dpkg ...
Setting up dpkg (1.15.5.6ubuntu4.6) ...

(Reading database ... 11242 files and directories currently installed.)
Preparing to replace libc-bin 2.11.1-0ubuntu7 (using .../libc-bin_2.11.1-0ubuntu7.11_i386.deb) ...
Unpacking replacement libc-bin ...
Setting up libc-bin (2.11.1-0ubuntu7.11) ...

(Reading database ... 11242 files and directories currently installed.)
Preparing to replace libc6 2.11.1-0ubuntu7 (using .../libc6_2.11.1-0ubuntu7.11_i386.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.11.1-0ubuntu7.11) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11242 files and directories currently installed.)
Preparing to replace libc6-i686 2.11.1-0ubuntu7 (using .../libc6-i686_2.11.1-0ubuntu7.11_i386.deb) ...
Unpacking replacement libc6-i686 ...
Preparing to replace gcc-4.4-base 4.4.3-4ubuntu5 (using .../gcc-4.4-base_4.4.3-4ubuntu5.1_i386.deb) ...
Unpacking replacement gcc-4.4-base ...
Setting up gcc-4.4-base (4.4.3-4ubuntu5.1) ...
(Reading database ... 11242 files and directories currently installed.)
Preparing to replace libgcc1 1:4.4.3-4ubuntu5 (using .../libgcc1_1%3a4.4.3-4ubuntu5.1_i386.deb) ...
Unpacking replacement libgcc1 ...
Setting up libgcc1 (1:4.4.3-4ubuntu5.1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11242 files and directories currently installed.)
Preparing to replace libstdc++6 4.4.3-4ubuntu5 (using .../libstdc++6_4.4.3-4ubuntu5.1_i386.deb) ...
Unpacking replacement libstdc++6 ...
Setting up libstdc++6 (4.4.3-4ubuntu5.1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11242 files and directories currently installed.)
Preparing to replace tzdata 2010i-1 (using .../tzdata_2012e-0ubuntu0.10.04_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2012e-0ubuntu0.10.04) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Fri Oct 12 07:33:20 UTC 2012.
Universal Time is now:  Fri Oct 12 07:33:20 UTC 2012.
Run 'dpkg-reconfigure tzdata' if you wish to change it.


(Reading database ... 11275 files and directories currently installed.)
Preparing to replace e2fslibs 1.41.11-1ubuntu2 (using .../e2fslibs_1.41.11-1ubuntu2.1_i386.deb) ...
Unpacking replacement e2fslibs ...
Setting up e2fslibs (1.41.11-1ubuntu2.1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11275 files and directories currently installed.)
Preparing to replace e2fsprogs 1.41.11-1ubuntu2 (using .../e2fsprogs_1.41.11-1ubuntu2.1_i386.deb) ...
Unpacking replacement e2fsprogs ...
Setting up e2fsprogs (1.41.11-1ubuntu2.1) ...
(Reading database ... 11275 files and directories currently installed.)
Preparing to replace gzip 1.3.12-9ubuntu1 (using .../gzip_1.3.12-9ubuntu1.1_i386.deb) ...
Unpacking replacement gzip ...
Setting up gzip (1.3.12-9ubuntu1.1) ...
(Reading database ... 11275 files and directories currently installed.)
Preparing to replace login 1:4.1.4.2-1ubuntu2 (using .../login_1%3a4.1.4.2-1ubuntu2.2_i386.deb) ...
Unpacking replacement login ...
Setting up login (1:4.1.4.2-1ubuntu2.2) ...

(Reading database ... 11275 files and directories currently installed.)
Preparing to replace mount 2.17.2-0ubuntu1 (using .../mount_2.17.2-0ubuntu1.10.04.2_i386.deb) ...
Unpacking replacement mount ...
Setting up mount (2.17.2-0ubuntu1.10.04.2) ...

(Reading database ... 11275 files and directories currently installed.)
Preparing to replace perl-modules 5.10.1-8ubuntu2 (using .../perl-modules_5.10.1-8ubuntu2.1_all.deb) ...
Unpacking replacement perl-modules ...
Preparing to replace bzip2 1.0.5-4 (using .../bzip2_1.0.5-4ubuntu0.2_i386.deb) ...
Unpacking replacement bzip2 ...
Preparing to replace libbz2-1.0 1.0.5-4 (using .../libbz2-1.0_1.0.5-4ubuntu0.2_i386.deb) ...
Unpacking replacement libbz2-1.0 ...
Preparing to replace perl 5.10.1-8ubuntu2 (using .../perl_5.10.1-8ubuntu2.1_i386.deb) ...
Unpacking replacement perl ...
Preparing to replace perl-base 5.10.1-8ubuntu2 (using .../perl-base_5.10.1-8ubuntu2.1_i386.deb) ...
Unpacking replacement perl-base ...
Setting up perl-base (5.10.1-8ubuntu2.1) ...
(Reading database ... 11275 files and directories currently installed.)
Preparing to replace tar 1.22-2 (using ..././/tar_1.22-2ubuntu1_i386.deb) ...
Unpacking replacement tar ...
Setting up tar (1.22-2ubuntu1) ...

(Reading database ... 11275 files and directories currently installed.)
Preparing to replace insserv 1.12.0-14 (using .../insserv_1.12.0-14ubuntu0.2_i386.deb) ...
Unpacking replacement insserv ...
Preparing to replace sysvinit-utils 2.87dsf-4ubuntu17 (using .../sysvinit-utils_2.87dsf-4ubuntu17.5_i386.deb) ...
Unpacking replacement sysvinit-utils ...
Preparing to replace sysv-rc 2.87dsf-4ubuntu17 (using .../sysv-rc_2.87dsf-4ubuntu17.5_all.deb) ...
Unpacking replacement sysv-rc ...
Preparing to replace libpam0g 1.1.1-2ubuntu2 (using .../libpam0g_1.1.1-2ubuntu5.4_i386.deb) ...
Unpacking replacement libpam0g ...
Processing triggers for ureadahead ...
Setting up libpam0g (1.1.1-2ubuntu5.4) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11276 files and directories currently installed.)
Preparing to replace passwd 1:4.1.4.2-1ubuntu2 (using .../passwd_1%3a4.1.4.2-1ubuntu2.2_i386.deb) ...
Unpacking replacement passwd ...
Setting up passwd (1:4.1.4.2-1ubuntu2.2) ...

(Reading database ... 11276 files and directories currently installed.)
Preparing to replace initscripts 2.87dsf-4ubuntu17 (using .../initscripts_2.87dsf-4ubuntu17.5_i386.deb) ...
Unpacking replacement initscripts ...
Preparing to replace libdbus-1-3 1.2.16-2ubuntu4 (using .../libdbus-1-3_1.2.16-2ubuntu4.7_i386.deb) ...
Unpacking replacement libdbus-1-3 ...
Preparing to replace libudev0 151-12 (using ..././/libudev0_151-12.3_i386.deb) ...
Unpacking replacement libudev0 ...
Preparing to replace ifupdown 0.6.8ubuntu29 (using .../ifupdown_0.6.8ubuntu29.2_i386.deb) ...
Unpacking replacement ifupdown ...
Preparing to replace libdevmapper1.02.1 2:1.02.39-1ubuntu4 (using .../libdevmapper1.02.1_2%3a1.02.39-1ubuntu4.1_i386.deb) ...
Unpacking replacement libdevmapper1.02.1 ...
Preparing to replace util-linux 2.17.2-0ubuntu1 (using .../util-linux_2.17.2-0ubuntu1.10.04.2_i386.deb) ...
Unpacking replacement util-linux ...
Processing triggers for ureadahead ...
Setting up util-linux (2.17.2-0ubuntu1.10.04.2) ...

(Reading database ... 11276 files and directories currently installed.)
Preparing to replace udev 151-12 (using ..././/udev_151-12.3_i386.deb) ...
Adding `local diversion of /sbin/udevadm to /sbin/udevadm.upgrade'
Unpacking replacement udev ...
Preparing to replace dmsetup 2:1.02.39-1ubuntu4 (using .../dmsetup_2%3a1.02.39-1ubuntu4.1_i386.deb) ...
Unpacking replacement dmsetup ...
Preparing to replace libpcre3 7.8-3build1 (using .../libpcre3_8.12-1yavdr1_i386.deb) ...
Unpacking replacement libpcre3 ...
Preparing to replace libglib2.0-0 2.24.0-0ubuntu4 (using .../libglib2.0-0_2.24.1-0ubuntu1_i386.deb) ...
Unpacking replacement libglib2.0-0 ...
Preparing to replace libusb-0.1-4 2:0.1.12-14 (using .../libusb-0.1-4_2%3a0.1.12-14ubuntu0.2_i386.deb) ...
Unpacking replacement libusb-0.1-4 ...
Preparing to replace procps 1:3.2.8-1ubuntu4 (using .../procps_1%3a3.2.8-1ubuntu4.3_i386.deb) ...
Unpacking replacement procps ...
Preparing to replace plymouth 0.8.2-2ubuntu2 (using .../plymouth_0.8.2-2ubuntu2.2_i386.deb) ...
Unpacking replacement plymouth ...
Preparing to replace libpng12-0 1.2.42-1ubuntu2 (using .../libpng12-0_1.2.42-1ubuntu2.5_i386.deb) ...
Unpacking replacement libpng12-0 ...
Preparing to replace libplymouth2 0.8.2-2ubuntu2 (using .../libplymouth2_0.8.2-2ubuntu2.2_i386.deb) ...
Unpacking replacement libplymouth2 ...
Preparing to replace mountall 2.14 (using ..././/mountall_2.15.3_i386.deb) ...
Unpacking replacement mountall ...
Preparing to replace upstart 0.6.5-6 (using ..././/upstart_0.6.5-8_i386.deb) ...
Unpacking replacement upstart ...
Preparing to replace bsdutils 1:2.17.2-0ubuntu1 (using .../bsdutils_1%3a2.17.2-0ubuntu1.10.04.2_i386.deb) ...
Unpacking replacement bsdutils ...
Processing triggers for ureadahead ...
Setting up bsdutils (1:2.17.2-0ubuntu1.10.04.2) ...

(Reading database ... 11277 files and directories currently installed.)
Preparing to replace apt 0.7.25.3ubuntu7 (using .../apt_0.7.25.3ubuntu9.14_i386.deb) ...
Unpacking replacement apt ...
Setting up apt (0.7.25.3ubuntu9.14) ...
Installing new version of config file /etc/cron.daily/apt ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11277 files and directories currently installed.)
Preparing to replace libssl0.9.8 0.9.8k-7ubuntu8 (using .../libssl0.9.8_0.9.8k-7ubuntu8.13_i386.deb) ...
Unpacking replacement libssl0.9.8 ...
Setting up libssl0.9.8 (0.9.8k-7ubuntu8.13) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11277 files and directories currently installed.)
Preparing to replace libuuid1 2.17.2-0ubuntu1 (using .../libuuid1_2.17.2-0ubuntu1.10.04.2_i386.deb) ...
Unpacking replacement libuuid1 ...
Setting up libuuid1 (2.17.2-0ubuntu1.10.04.2) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11277 files and directories currently installed.)
Preparing to replace libblkid1 2.17.2-0ubuntu1 (using .../libblkid1_2.17.2-0ubuntu1.10.04.2_i386.deb) ...
Unpacking replacement libblkid1 ...
Setting up libblkid1 (2.17.2-0ubuntu1.10.04.2) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11277 files and directories currently installed.)
Preparing to replace libcomerr2 1.41.11-1ubuntu2 (using .../libcomerr2_1.41.11-1ubuntu2.1_i386.deb) ...
Unpacking replacement libcomerr2 ...
Setting up libcomerr2 (1.41.11-1ubuntu2.1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11277 files and directories currently installed.)
Preparing to replace libpam-runtime 1.1.1-2ubuntu2 (using .../libpam-runtime_1.1.1-2ubuntu5.4_all.deb) ...
Unpacking replacement libpam-runtime ...
Setting up libpam-runtime (1.1.1-2ubuntu5.4) ...

(Reading database ... 11277 files and directories currently installed.)
Preparing to replace libss2 1.41.11-1ubuntu2 (using .../libss2_1.41.11-1ubuntu2.1_i386.deb) ...
Unpacking replacement libss2 ...
Setting up libss2 (1.41.11-1ubuntu2.1) ...

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 11277 files and directories currently installed.)
Preparing to replace python2.6 2.6.5-1ubuntu6 (using .../python2.6_2.6.5-1ubuntu6.1_i386.deb) ...
Unpacking replacement python2.6 ...
Preparing to replace python2.6-minimal 2.6.5-1ubuntu6 (using .../python2.6-minimal_2.6.5-1ubuntu6.1_i386.deb) ...
Unpacking replacement python2.6-minimal ...
Setting up python2.6-minimal (2.6.5-1ubuntu6.1) ...

(Reading database ... 11277 files and directories currently installed.)
Preparing to replace apt-utils 0.7.25.3ubuntu7 (using .../apt-utils_0.7.25.3ubuntu9.14_i386.deb) ...
Unpacking replacement apt-utils ...
Preparing to replace aptitude 0.4.11.11-1ubuntu10 (using .../aptitude_0.4.11.11-1ubuntu10lucid1_i386.deb) ...
Unpacking replacement aptitude ...
Preparing to replace cron 3.0pl1-106ubuntu5 (using .../cron_3.0pl1-106ubuntu7_i386.deb) ...
cron stop/waiting
Unpacking replacement cron ...
Preparing to replace dhcp3-client 3.1.3-2ubuntu3 (using .../dhcp3-client_3.1.3-2ubuntu3.4_i386.deb) ...
Unpacking replacement dhcp3-client ...
Preparing to replace dhcp3-common 3.1.3-2ubuntu3 (using .../dhcp3-common_3.1.3-2ubuntu3.4_i386.deb) ...
Unpacking replacement dhcp3-common ...
Preparing to replace gpgv 1.4.10-2ubuntu1 (using .../gpgv_1.4.10-2ubuntu1.1_i386.deb) ...
Unpacking replacement gpgv ...
Preparing to replace gnupg 1.4.10-2ubuntu1 (using .../gnupg_1.4.10-2ubuntu1.1_i386.deb) ...
Unpacking replacement gnupg ...
Preparing to replace libgcrypt11 1.4.4-5ubuntu2 (using .../libgcrypt11_1.4.4-5ubuntu2.1_i386.deb) ...
Unpacking replacement libgcrypt11 ...
Preparing to replace libtasn1-3 2.4-1 (using .../libtasn1-3_2.4-1ubuntu0.1_i386.deb) ...
Unpacking replacement libtasn1-3 ...
Preparing to replace libgnutls26 2.8.5-2 (using .../libgnutls26_2.8.5-2ubuntu0.2_i386.deb) ...
Unpacking replacement libgnutls26 ...
Preparing to replace libk5crypto3 1.8.1+dfsg-2 (using .../libk5crypto3_1.8.1+dfsg-2ubuntu0.11_i386.deb) ...
Unpacking replacement libk5crypto3 ...
Preparing to replace libgssapi-krb5-2 1.8.1+dfsg-2 (using .../libgssapi-krb5-2_1.8.1+dfsg-2ubuntu0.11_i386.deb) ...
Unpacking replacement libgssapi-krb5-2 ...
Preparing to replace libkrb5-3 1.8.1+dfsg-2 (using .../libkrb5-3_1.8.1+dfsg-2ubuntu0.11_i386.deb) ...
Unpacking replacement libkrb5-3 ...
Preparing to replace libkrb5support0 1.8.1+dfsg-2 (using .../libkrb5support0_1.8.1+dfsg-2ubuntu0.11_i386.deb) ...
Unpacking replacement libkrb5support0 ...
Preparing to replace libldap-2.4-2 2.4.21-0ubuntu5 (using .../libldap-2.4-2_2.4.21-0ubuntu5.7_i386.deb) ...
Unpacking replacement libldap-2.4-2 ...
Preparing to replace openssl 0.9.8k-7ubuntu8 (using .../openssl_0.9.8k-7ubuntu8.13_i386.deb) ...
Unpacking replacement openssl ...
Preparing to replace ca-certificates 20090814 (using .../ca-certificates_20090814ubuntu0.10.04.1_all.deb) ...
Unpacking replacement ca-certificates ...
Preparing to replace libcurl3-gnutls 7.19.7-1ubuntu1 (using .../libcurl3-gnutls_7.19.7-1ubuntu1.1_i386.deb) ...
Unpacking replacement libcurl3-gnutls ...
Preparing to replace gnupg-curl 1.4.10-2ubuntu1 (using .../gnupg-curl_1.4.10-2ubuntu1.1_i386.deb) ...
Leaving `diversion of /usr/lib/gnupg/gpgkeys_curl to /usr/lib/gnupg/gpgkeys_curl.non_curl by gnupg-curl'
Leaving `diversion of /usr/lib/gnupg/gpgkeys_hkp to /usr/lib/gnupg/gpgkeys_hkp.non_curl by gnupg-curl'
Unpacking replacement gnupg-curl ...
Preparing to replace logrotate 3.7.8-4ubuntu2 (using .../logrotate_3.7.8-4ubuntu2.2_i386.deb) ...
Unpacking replacement logrotate ...
Preparing to replace rsyslog 4.2.0-2ubuntu8 (using .../rsyslog_4.2.0-2ubuntu8.1_i386.deb) ...
Unpacking replacement rsyslog ...
Preparing to replace ureadahead 0.100.0-4.1 (using .../ureadahead_0.100.0-4.1.3_i386.deb) ...
Unpacking replacement ureadahead ...
Preparing to replace ntpdate 1:4.2.4p8+dfsg-1ubuntu2 (using .../ntpdate_1%3a4.2.4p8+dfsg-1ubuntu2.1_i386.deb) ...
Unpacking replacement ntpdate ...
Preparing to replace sudo 1.7.2p1-1ubuntu5 (using .../sudo_1.7.2p1-1ubuntu5.4_i386.deb) ...
Unpacking replacement sudo ...
Preparing to replace xkb-data 1.8-1ubuntu8 (using .../xkb-data_1.8-1ubuntu8.1~10.04.1_all.deb) ...
Unpacking replacement xkb-data ...
Setting up libc6-i686 (2.11.1-0ubuntu7.11) ...

Setting up libbz2-1.0 (1.0.5-4ubuntu0.2) ...

Setting up bzip2 (1.0.5-4ubuntu0.2) ...

Setting up insserv (1.12.0-14ubuntu0.2) ...

Setting up sysvinit-utils (2.87dsf-4ubuntu17.5) ...
Setting up sysv-rc (2.87dsf-4ubuntu17.5) ...

Setting up libdbus-1-3 (1.2.16-2ubuntu4.7) ...

Setting up libudev0 (151-12.3) ...

Setting up libpcre3 (8.12-1yavdr1) ...

Setting up libglib2.0-0 (2.24.1-0ubuntu1) ...

Setting up libusb-0.1-4 (2:0.1.12-14ubuntu0.2) ...

Setting up libpng12-0 (1.2.42-1ubuntu2.5) ...

Setting up libplymouth2 (0.8.2-2ubuntu2.2) ...

Setting up libdevmapper1.02.1 (2:1.02.39-1ubuntu4.1) ...

Setting up python2.6 (2.6.5-1ubuntu6.1) ...

Setting up apt-utils (0.7.25.3ubuntu9.14) ...

Setting up aptitude (0.4.11.11-1ubuntu10lucid1) ...

Setting up dhcp3-common (3.1.3-2ubuntu3.4) ...
Setting up dhcp3-client (3.1.3-2ubuntu3.4) ...

Setting up gpgv (1.4.10-2ubuntu1.1) ...
Setting up gnupg (1.4.10-2ubuntu1.1) ...

Setting up libgcrypt11 (1.4.4-5ubuntu2.1) ...

Setting up libtasn1-3 (2.4-1ubuntu0.1) ...

Setting up libgnutls26 (2.8.5-2ubuntu0.2) ...

Setting up libkrb5support0 (1.8.1+dfsg-2ubuntu0.11) ...

Setting up libk5crypto3 (1.8.1+dfsg-2ubuntu0.11) ...

Setting up libkrb5-3 (1.8.1+dfsg-2ubuntu0.11) ...

Setting up libgssapi-krb5-2 (1.8.1+dfsg-2ubuntu0.11) ...

Setting up libldap-2.4-2 (2.4.21-0ubuntu5.7) ...

Setting up openssl (0.9.8k-7ubuntu8.13) ...

Setting up ca-certificates (20090814ubuntu0.10.04.1) ...
Updating certificates in /etc/ssl/certs... WARNING: Skipping duplicate certificate brasil.gov.br.pem
0 added, 1 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.

Setting up libcurl3-gnutls (7.19.7-1ubuntu1.1) ...

Setting up gnupg-curl (1.4.10-2ubuntu1.1) ...
Setting up ntpdate (1:4.2.4p8+dfsg-1ubuntu2.1) ...
Setting up sudo (1.7.2p1-1ubuntu5.4) ...

Setting up xkb-data (1.8-1ubuntu8.1~10.04.1) ...

Setting up perl-modules (5.10.1-8ubuntu2.1) ...
Setting up mountall (2.15.3) ...
Installing new version of config file /etc/init/mountall.conf ...
Setting up upstart (0.6.5-8) ...

Setting up initscripts (2.87dsf-4ubuntu17.5) ...
Installing new version of config file /etc/init.d/sendsigs ...
Installing new version of config file /etc/init.d/umountnfs.sh ...
Installing new version of config file /etc/init.d/umountroot ...

Setting up cron (3.0pl1-106ubuntu7) ...
Installing new version of config file /etc/default/cron ...
cron start/running, process 5160

Setting up logrotate (3.7.8-4ubuntu2.2) ...
Setting up rsyslog (4.2.0-2ubuntu8.1) ...
Installing new version of config file /etc/init/rsyslog.conf ...

Setting up ureadahead (0.100.0-4.1.3) ...

Setting up perl (5.10.1-8ubuntu2.1) ...

Setting up procps (1:3.2.8-1ubuntu4.3) ...
Installing new version of config file /etc/init/procps.conf ...

Setting up udev (151-12.3) ...
udev start/running, process 5347
Removing `local diversion of /sbin/udevadm to /sbin/udevadm.upgrade'
update-initramfs: deferring update (trigger activated)

Setting up plymouth (0.8.2-2ubuntu2.2) ...
update-initramfs: deferring update (trigger activated)

Setting up ifupdown (0.6.8ubuntu29.2) ...
start: Unknown parameter: JOB

Setting up dmsetup (2:1.02.39-1ubuntu4.1) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
Fri Oct 12 09:34:39 CEST 2012 - Generating locales
Reading package lists...
Building dependency tree...
Reading state information...
locales is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  linux-headers-2.6.32-44 linux-headers-2.6.32-44-generic
The following NEW packages will be installed:
  linux-headers-2.6.32-44 linux-headers-2.6.32-44-generic
  linux-headers-generic
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/11.0MB of archives.
After this operation, 85.2MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  linux-headers-2.6.32-44 linux-headers-2.6.32-44-generic
  linux-headers-generic
Authentication warning overridden.
Selecting previously deselected package linux-headers-2.6.32-44.
(Reading database ... 11276 files and directories currently installed.)
Unpacking linux-headers-2.6.32-44 (from .../linux-headers-2.6.32-44_2.6.32-44.98_all.deb) ...
Selecting previously deselected package linux-headers-2.6.32-44-generic.
Unpacking linux-headers-2.6.32-44-generic (from .../linux-headers-2.6.32-44-generic_2.6.32-44.98_i386.deb) ...
Selecting previously deselected package linux-headers-generic.
Unpacking linux-headers-generic (from .../linux-headers-generic_2.6.32.44.51_i386.deb) ...
Setting up linux-headers-2.6.32-44 (2.6.32-44.98) ...
Setting up linux-headers-2.6.32-44-generic (2.6.32-44.98) ...

Setting up linux-headers-generic (2.6.32.44.51) ...
WARNING: Couldn't open directory /lib/modules/2.6.32-42-generic: No such file or directory
FATAL: Could not open /lib/modules/2.6.32-42-generic/modules.dep.temp for writing: No such file or directory
An error (Exit code 1) occured during the last action
depmod failed - ensure you run an apt-get dist-upgrade on your core before running again


Quote
WARNING: Couldn't open directory /lib/modules/2.6.32-42-generic: No such file or directory
This folder exist, so not sure why it's a problem for him...


Quote
depmod failed - ensure you run an apt-get dist-upgrade on your core before running again
If i'm not wrong, it wasn't a good idea to run a dist-upgrade, no?
« Last Edit: October 17, 2012, 11:20:47 am by brononius »
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

brononius

  • Guru
  • ****
  • Posts: 454
  • Trying to keep it simple and centralized...
    • View Profile
    • OnIrIa - linuxMCE blog
[SOLVED] Re: Diskless_CreateTBZ.sh error: run dist-upgrade?
« Reply #1 on: October 17, 2012, 08:45:43 am »
I've done a module update through webmin, and some updates that were skipped with 'apt-get upgrade' were done now.
Something with the linux-generic and linux-headers...?

When i now run the Diskless_CreateTBZ.sh, it ends correctly. This evening another try with the MD....

« Last Edit: October 17, 2012, 11:20:31 am by brononius »
Version: linuxMCE 1404, running virtual on ESXi

Orbiters: ASUS eeePAD, Nexus 5, Huwai, web
Automation: EIB technology, KNX IP ROUTER 750
Phones: Cisco 7912-7940-7960
Camera's: Foscam POE

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: [SOLVED] Diskless_CreateTBZ.sh error: run dist-upgrade?
« Reply #2 on: October 17, 2012, 04:18:26 pm »
There is a new scheme which should support dist-upgrading in MOST circumstances. I have been breaking the heck out of this stuff for a while. The packages/snap being built currently are my newest best effort to handle this. You will need to run /usr/pluto/bin/Diskless_CreateTBZ.sh again after upgrading the core with these changes.

Then after creating a new MD, ls -l /tftpboot/XX   on the core where XX is the moon number. If it says something similar to:
lrwxrwxrwx 1 root root 33 2012-10-16 21:58 initrd.img -> /usr/pluto/diskless/51/initrd.img
lrwxrwxrwx 1 root root 30 2012-10-16 21:58 vmlinuz -> /usr/pluto/diskless/51/vmlinuz

It will work.
IF however it looks like:
lrwxrwxrwx 1 root root 33 2012-10-16 21:58 initrd.img -> /usr/pluto/diskless/51/boot/initrd.img-3.0.0-26-generic
lrwxrwxrwx 1 root root 30 2012-10-16 21:58 vmlinuz -> /usr/pluto/diskless/51/boot/vmlinuz-3.0.0-26-generic

It will not.
It is a conditional creation. Basically *buntu creates a softlink on the root which points to the latest kernel in almost all cases, so changing kernels (above is Platypus-Man's ivy bridge if you are wondering about that kernel number) is supported now in almost all cases.

Forever we have told people DO NOT dist-upgrade. This is an attempt to undo that. I may just write a script that dist upgrades and changes those links if they don't point to the right place.
I never quit... I just ping out.

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: [SOLVED] Diskless_CreateTBZ.sh error: run dist-upgrade?
« Reply #3 on: October 19, 2012, 11:35:07 pm »
Forever we have told people DO NOT dist-upgrade. This is an attempt to undo that. I may just write a script that dist upgrades and changes those links if they don't point to the right place.

This should be included as people upgrade so systems are not broken.  dist-upgrade is *required* any time our packages bring in any *new* package.  (my 2 cents)

J.