[SOLVED] Debian 10 Buster LTS fails build on DAB LXC

apmuthu

Renowned Member
Feb 26, 2009
868
11
83
Chennai - India & Singapore
github.com
Although the Buster standard 64 bit DAB build files have been moved to archive at https://github.com/proxmox/dab-pve-appliances/tree/master/archive/debian-10-buster-std-64 it is still LTS and now fails to build in standard DAB on PVE 8.2 at the dab bootstrap line itself.
Code:
allocated VE bd11f807-8019-432c-bfcd-9fffcf4afc36
dab init
download: http://ftp.debian.org/debian/dists/buster/Release
download: http://ftp.debian.org/debian/dists/buster/Release.gpg
download: http://ftp.debian.org/debian/dists/buster/main/binary-amd64/Packages.xz
download: http://ftp.debian.org/debian/dists/buster/contrib/binary-amd64/Packages.xz
download: http://ftp.debian.org/debian/dists/buster-updates/Release
download: http://ftp.debian.org/debian/dists/buster-updates/Release.gpg
download: http://ftp.debian.org/debian/dists/buster-updates/main/binary-amd64/Packages.xz
download: http://ftp.debian.org/debian/dists/buster-updates/contrib/binary-amd64/Packages.xz
download: http://security.debian.org/debian-security/dists/buster/updates/Release
download: http://security.debian.org/debian-security/dists/buster/updates/Release.gpg
download: http://security.debian.org/debian-security/dists/buster/updates/main/binary-amd64/Packages.xz
download: http://security.debian.org/debian-security/dists/buster/updates/contrib/binary-amd64/Packages.xz
touch info/init_ok
dab bootstrap
initialize VE bd11f807-8019-432c-bfcd-9fffcf4afc36
generating available package list
no such package 'default-dbus-session-bus' at /usr/share/perl5/PVE/DAB.pm line ....
no such package 'default-dbus-session-bus' at /usr/share/perl5/PVE/DAB.pm line ....
make: *** [Makefile:6: all] Error 25

The default-dbus-session-bus seems to be part of the dbus-user-session package as in:
https://packages.debian.org/buster/default-dbus-session-bus

Looks like I have to use an earlier built package or use the --minimal option or use Frieder's customised template
 
Last edited:
Solved with modifying the dab.conf file to use the archive repo making the it to be:
Bash:
Suite: buster
CacheDir: ../cache
Source: http://ftp.debian.org/debian SUITE main contrib
Source: http://ftp.debian.org/debian SUITE-updates main contrib
#Source: http://archive.debian.org/debian SUITE-backports main contrib
#Source: http://security.debian.org/debian-security SUITE/updates main contrib
Architecture: amd64
Name: debian-10-standard
Version: 10.13-3
Section: system
Maintainer: Proxmox Support Team <support@proxmox.com>
Infopage: http://pve.proxmox.com/wiki/Debian_10.0_Standard
Description: Debian 10 Buster (standard)
 A small Debian Buster system including all standard packages.
 
Last edited:
The Debian 10 (Buster) release was LTS and that ended on June 30th, 2024

The new /etc/apt/sources.list is
https://gist.github.com/ishad0w/6ce1eb569c734880200c47923577426a

Bash:
deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free

deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free

deb http://deb.debian.org/debian buster-backports main contrib non-free
deb-src http://deb.debian.org/debian buster-backports main contrib non-free

deb http://security.debian.org/debian-security/ buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ buster/updates main contrib non-free
 
You may want to change all deb.debian.org entries to archive.debian.org, buster will eventually be removed from default Debian repositories and it is already in the archive. You can leave the security entry as it is, there will be LLTS/extended LTS security fixes for buster and the security archive is not migrated to archive yet. So this yields:

Code:
deb http://archive.debian.org/debian buster main contrib non-free
deb http://archive.debian.org/debian buster-updates main contrib non-free
deb http://archive.debian.org/debian buster-backports main contrib non-free

deb http://security.debian.org/ buster/updates main contrib non-free

This will be valid until there are not more LLTS / extended LTS fixes for buster, which will be according to the schedule in 2029
 
The virtual package default-dbus-session-bus is missing in the repo even in the archive one.
The workaround is to manually install the packages that it refers to in the Makefile like:
Bash:
#    # As virtual package default-dbus-session-bus missing
#    # https://forums.debian.net/viewtopic.php?t=154000
    dab install dbus-x11 dbus-user-session zip unzip mlocate

The line for debian security repo is:
deb https://security.debian.org/debian-security/ buster/updates main contrib non-free

The whole DAB fileset build list is in my repo at:
https://github.com/apmuthu/dab-pve-appliances/tree/master/archive/debian-10-buster-std-64
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!