fai-mirror error after update to 3.4.5
Karl Wallner
fai at karlwallner.de
Fri Dec 3 02:26:35 CET 2010
Hi,
after update to 3.4.5 I get an error when running fai-mirror (system is a current debian lenny).
The following command was entered ("/fai/etc"-config files are stored in a different location, but this should
IMHO not cause the problem).
# /usr/bin/fai-mirror -v -C /workspace/fai_lenny/fai_etc /srv/fai/mirror
For debugging used:
# bash -x /usr/bin/fai-mirror -v -C /workspace/fai_lenny/fai_etc /srv/fai/mirror
... (runs for a while)
>
> install_packages: executing true
> install_packages: executing aptitude -R -d -o Aptitude::Log=/dev/null -o Aptitude::CmdLine::Ignore-Trust-Violations=yes -o APT::Get::AllowUnauthenticated=true -o DPkg::force-conflicts::=yes -o Dir::State=/srv/fai/mirror/aptcache/var/lib/apt -o Dir::Log=/srv/fai/mirror/aptcache/var/log/apt -o Dir::State::extended_states=/srv/fai/mirror/aptcache/var/lib/apt/lists/extended_states -o Dir::State::status=/srv/fai/mirror/aptcache/statefile -o APT::Get::Force-Yes=true -o Dir::Cache=/srv/fai/mirror/aptcache/var/cache/apt -o Dir::State=/srv/fai/mirror/aptcache/var/cache/apt -o Dir::Cache::Archives=/srv/fai/mirror/aptcache/var/cache/apt/archives -o Dir::Etc=/srv/fai/mirror/aptcache/etc/apt/ -o Dir::State::Lists=/srv/fai/mirror/aptcache/var/lib/apt/lists/ -y install xscreensaver-gl
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Writing extended state information... Done
> Reading task descriptions... Done
> The following NEW packages will be installed:
> coreutils{a} debconf{a} debconf-i18n{a} debianutils{a} defoma{a} dpkg{a} file{a} fontconfig{a} fontconfig-config{a} gcc-4.3-base{a} libacl1{a} libatk1.0-0{a} libattr1{a}
> libc6{a} libcairo2{a} libcomerr2{a} libcups2{a} libdatrie0{a} libdb4.6{a} libdirectfb-1.0-0{a} libdrm2{a} libexpat1{a} libfontconfig1{a} libfreetype6{a} libgcc1{a}
> libgcrypt11{a} libgdbm3{a} libgl1-mesa-glx{a} libglib2.0-0{a} libglu1-mesa{a} libgnutls26{a} libgpg-error0{a} libgtk2.0-0{a} libgtk2.0-common{a} libice6{a} libjpeg62{a}
> libkeyutils1{a} libkrb53{a} liblocale-gettext-perl{a} libmagic1{a} libncurses5{a} libnewt0.52{a} libpango1.0-0{a} libpango1.0-common{a} libpcre3{a} libpixman-1-0{a}
> libpng12-0{a} libpopt0{a} libselinux1{a} libslang2{a} libsm6{a} libstdc++6{a} libsysfs2{a} libtasn1-3{a} libtext-charwidth-perl{a} libtext-iconv-perl{a} libtext-wrapi18n-perl{a}
> libthai-data{a} libthai0{a} libtiff4{a} libts-0.0-0{a} libx11-6{a} libx11-data{a} libxau6{a} libxcb-render-util0{a} libxcb-render0{a} libxcb-xlib0{a} libxcb1{a}
> libxcomposite1{a} libxcursor1{a} libxdamage1{a} libxdmcp6{a} libxext6{a} libxfixes3{a} libxft2{a} libxi6{a} libxinerama1{a} libxmu6{a} libxpm4{a} libxrandr2{a} libxrender1{a}
> libxt6{a} libxxf86vm1{a} lsb-base{a} lzma{a} ncurses-bin{a} perl{a} perl-base{a} perl-modules{a} sed{a} ttf-dejavu{a} ttf-dejavu-core{a} ttf-dejavu-extra{a} ucf{a} whiptail{a}
> x11-common{a} xscreensaver-gl zlib1g{a}
> The following packages are RECOMMENDED but will NOT be installed:
> apt-utils hicolor-icon-theme libatk1.0-data libfribidi0 libglib2.0-data libgpm2 libgtk2.0-bin netbase x-ttcidfont-conf xscreensaver
> 0 packages upgraded, 98 newly installed, 0 to remove and 0 not upgraded.
> Need to get 1891kB/45.9MB of archives. After unpacking 133MB will be used.
> Writing extended state information... Done
> Get:1 http://faiserver lenny/main xscreensaver-gl 5.05-3+lenny1 [1891kB]
> Fetched 1891kB in 0s (21.4MB/s)
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Writing extended state information... Done
> Reading task descriptions... Done
>
> install_packages: executing true
> install_packages: executing aptitude -R -d -o Aptitude::Log=/dev/null -o Aptitude::CmdLine::Ignore-Trust-Violations=yes -o APT::Get::AllowUnauthenticated=true -o DPkg::force-conflicts::=yes -o Dir::State=/srv/fai/mirror/aptcache/var/lib/apt -o Dir::Log=/srv/fai/mirror/aptcache/var/log/apt -o Dir::State::extended_states=/srv/fai/mirror/aptcache/var/lib/apt/lists/extended_states -o Dir::State::status=/srv/fai/mirror/aptcache/statefile -o APT::Get::Force-Yes=true -o Dir::Cache=/srv/fai/mirror/aptcache/var/cache/apt -o Dir::State=/srv/fai/mirror/aptcache/var/cache/apt -o Dir::Cache::Archives=/srv/fai/mirror/aptcache/var/cache/apt/archives -o Dir::Etc=/srv/fai/mirror/aptcache/etc/apt/ -o Dir::State::Lists=/srv/fai/mirror/aptcache/var/lib/apt/lists/ -y install xterm
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Writing extended state information... Done
> Reading task descriptions... Done
> The following NEW packages will be installed:
> coreutils{a} debconf{a} debconf-i18n{a} debianutils{a} defoma{a} dpkg{a} file{a} fontconfig-config{a} gcc-4.3-base{a} libacl1{a} libattr1{a} libc6{a} libdb4.6{a} libexpat1{a}
> libfontconfig1{a} libfreetype6{a} libgcc1{a} libgdbm3{a} libice6{a} liblocale-gettext-perl{a} libmagic1{a} libncurses5{a} libnewt0.52{a} libpopt0{a} libselinux1{a} libslang2{a}
> libsm6{a} libstdc++6{a} libtext-charwidth-perl{a} libtext-iconv-perl{a} libtext-wrapi18n-perl{a} libx11-6{a} libx11-data{a} libxau6{a} libxaw7{a} libxcb-xlib0{a} libxcb1{a}
> libxdmcp6{a} libxext6{a} libxft2{a} libxmu6{a} libxpm4{a} libxrender1{a} libxt6{a} lsb-base{a} lzma{a} ncurses-bin{a} perl{a} perl-base{a} perl-modules{a} sed{a} ttf-dejavu{a}
> ttf-dejavu-core{a} ttf-dejavu-extra{a} ucf{a} whiptail{a} x11-common{a} xbitmaps{a} xterm zlib1g{a}
> The following packages are RECOMMENDED but will NOT be installed:
> apt-utils libfribidi0 libgpm2 libpng12-0 netbase x11-utils xutils
> 0 packages upgraded, 60 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/30.7MB of archives. After unpacking 94.8MB will be used.
> Writing extended state information... Done
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Writing extended state information... Done
> Reading task descriptions... Done
>
> install_packages: executing true
> install_packages: executing true
> install_packages: executing true
> install_packages: executing true
> + '[' 1 -eq 1 ']'
> + add_base_packages
> + local plist
> + echo 'Adding packages of /workspace/fai_lenny/fai_etc/NFSROOT.'
> Adding packages of /workspace/fai_lenny/fai_etc/NFSROOT.
> + '[' -f /srv/fai/nfsroot/live/filesystem.dir/var/tmp/packages.nfsroot ']'
> + plist='install_packages: reading config files from directory /workspace/fai_lenny/fai_etc
> nfs-common fai-nfsroot module-init-tools ssh rdate lshw portmap rsync lftp less dump reiserfsprogs e2fsprogs usbutils hwinfo psmisc pciutils hdparm smartmontools parted mdadm lvm2 dnsutils ntpdate dosfstools jove xfsprogs xfsdump procinfo dialog discover console-tools console-common iproute udev subversion liblinux-lvm-perl cfengine2 libapt-pkg-perl grub lilo read-edid linux-image-2.6.32-weps.5-686-bigmem '
> + apt-get -d -o Aptitude::Log=/dev/null -o Aptitude::CmdLine::Ignore-Trust-Violations=yes -o APT::Get::AllowUnauthenticated=true -o DPkg::force-conflicts::=yes -o Dir::State=/srv/fai/mirror/aptcache/var/lib/apt -o Dir::Log=/srv/fai/mirror/aptcache/var/log/apt -o Dir::State::extended_states=/srv/fai/mirror/aptcache/var/lib/apt/lists/extended_states -o Dir::State::status=/srv/fai/mirror/aptcache/statefile -o APT::Get::Force-Yes=true -o Dir::Cache=/srv/fai/mirror/aptcache/var/cache/apt -o Dir::State=/srv/fai/mirror/aptcache/var/cache/apt -o Dir::Cache::Archives=/srv/fai/mirror/aptcache/var/cache/apt/archives -o Dir::Etc=/srv/fai/mirror/aptcache/etc/apt/ -o Dir::State::Lists=/srv/fai/mirror/aptcache/var/lib/apt/lists/ -y --force-yes --fix-missing install install_packages: reading config files from directory /workspace/fai_lenny/fai_etc nfs-common fai-nfsroot module-init-tools ssh rdate lshw portmap rsync lftp less dump reiserfsprogs e2fsprogs usbutils hwinfo psmisc pciutils hd
parm smartmontools parted mdadm lvm2 dnsutils ntpdate dosfstools jove xfsprogs xfsdump procinfo dialog discover console-tools console-common iproute udev subversion liblinux-lvm-perl cfengine2 libapt-pkg-perl grub lilo read-edid linux-image-2.6.32-bpo.5-686-bigmem
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Couldn't find package install_packages:
> + umount_dirs
> + '[' '' ']'
> + true
Looks like some command output ("install install_packages: reading config files from directory
/workspace/fai_lenny/fai_etc") is used as argument (variable plist) for apt-get, but can't detect why this happens.
Greetings
Karl
More information about the linux-fai
mailing list