alexreinert / piVCCU

piVCCU is a project to install the original Homematic CCU3 firmware inside a virtualized container (lxc) on ARM based single board computers.
Apache License 2.0
300 stars 62 forks source link

Creating kernel headers fails #503

Open Ltty opened 12 months ago

Ltty commented 12 months ago

Hi Alex,

after the latest update, PIVCCU does not start anymore. Already tried to reinstall the official kernel headers and reconfigure pivccu. Any idea on how to resolve this issue?

image

Thanks, Florian

alexreinert commented 12 months ago

Did you update your kernel using rpi-update?

Ltty commented 12 months ago

Yes, I did

alexreinert commented 12 months ago

You should not update the kernel using rpi-update, the Raspberry Pi foundation clearly states, that this should only be done, if they ask for it in case of debugging a kernel issue. rpi-update installs a kernel for which no kernel header packages exist. Please reinstall the official kernel package using apt, then you will be able to install the (matching) header package.

Ltty commented 12 months ago

Damn, thanks for the hint.

Do you have the steps at hand on how to revert the kernel version via apt?

sudo apt-get install --reinstall raspberrypi-bootloader raspberrypi-kernel gives me an error:

Reinstallation of raspberrypi-bootloader is not possible, it cannot be downloaded. Reinstallation of raspberrypi-kernel is not possible, it cannot be downloaded.

Thanks, Florian

alexreinert commented 12 months ago

sudo apt-get update sudo apt-get install --reinstall raspberrypi-bootloader raspberrypi-kernel

stale[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.