DAB Debian Notes

apmuthu

Well-Known Member
Feb 26, 2009
807
8
58
Chennai - India & Singapore
github.com
During the first make on a fresh Machine, it will be necessary to run the make sequence twice to remove warnings and lack of dependancy due to out of order downloading of debs.

Warnings:
Code:
dpkg: warning - ignoring pre-dependency problem !

Observing the log file will show:-
Code:
Current default timezone: 'Etc/UTC'
Local time is now:      Sat Mar 21 15:36:02 UTC 2009.
Universal Time is now:  Sat Mar 21 15:36:02 UTC 2009.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

and

Code:
Postfix is now set up with a default configuration.  
If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed.  
To view Postfix configuration values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
 
During the first make on a fresh Machine, it will be necessary to run the make sequence twice to remove warnings and lack of dependancy due to out of order downloading of debs.

No.

'dab' automatically handles that correctly - or do you get any problem?
 
DAB needs make a second time

At the moment, DAB did need the make /make clean sequence twice for the first instance of any template creation as the cache folder will hold the downloaded deb files from the previous make enabling the subsequent make to work flawlessly.

A means to test it out will be to clean out the 'lenny' folder in the cache folder and try making some template.
 
Sorry, I dont understand that. We never run make twice here.

So, what exactly is the error, and how can I reproduce it?
 
Steps to reproduce error

Here is an example of how to reproduce the errors stated in this thread:-
Machine Intel Core 2 Duo / 2 GB DDR2 RAM / 160 GB HDD
ProxMox v1.1
All updates on host
Install DAB on host
All Updates on host
Code:
mkdir /var/lib/vz/templates/eyeos
cd /var/lib/vz/templates/eyeos
copy the dab.conf, eyeos.conf and Makefile for the eyeos installation here
Code:
make
the folder /var/lib/vz/templates/cache/lenny is created and filled in with all the necessary debs.
check the logfile for errors and you will get the above warnings / errors listed in the first post in this thread.
Code:
make clean
make
Now there are no errors
move the created tar.gz file to /var/lib/vz/templates/cache/ folder
Code:
make clean
 
I just compared the logfile of both runs with 'diff', and there is no real difference.

Besides, the warning you mentioned are expected and OK.

- Dietmar
 

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!