I updated to the latest version of dab today and it will no longer create ubuntu 16.04 templates. When I run make, I receive the following error messages.
My dab.conf file.
This was working correctly until I updated this morning. It seems that it is not pulling the suite correctly as it is using 'ascii' instead of 'xenial'.
I was able to track this down to a recent change in DAB.pm made on 2018-02-16.
If I comment out the section about devuan-ascii in DAB.pm, dab works correctly again.
I believe the expression should be something like: elsif ($suite eq 'devuan-ascii' || $suite eq 'ascii').
Thanks
Code:
allocated VE 5a076317-1816-4039-a749-c9f38662bedc
dab init
download: http://archive.ubuntu.com/ubuntu/dists/ascii/Release
Release info ignored
download: http://archive.ubuntu.com/ubuntu/dists/ascii/main/binary-amd64/Packages.gz
command 'wget -q 'http://archive.ubuntu.com/ubuntu/dists/ascii/main/binary-amd64/Packages.gz' -O 'info/archive.ubuntu.com_ubuntu_dists_ascii_main_binary-amd64_Packages.gz.tmp28223'' failed with exit code 8
command 'wget -q 'http://archive.ubuntu.com/ubuntu/dists/ascii/main/binary-amd64/Packages.gz' -O 'info/archive.ubuntu.com_ubuntu_dists_ascii_main_binary-amd64_Packages.gz.tmp28223'' failed with exit code 8
Makefile:99: recipe for target 'info/init_ok' failed
make: *** [info/init_ok] Error 8
My dab.conf file.
Code:
Suite: xenial
CacheDir: ../cache
Source: http://archive.ubuntu.com/ubuntu SUITE main restricted universe multiverse
Source: http://archive.ubuntu.com/ubuntu SUITE-updates main restricted universe multiverse
Source: http://archive.ubuntu.com/ubuntu SUITE-security main restricted universe multiverse
Architecture: amd64
Name: Ubuntu-16.04-minimal-csbase
Version: 16.04-1
Section: system
Maintainer: Joe Burleson <xxxxxx>
Description: Ubuntu Xenial 16.04 (minimal)
A small Ubuntu Xenial system with minimal set of packages and config for the CS Department.
This was working correctly until I updated this morning. It seems that it is not pulling the suite correctly as it is using 'ascii' instead of 'xenial'.
I was able to track this down to a recent change in DAB.pm made on 2018-02-16.
If I comment out the section about devuan-ascii in DAB.pm, dab works correctly again.
Code:
} elsif ($suite eq 'devuan-ascii' || 'ascii') {
$suite = 'ascii';
$config->{ostype} = "devuan-2.0";
I believe the expression should be something like: elsif ($suite eq 'devuan-ascii' || $suite eq 'ascii').
Thanks