Font T1/cmr/m/n/10=ecrm1000 at 10.0pt not loadable: Metric (TFM) file not found on Debian 9.4

Generating a pdf file from a markdown file can be done with pandoc, provided that all its dependencies are installed :

pandoc -s -o output.pdf input.md

! Font T1/cmr/m/n/10=ecrm1000 at 10.0pt not loadable: Metric (TFM) file not found. relax l.105 \fontencoding\encodingdefault\selectfont
pandoc: Error producing PDF

pandoc generates a log file missfont.log :

cat missfont.log
mktextfm ecrm1000
mktextfm ecrm1000
mktextfm ecrm1000
mktextfm ecrm1000
mktextfm ecrm1000
mktextfm ecrm1000

What Debian package provides this program ?

dpkg -S $(which mktextfm)
texlive-binaries: /usr/bin/mktextfm

In what package is located the ecrm1000 file ?

apt-file update
apt-file search ecrm1000

texlive-fonts-recommended: /usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm1000.mf
texlive-fonts-recommended: /usr/share/texlive/texmf-dist/fonts/tfm/jknappen/ec/ecrm1000.tfm

Install the missing Debian package texlive-fonts-recommended :

apt install texlive-fonts-recommended

Advertisements

Ubuntu 17.10 as VirtualBox guest : missing vboxsf module

Running Ubuntu 17.10 as a VirtualBox guest works fine except for accessing files located on the host.
Only vboxguest and vboxvideo modules are available and loaded.
vboxsf module is missing.
Load the Guest Additions ISO image and let run the installer.

On a fresh new install, you may have this error :

Make sure to install the build-essential package :

apt install build-essential

One completed, reboot your system to make sure the right modules are loaded : vboxguest, vboxvideo, vboxsf

Once logged in, access to a directory located on your host may be denied.
Be sure that your user account is part of the vboxsf local group.
Add yourself :

usermod -aG vboxsf your_login

Log out and log in again. This should be good now

Missing firmwares for module i915

While upgrading your Debian Stretch, you can come up with this message :

W: Possible missing firmware /lib/firmware/i915/kbl_huc_ver02_00_1810.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_07_1398.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_huc_ver01_07_1398.bin for module i915

This has been referenced as a bug :

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864601

If you can’t upgrade to Debian Buster, there is a possible workaround

Otherwise, after switching to Buster, the available version of firmware-misc-nonfree provides the missing firmwares.

WARNING : Failed to connect to lvmetad. Falling back to device scanning

At boot time, the following message can pop up :

WARNING : Failed to connect to lvmetad. Falling back to device scanning

This message is displayed, whether running Debian stable or Debian testing.

To get rid of this message, disable lvmetad in /etc/lvm/lvm.conf


use_lvmetad=0

Update the initramfs for the current kernel your system uses :

update-initramfs -k $(uname -r) -u; sync

Reboot your system and you’re done !

Ubuntu workaround for this issue

This issue has already been reported in the Debian bug tracking system : #846946

yum-security

yum-security is a plugin to the Red Hat Entreprise Linux package manager yum. It helps installing only security updates (RHSA) (as opposed to bug fixes (RHBA) or enhancements (RHEA)).
Explanation of RHSA, RHBA and RHEA advisories

RHEL 7 : yum-security is part of yum

RHEL 6 : yum install yum-plugin-security

    List all available erratas without installing them :

    yum updateinfo list available

    List all available security updates without installing them :

    yum updateinfo list security all
    yum updateinfo list sec

    List of the currently installed security updates :

    yum updateinfo list security installed

More examples are available in this Red Hat KB article

Red Hat Security Data API

Red Hat has been provided security information since January 2005 through different ways :
RHSA-Announce mailing list, Red Hat CVE database and Red Hat Product Errata

For a better access of their data, the Red Hat Product Security has just released a beta API. It provides more search options for accessing real-time data.

More details can be found in the post below :
Red Hat Security Blog post about their new Security Data API service
RedHat Security Data API