Answer is much more simple than I thought -- you install the kernel-devel packages for the version of the kernel that you are using.
Looks like that's in qubes-dom0-current-testing. Seeing some strange here that looks like the update VM downloading the package but then not passing the package back to dom0. Any idea of what's going on here? sudo qubes-dom0-update kernel-devel-4.19.56-1.pvops.qubes.x86_64 Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time... Fedora 25 - x86_64 - Updates 3.3 MB/s | 24 MB 00:07 Fedora 25 - x86_64 3.8 MB/s | 50 MB 00:13 Qubes Dom0 Repository (updates) 3.4 MB/s | 12 MB 00:03 Qubes Dom0 Repository (updates-testing) 11 MB/s | 23 MB 00:02 determining the fastest mirror (15 hosts).. done.-- B/s | 0 B --:-- ETA Qubes Templates repository 2.3 kB/s | 12 kB 00:05 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: kernel-devel x86_64 1000:4.19.56-1.pvops.qubes qubes-dom0-current-testing 13 M Transaction Summary ================================================================================ Install 1 Package Total download size: 13 M Installed size: 52 M DNF will only download packages for the transaction. Downloading Packages: kernel-devel-4.19.56-1.pvops.qubes.x86_64.rpm 3.1 MB/s | 13 MB 00:04 -------------------------------------------------------------------------------- Total 2.4 MB/s | 13 MB 00:05 Complete! The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Qubes OS Repository for Dom0 131 MB/s | 138 kB 00:00 No package kernel-devel-4.19.56-1.pvops.qubes.x86_64 available. Error: Unable to find a match. Sent with [ProtonMail](https://protonmail.com) Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, August 16, 2019 2:13 PM, jmxy <j...@protonmail.com> wrote: > Hi, > I'm trying to get Displaylink drivers working on my P52s ThinkPad so I can > use a USB-C docking station (needs Displaylink to use monitors through USB-C > dock). I've had a few hiccups which I've detailed > [here](https://www.reddit.com/r/Qubes/comments/crapm4/how_to_install_displaylink_drivers_on_qubes/) > trying to get this package working: > https://github.com/displaylink-rpm/displaylink-rpm/releases. > > It looks like the rpm uses a post install script to start the Displaylink > service. > > ``` > $ rpm -qip --scripts displaylink.rpm > postinstall scriptlet (using /bin/sh): > # The displaylink service may crash as dkms rebuilds the module > /usr/bin/systemctl -q is-active displaylink.service && /usr/bin/systemctl > stop displaylink.service > /usr/bin/systemctl daemon-reload > /usr/bin/systemctl -q is-enabled dkms.service || /usr/bin/systemctl enable > dkms.service > /sbin/dkms install evdi/1.6.2 >> /var/log/displaylink/displaylink.log 2>&1 > /usr/bin/systemctl start displaylink.service > ``` > For me it fails because it can't find my kernel headers: > > ``` > $ less /var/log/displaylink/displaylink.log > Creating symlink /var/lib/dkms/evdi/1.6.2/source -> > /usr/src/evdi-1.6.2 > > DKMS: add completed. > Error! echo > Your kernel headers for kernel 4.19.56-1.pvops.qubes.x86_64 cannot be found at > /lib/modules/4.19.56-1.pvops.qubes.x86_64/build or > /lib/modules/4.19.56-1.pvops.qubes.x86_64/source. > Warning: I do not know how to handle 4.19.56-1.pvops.qubes.x86_64. > Error! echo > Your kernel headers for kernel 4.19.56-1.pvops.qubes.x86_64 cannot be found at > /lib/modules/4.19.56-1.pvops.qubes.x86_64/build or > /lib/modules/4.19.56-1.pvops.qubes.x86_64/source. > > ------------------------------ > Deleting module version: 1.6.2 > completely from the DKMS tree. > ------------------------------ > Done. > > Creating symlink /var/lib/dkms/evdi/1.6.2/source -> > /usr/src/evdi-1.6.2 > > DKMS: add completed. > Error! echo > Your kernel headers for kernel 4.19.56-1.pvops.qubes.x86_64 cannot be found at > /lib/modules/4.19.56-1.pvops.qubes.x86_64/build or > /lib/modules/4.19.56-1.pvops.qubes.x86_64/source. > Warning: I do not know how to handle 4.19.56-1.pvops.qubes.x86_64. > Error! echo > Your kernel headers for kernel 4.19.56-1.pvops.qubes.x86_64 cannot be found at > /lib/modules/4.19.56-1.pvops.qubes.x86_64/build or > /lib/modules/4.19.56-1.pvops.qubes.x86_64/source. > ``` > Any thoughts on how I can ensure that this package can find the right > kernel-headers? > > Cheers! > jm > > Sent with [ProtonMail](https://protonmail.com) Secure Email. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/Pf7mtok2sHjfnrhHbXNQaNenHunujBoATQifswd-3YrRMt8S0OMSTIVowZ8lksICqJkFkYhL4EO5p1fx1_bssMpjbr70ZQe5HIDcPtBwJqY%3D%40protonmail.com.