[SOLVED] dab error when try to create ubuntu 14 template

VGusev2007

Renowned Member
May 24, 2010
122
13
83
Russia
Dear all, I have read the wiki

After that I have setup pve 4.4 and do the following:

Code:
root@dab:~/ubuntu# cat dab.conf
Suite: trusty
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-14.04-standard
Version: 14.04-1
Section: system
Maintainer: Proxmox Support Team <support@proxmox.com>
Infopage: http://pve.proxmox.com/wiki/Ubuntu_Trusty_Standard
Description: Ubuntu Trusty (standard)
 A small Ubuntu Trusty system including all standard packages.



Code:
root@dab:~/ubuntu# dab init
allocated VE 9688002b-efe8-447c-9210-d0708bf50ada
download: http://archive.ubuntu.com/ubuntu/dists/trusty/Release
download: http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg
...
root@dab:~/ubuntu# dab bootstrap
initialize VE 9688002b-efe8-447c-9210-d0708bf50ada
generating available package list
create basic environment
...
command 'lxc-attach -n 9688002b-efe8-447c-9210-d0708bf50ada --rcfile /root/ubuntu/config --clear-env -- defenv dpkg --force-depends --unpack /util-linux_2.20.1-5.1ubuntu20.9_amd64.deb' failed with exit code 1

Can you explain me what is wrong?

The log file contains some other error. I have attached it to my post

Best regards,
Viktor
 

Attachments

OK, seems Ubuntu fixed the bug yesterday!

No. I don't agree with you.

Step to reproduce this problem (I have double tests):

  1. download and install: proxmox-ve_4.4-eb2d6f1e-2.iso
  2. disable pve-enterprise repo
  3. enable pve-no-subscription repo
  4. apt-get update; apt-get install dab
  5. after that you wll have 2.0-7 version of dab
  6. try to create your own lxc container (ubuntu 14) - it will fail with error as my first message
  7. do apt-get install lxc-pve
  8. it will be upgrade package lxc-pve from 2.0.6-2 to 2.0.7-4
  9. try to create your own lxc container (ubuntu 14) again - it will OK.
Best regards,
Victor.
 
Last edited:
Wow... Thank a lot for you. It looks as a GOOD solution.

Code:
root@dab:~/ubuntu-14-tst# apt-cache show dab |head
Package: dab
Status: install ok installed
Priority: optional
Section: admin
Maintainer: Proxmox Support Team <support@proxmox.com>
Architecture: all
Version: 2.0-10
Depends: perl (>= 5.6.0-16), wget, make, binutils, lxc-pve, libuuid-perl
Description: Debian LXC Appliance Builder
 This package contains scripts to automate the creation of LXC



Code:
root@dab:~/ubuntu-14-tst# dab enter
root@localhost:/# exit
exit

What about my first test? If I update lxc-pve from 2.0.6-2 to 2.0.7-4 it works too...

In any way: THANK a lot for you!

Best regards,
Victor.