Package: fai-server
Severity: minor

When using a variable in package_config/* then fai-mirror will fail to
download these packages, because is does not execute the scripts in
class/*.var which sets the variables. Example in which $release is used:

Downloading packages for classes: AMD64 ARM64 BACKPORTS CHROOT CINNAMON CLOUD 
DEBIAN DEBIAN_DEVEL DEMO FAIME GERMAN GNOME GRUB_EFI GRUB_PC I386 KDE LVM LXDE 
MATE NONFREE PRINTSERVER SSH_SERVER STANDARD UBUNTU WEBSERVER XFCE XORG
Maximum number of packages installed at a time set to 1
install_packages: reading config files from directory 
/srv/fai/config/package_config
install_packages: read config file BACKPORTS
install_packages: read config file DEBIAN
install_packages: read config file DEBIAN_DEVEL
install_packages: read config file DEMO
install_packages: read config file FAIME
install_packages: read config file GERMAN
install_packages: read config file STANDARD
install_packages: read config file UBUNTU
install_packages: read config file XORG
install_packages: executing  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=/tmp/mirror/aptcache/var/lib/apt -o 
Dir::Log=/tmp/mirror/aptcache/var/log/apt -o 
Dir::State::extended_states=/tmp/mirror/aptcache/var/lib/apt/lists/extended_states
 -o Dir::State::status=/tmp/mirror/aptcache/statefile -o 
Dir::Cache=/tmp/mirror/aptcache/var/cache/apt -o 
Dir::State=/tmp/mirror/aptcache/var/cache/apt -o 
Dir::Cache::Archives=/tmp/mirror/aptcache/var/cache/apt/archives -o 
Dir::Etc=/tmp/mirror/aptcache/etc/apt/ -o 
Dir::State::Lists=/tmp/mirror/aptcache/var/lib/apt/lists/ -y --fix-missing 
install linux-image-amd64/$release-backports
Reading package lists...
Building dependency tree...
E: Release '-backports' for 'linux-image-amd64' was not found
ERROR: 25600 25600
ERROR:  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=/tmp/mirror/aptcache/var/lib/apt       -o 
Dir::Log=/tmp/mirror/aptcache/var/log/apt       -o 
Dir::State::extended_states=/tmp/mirror/aptcache/var/lib/apt/lists/extended_states
       -o Dir::State::status=/tmp/mirror/aptcache/statefile       -o 
Dir::Cache=/tmp/mirror/aptcache/var/cache/apt       -o 
Dir::State=/tmp/mirror/aptcache/var/cache/apt       -o 
Dir::Cache::Archives=/tmp/mirror/aptcache/var/cache/apt/archives       -o 
Dir::Etc=/tmp/mirror/aptcache/etc/apt/       -o 
Dir::State::Lists=/tmp/mirror/aptcache/var/lib/apt/lists/ -y --fix-missing 
install linux-image-amd64/$release-backports return code 100
install_packages: executing  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=/tmp/mirror/aptcache/var/lib/apt -o 
Dir::Log=/tmp/mirror/aptcache/var/log/apt -o 
Dir::State::extended_states=/tmp/mirror/aptcache/var/lib/apt/lists/extended_states
 -o Dir::State::status=/tmp/mirror/aptcache/statefile -o 
Dir::Cache=/tmp/mirror/aptcache/var/cache/apt -o 
Dir::State=/tmp/mirror/aptcache/var/cache/apt -o 
Dir::Cache::Archives=/tmp/mirror/aptcache/var/cache/apt/archives -o 
Dir::Etc=/tmp/mirror/aptcache/etc/apt/ -o 
Dir::State::Lists=/tmp/mirror/aptcache/var/lib/apt/lists/ -y --fix-missing 
install firmware-bnx2/$release-backports
Reading package lists...
Building dependency tree...
E: Release '-backports' for 'firmware-bnx2' was not found
-- 
regards Thomas

Reply via email to