One moment, checking your subscription first
The Real-time kernel is an Ubuntu kernel with PREEMPT_RT patches integrated.
This will change your kernel. To revert to your original kernel, you will need
to make the change manually.
Do you want to continue? [ default = Yes ]: (Y/n) y
Updating package lists
Installing Real-time kernel packages
Stderr: E: Sub-process /usr/bin/dpkg returned an error code (1)
Stdout: Reading package lists...
Building dependency tree...
Reading state information...
ubuntu-realtime is already the newest version (0.0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up ubuntu-realtime (0.0.1) ...
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg'
Sourcing file `/etc/default/grub.d/99-realtime.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
/usr/sbin/grub-mkconfig: 275: cannot create /boot/grub/grub.cfg.new: Directory nonexistent
dpkg: error processing package ubuntu-realtime (--configure):
installed ubuntu-realtime package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
ubuntu-realtime
Stderr: E: Sub-process /usr/bin/dpkg returned an error code (1)