Although Debian Appliance Builder is to be discussed in the mailing list, the following corrections to the DAB.pm will be in order.
Many OS versions have had their repos moved to an archive url.
Lines 575 to 605 in DAB.pm
will need to have the older distributions like debian Squeeze (6.0) addressed like:
In spite of the above, with zip, unzip and other binaries being installed in PVE 8.2.2, the following error comes in while compiling a LXC template:
Many OS versions have had their repos moved to an archive url.
Lines 575 to 605 in DAB.pm
Code:
if (!$config->{source}) {
if (lc($suiteinfo->{origin}) eq 'debian') {
if ($suite eq 'etch' || $suite eq 'lenny') {
push @{$config->{source}}, (
'http://ftp.debian.org/debian SUITE main contrib',
'http://security.debian.org SUITE/updates main contrib',
);
} elsif ($suite =~ /^(?:bullseye|bookworm|trixie|forky)$/) {
push @{$config->{source}}, (
"http://deb.debian.org/debian SUITE main contrib",
"http://deb.debian.org/debian SUITE-updates main contrib",
"http://security.debian.org SUITE-security main contrib",
);
} else {
push @{$config->{source}}, (
"http://ftp.debian.org/debian SUITE main contrib",
"http://ftp.debian.org/debian SUITE-updates main contrib",
"http://security.debian.org SUITE/updates main contrib",
);
}
} elsif (lc($suiteinfo->{origin}) eq 'ubuntu') {
my $comp = "main restricted universe multiverse";
push @{$config->{source}}, (
"http://archive.ubuntu.com/ubuntu SUITE $comp",
"http://archive.ubuntu.com/ubuntu SUITE-updates $comp",
"http://archive.ubuntu.com/ubuntu SUITE-security $comp",
);
} else {
die "implement me";
}
}
Code:
http://archive.debian.org/debian SUITE main contrib
http://archive.debian.org/debian SUITE-lts main contrib
http://archive.debian.org/debian SUITE-proposed-updates main contrib
http://archive.debian.org/debian-security SUITE updates/main updates/contrib
In spite of the above, with zip, unzip and other binaries being installed in PVE 8.2.2, the following error comes in while compiling a LXC template:
Code:
ve_exec failed - status 129
ve_exec failed - status 129
make: *** [Makefile:16: all] Error 129