DAB Fails on installing msttcorefonts

apmuthu

Well-Known Member
Feb 26, 2009
807
8
58
Chennai - India & Singapore
github.com
Attempted to install msttcorefonts as the last package in DAB ona Debian Squeeze base, for building an appliance and it failed with:
Code:
dab install msttcorefonts
hint: ignoring provides for 'msttcorefonts' - package not in 'available' list.
no such package 'msttcorefonts' at /usr/share/perl5/PVE/DAB.pm line 1071.
no such package 'msttcorefonts' at /usr/share/perl5/PVE/DAB.pm line 1071.
make: *** [all] Error 255


# pveversion -v
pve-manager: 1.7-11 (pve-manager/1.7/5470)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.7-30
pve-kernel-2.6.32-4-pve: 2.6.32-30
qemu-server: 1.1-28
pve-firmware: 1.0-10
libpve-storage-perl: 1.0-16
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-10
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.13.0-3
ksm-control-daemon: 1.0-4

In a running Debian Squeeze container, the following is successful:
Code:
apt-get install msttcorefonts
and the difference with:
Code:
ttf-mscorefonts-installer
is that all packages except the msttcorefonts are installed.
 
[SOLVED] Re: DAB Fails on installing msttcorefonts

Code:
dab install ttf-mscorefonts-installer
was used to build the template and in the appliance instance of the template, the following resulted:
Code:
# apt-get install msttcorefonts
Reading package lists... Done
Building dependency tree... Done
Note, selecting 'ttf-mscorefonts-installer' instead of 'msttcorefonts'
ttf-mscorefonts-installer is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hence it did the job!
 
Last edited:
[UNSOLVED] Re: DAB Fails on installing msttcorefonts

It appears that
Code:
dab install ttf-mscorefonts-installer
needs an internet connection for downloading the fonts from SourceForge. During the initial part of the build process, the packages are assumed to have been downloaded and not expected to need an internet connection while being installed finally and hence the dilemma.

The fonts do not get downloaded and hence remain absent in the /usr/share/fonts/truetype/msttcorefonts folder

This means that we have to install it during the first boot process or upload the fonts separately during the build process? Any fixes otherwise?
 
Attempted to install msttcorefonts as the last package in DAB ona Debian Squeeze base, for building an appliance and it failed with:
Code:
dab install msttcorefonts
hint: ignoring provides for 'msttcorefonts' - package not in 'available' list.
no such package 'msttcorefonts' at /usr/share/perl5/PVE/DAB.pm line 1071.

Simply install package 'ttf-mscorefonts-installer' first.
 
During the DAB Build process:
Code:
dab install ttf-mscorefonts-installer
results in an empty folder at:
Code:
/usr/share/fonts/truetype/msttcorefonts
The same is true even if during the same DAB build, we subsequently try
Code:
dab install msttcorefonts
After the Template is used to make an appliance, from the running appliance, if we remove and re-install the ttf-mscorefonts-installer, then it works.

Hence the current workaround is to untar a previously installed font set into the folder /usr/share/fonts/truetype/msttcorefonts before the dab install ttf-mscorefonts-installer is attempted.
 
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!