Plymouth initramfs hook needs missing dependancy fonts-dejavu-core so update-initramfs fails

Bug #1751184 reported by Jb
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
plymouth (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Missing font dependency --> plymouth initramfs hook fails --> update-initramfs fails --> new kernel failed to install.

Bionic Lubuntu alternate 20180221

update-initramfs -c -k all

It gives an error:

Rebuilding ramfs...be patient
update-initramfs: Generating /boot/initrd.img-4.13.0-32-generic
cp: cannot stat '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf': No such file or directory
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.13.0-32-generic with 1.

I checked and the directory /usr/share/fonts/truetype/ttf-dejavu/ does not exist.

Fyi...the 4.15 kernel just came out. This caused the 4.15 kernel to fail to install.

If I apt-get install fonts-dejavu-core it will work around this issue.

Tags: iso-testing
Revision history for this message
Jb (jebsolutions) wrote :

If plymouth needs this font, this package should be a dependency.

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1751184

tags: added: iso-testing
Revision history for this message
Jb (jebsolutions) wrote :

Note: this same error occurs during the Lubuntu install as seen in /var/log/syslog:

Feb 24 09:31:38 main-menu[4082]: (process:19047): update-initramfs: Generating /boot/initrd.img-4.13.0-32-generic
Feb 24 09:31:38 main-menu[4082]: (process:19047): cp:
Feb 24 09:31:38 main-menu[4082]: (process:19047): cannot stat '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf'
Feb 24 09:31:38 main-menu[4082]: (process:19047): : No such file or directory
Feb 24 09:31:38 main-menu[4082]: (process:19047):
Feb 24 09:31:38 main-menu[4082]: (process:19047): E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
Feb 24 09:31:38 main-menu[4082]: (process:19047): update-initramfs: failed for /boot/initrd.img-4.13.0-32-generic with 1.

Revision history for this message
Jb (jebsolutions) wrote :

Earlier in the install I see that it says it lists "fonts-deja" as a *suggested* (but not installed) package. fonts-deja includes fonts-dejavu-core and fonts-dejavu-extra.

This should be bumped from a suggested package to a dependency.

Log entries (extra log lines removed to shorten log):
Feb 24 09:25:17 in-target: Suggested packages:
Feb 24 09:25:17 in-target: default-mta | mail-transport-agent apparmor-profiles apparmor-profiles-extra
...
Feb 24 09:25:17 in-target: network-manager-openvpn-gnome network-manager-vpnc-gnome
Feb 24 09:25:17 in-target: network-manager-pptp-gnome fonts-dejavu libxml2-dev tint2 python

Revision history for this message
Jb (jebsolutions) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in plymouth (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.