E: Unable to locate package pve-headers

Debian/Ubuntu basierte CCU

Moderator: Co-Administratoren

Benutzeravatar
deimos
Beiträge: 5396
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: E: Unable to locate package pve-headers

Beitrag von deimos » 28.07.2020, 17:42

Hi,

ja, das kann man mit apt wieder deinstallieren und eigentlich sollte es auch nicht stören, wenn es denn installiert sein sollte. Aber das zeigt sehr eindeutig, dass du dich nicht an die Anleitung gehalten hast und dann wird es deutlich schwieriger, dir zu helfen. Ich versuche es trotzdem mal:

Wie ist deine Container ID? Wie sieht die Datei /etc/pve/lxc/<Container-ID>.conf genau aus? Was liefern "lsusb", "lsmod" und "modinfo hb_rf_usb" auf dem Host?

Viele Grüße
Alex

klayer2
Beiträge: 240
Registriert: 15.07.2013, 06:02
Hat sich bedankt: 4 Mal

Re: E: Unable to locate package pve-headers

Beitrag von klayer2 » 28.07.2020, 18:00

Hi,

danke das Du Dir die Zeit nimmst.

Wie ist deine Container ID? -> 100.
Wie sieht die Datei /etc/pve/lxc/100.conf genau aus?

arch: amd64
cores: 1
features: nesting=1
hostname: iobroker
memory: 2048
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=2A:E1:37:7E:53:AB,ip=dhcp,ip6=auto,type=veth
ostype: debian
rootfs: local-lvm:vm-100-disk-0,size=20G
swap: 512
lxc.apparmor.profile: unconfined
lxc.hook.mount: /usr/share/debmatic/bin/lxc-start-hook.sh
lxc.cgroup.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/bus/usb/001/003 dev/bus/usb/001/003 none bind,optional,create=file
lxc.cgroup.devices.allow: c 166:* rwm
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file

Die letzten Einträge habe ich für meine Zigbee Stick gemacht.
Keine Ahnung, ob das bei privilegiertem Container überhaupt notwendig ist

root@iobroker:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0451:16a8 Texas Instruments, Inc.
Bus 001 Device 003: ID 0403:6f70 Future Technology Devices International, Ltd HB-RF-USB
Bus 001 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@pve:~# lsmod
Module Size Used by
md4 16384 0
cmac 16384 0
nls_utf8 16384 2
cifs 1015808 0
libarc4 16384 1 cifs
fscache 372736 1 cifs
libdes 24576 1 cifs
ledtrig_timer 16384 0
ledtrig_default_on 16384 0
tcp_diag 16384 0
inet_diag 24576 1 tcp_diag
veth 28672 0
ebtable_filter 16384 0
ebtables 36864 1 ebtable_filter
ip_set 53248 0
ip6table_raw 16384 0
iptable_raw 16384 0
ip6table_filter 16384 0
ip6_tables 32768 2 ip6table_filter,ip6table_raw
iptable_filter 16384 0
bpfilter 32768 0
softdog 16384 2
nfnetlink_log 20480 1
nfnetlink 16384 3 ip_set,nfnetlink_log
intel_rapl_msr 20480 0
mei_hdcp 24576 0
intel_rapl_common 24576 1 intel_rapl_msr
intel_soc_dts_thermal 20480 0
intel_soc_dts_iosf 20480 1 intel_soc_dts_thermal
intel_powerclamp 20480 0
coretemp 20480 0
snd_hda_codec_hdmi 61440 1
kvm_intel 253952 0
snd_hda_codec_realtek 118784 1
snd_hda_codec_generic 81920 1 snd_hda_codec_realtek
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
kvm 659456 1 kvm_intel
punit_atom_debug 16384 0
i915 1982464 1
snd_hda_intel 53248 0
snd_intel_dspcfg 24576 1 snd_hda_intel
snd_hda_codec 131072 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
crct10dif_pclmul 16384 1
snd_hda_core 90112 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
crc32_pclmul 16384 0
drm_kms_helper 184320 1 i915
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 102400 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
ghash_clmulni_intel 16384 0
cryptd 24576 1 ghash_clmulni_intel
snd_timer 36864 1 snd_pcm
intel_cstate 20480 0
cdc_acm 36864 2
btusb 57344 0
snd 86016 8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
drm 491520 3 drm_kms_helper,i915
pcspkr 16384 0
i2c_algo_bit 16384 1 i915
mei_txe 28672 1
fb_sys_fops 16384 1 drm_kms_helper
soundcore 16384 1 snd
syscopyarea 16384 1 drm_kms_helper
mei 106496 3 mei_hdcp,mei_txe
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
hci_uart 126976 0
btqca 20480 1 hci_uart
btrtl 20480 2 hci_uart,btusb
btbcm 16384 2 hci_uart,btusb
btintel 24576 2 hci_uart,btusb
bluetooth 577536 7 btrtl,btqca,btintel,hci_uart,btbcm,btusb
ir_rc6_decoder 20480 0
rc_rc6_mce 16384 0
ite_cir 28672 0
rc_core 49152 4 ite_cir,ir_rc6_decoder,rc_rc6_mce
ecdh_generic 16384 1 bluetooth
ecc 32768 1 ecdh_generic
rfkill_gpio 16384 0
mac_hid 16384 0
zfs 3891200 6
zunicode 331776 1 zfs
zlua 143360 1 zfs
zavl 16384 1 zfs
icp 278528 1 zfs
zcommon 86016 2 zfs,icp
znvpair 81920 2 zfs,zcommon
spl 110592 5 zfs,icp,znvpair,zcommon,zavl
vhost_net 32768 0
vhost 49152 1 vhost_net
tap 24576 1 vhost_net
ib_iser 53248 0
rdma_cm 61440 1 ib_iser
iw_cm 49152 1 rdma_cm
ib_cm 57344 1 rdma_cm
ib_core 311296 4 rdma_cm,iw_cm,ib_iser,ib_cm
iscsi_tcp 24576 0
libiscsi_tcp 32768 1 iscsi_tcp
libiscsi 57344 3 libiscsi_tcp,iscsi_tcp,ib_iser
scsi_transport_iscsi 110592 5 libiscsi_tcp,iscsi_tcp,ib_iser,libiscsi
sunrpc 393216 2
ip_tables 28672 2 iptable_filter,iptable_raw
x_tables 45056 7 ebtables,ip6table_filter,ip6table_raw,iptable_filter,ip6_tables,iptable_raw,ip_tables
autofs4 45056 2
btrfs 1241088 0
xor 24576 1 btrfs
zstd_compress 155648 1 btrfs
raid6_pq 114688 1 btrfs
dm_thin_pool 69632 3
dm_persistent_data 69632 1 dm_thin_pool
dm_bio_prison 20480 1 dm_thin_pool
dm_bufio 28672 1 dm_persistent_data
libcrc32c 16384 2 dm_persistent_data,btrfs
i2c_i801 32768 0
r8169 90112 0
lpc_ich 24576 0
realtek 24576 1
ahci 40960 2
libahci 32768 1 ahci
video 49152 1 i915
i2c_hid 28672 0
hid 131072 1 i2c_hid


root@pve:~# modinfo hb_rf_usb
modinfo: ERROR: Module hb_rf_usb not found.

Letztere sieht ja schon mal verdächtig aus.

Liebe Grüße


Martin
34 Geräte: 3x HM-LC-Sw1-Pl-2, 1x HM-OU-LED16, 9x HM-LC-Bl1PBU-FM, 1x HM-Sec-SFA-SM, 1x HM-RC-Sec3-B, 2x HM-RC-4-B, 1x HM-LC-Sw4-WM, 1x HM-Sec-RHS, 1x HM-EM-CCM, 1x HM-Sen-EP, 10x HM-Sec-SC, 1x HM-RC-19, 1x HM-Sen-MDIR-O, 1x HM-LC-Sw1PBU-FM

Benutzeravatar
deimos
Beiträge: 5396
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: E: Unable to locate package pve-headers

Beitrag von deimos » 28.07.2020, 18:03

Hi,

ok, dann bitte mal im Host "sudo dpkg-reconfigure pivccu-modules-dkms", Ausgabe und ggf. referenziertes Log hier posten.

Viele Grüße
Alex

klayer2
Beiträge: 240
Registriert: 15.07.2013, 06:02
Hat sich bedankt: 4 Mal

Re: E: Unable to locate package pve-headers

Beitrag von klayer2 » 28.07.2020, 18:13

Hi,

ich erhalte folgende Ausgabe

root@pve:~# sudo dpkg-reconfigure pivccu-modules-dkms
Removed /etc/systemd/system/multi-user.target.wants/pivccu-dkms.service.
Removed /etc/systemd/system/debmatic.service.wants/pivccu-dkms.service.
Removed /etc/systemd/system/pivccu.service.requires/pivccu-dkms.service.

-------- Uninstall Beginning --------
Module: pivccu
Version: 1.0.38
Kernel: 4.19.0-9-amd64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

dummy_rx8130.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
rmdir: failed to remove 'updates/dkms': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


dw_apb_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
rmdir: failed to remove 'updates/dkms': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


eq3_char_loop.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
rmdir: failed to remove 'updates/dkms': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


fake_hmrf.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
rmdir: failed to remove 'updates/dkms': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


generic_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
rmdir: failed to remove 'updates/dkms': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


hb_rf_usb-2.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
rmdir: failed to remove 'updates/dkms': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


hb_rf_usb.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
rmdir: failed to remove 'updates/dkms': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


led_trigger_timer.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
rmdir: failed to remove 'updates/dkms': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


meson_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
rmdir: failed to remove 'updates/dkms': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


pl011_raw_uart.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
rmdir: failed to remove 'updates/dkms': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


plat_eq3ccu2.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
rmdir: failed to remove 'updates/dkms': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


rpi_rf_mod_led.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
rmdir: failed to remove 'updates/dkms': Directory not empty
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


rtc-rx8130.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-9-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

------------------------------
Deleting module version: 1.0.38
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/pivccu/1.0.38/source ->
/usr/src/pivccu-1.0.38

DKMS: add completed.
Error! Your kernel headers for kernel 5.4.34-1-pve cannot be found.
Please install the linux-headers-5.4.34-1-pve package,
or use the --kernelsourcedir option to tell DKMS where it's located

^C

Liebe Grüße


Martin
34 Geräte: 3x HM-LC-Sw1-Pl-2, 1x HM-OU-LED16, 9x HM-LC-Bl1PBU-FM, 1x HM-Sec-SFA-SM, 1x HM-RC-Sec3-B, 2x HM-RC-4-B, 1x HM-LC-Sw4-WM, 1x HM-Sec-RHS, 1x HM-EM-CCM, 1x HM-Sen-EP, 10x HM-Sec-SC, 1x HM-RC-19, 1x HM-Sen-MDIR-O, 1x HM-LC-Sw1PBU-FM

Benutzeravatar
deimos
Beiträge: 5396
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: E: Unable to locate package pve-headers

Beitrag von deimos » 28.07.2020, 18:18

Hi,

der installierte Kernel und die installierten Kernel Header passen nicht zusammen. Entweder hast du den aktuellen Kernel noch nicht mit apt update/upgrade installiert oder du hast danach noch keinen Neustart gemacht.

Viele Grüße
Alex

klayer2
Beiträge: 240
Registriert: 15.07.2013, 06:02
Hat sich bedankt: 4 Mal

Re: E: Unable to locate package pve-headers

Beitrag von klayer2 » 28.07.2020, 18:47

Hi,

Ich habe einen Neustart gemacht und auch die apt-update und apt-upgrade.

Stimmen die Repros?

Ich habe jetzt in die /etc/apt/sources.list die Zeile deb http://download.proxmox.com/debian/pve buster pve-no-subscription hinzugefügt und
in pve-enterprise.list die Zeile deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise auskommentiert.

Liebe Grüße


Martin
34 Geräte: 3x HM-LC-Sw1-Pl-2, 1x HM-OU-LED16, 9x HM-LC-Bl1PBU-FM, 1x HM-Sec-SFA-SM, 1x HM-RC-Sec3-B, 2x HM-RC-4-B, 1x HM-LC-Sw4-WM, 1x HM-Sec-RHS, 1x HM-EM-CCM, 1x HM-Sen-EP, 10x HM-Sec-SC, 1x HM-RC-19, 1x HM-Sen-MDIR-O, 1x HM-LC-Sw1PBU-FM

klayer2
Beiträge: 240
Registriert: 15.07.2013, 06:02
Hat sich bedankt: 4 Mal

Re: E: Unable to locate package pve-headers

Beitrag von klayer2 » 28.07.2020, 18:51

hi,

ich habe gerade nochmal

root@pve:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libpve-storage-perl pve-kernel-5.4
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

was auffällt ist, dass pve-kernel-5.4 nicht upgegradet wurden.

Liebe Grüße


Martin
34 Geräte: 3x HM-LC-Sw1-Pl-2, 1x HM-OU-LED16, 9x HM-LC-Bl1PBU-FM, 1x HM-Sec-SFA-SM, 1x HM-RC-Sec3-B, 2x HM-RC-4-B, 1x HM-LC-Sw4-WM, 1x HM-Sec-RHS, 1x HM-EM-CCM, 1x HM-Sen-EP, 10x HM-Sec-SC, 1x HM-RC-19, 1x HM-Sen-MDIR-O, 1x HM-LC-Sw1PBU-FM

klayer2
Beiträge: 240
Registriert: 15.07.2013, 06:02
Hat sich bedankt: 4 Mal

Re: E: Unable to locate package pve-headers

Beitrag von klayer2 » 28.07.2020, 18:53

Hi

habe jetzt apt-get dist-upgrade gemacht.

jetzt scheint er den kernel up zu graden.

Liebe Grüße


Martin
34 Geräte: 3x HM-LC-Sw1-Pl-2, 1x HM-OU-LED16, 9x HM-LC-Bl1PBU-FM, 1x HM-Sec-SFA-SM, 1x HM-RC-Sec3-B, 2x HM-RC-4-B, 1x HM-LC-Sw4-WM, 1x HM-Sec-RHS, 1x HM-EM-CCM, 1x HM-Sen-EP, 10x HM-Sec-SC, 1x HM-RC-19, 1x HM-Sen-MDIR-O, 1x HM-LC-Sw1PBU-FM

klayer2
Beiträge: 240
Registriert: 15.07.2013, 06:02
Hat sich bedankt: 4 Mal

Re: E: Unable to locate package pve-headers

Beitrag von klayer2 » 28.07.2020, 19:03

Hi

Es geht jetzt. Vielen Dank.
Es lag daran, dass ich nicht sudo apt dist-upgrade gemacht habe und damit die Kernel Module nicht upgedatet habe.

Liebe Grüße


Martin
34 Geräte: 3x HM-LC-Sw1-Pl-2, 1x HM-OU-LED16, 9x HM-LC-Bl1PBU-FM, 1x HM-Sec-SFA-SM, 1x HM-RC-Sec3-B, 2x HM-RC-4-B, 1x HM-LC-Sw4-WM, 1x HM-Sec-RHS, 1x HM-EM-CCM, 1x HM-Sen-EP, 10x HM-Sec-SC, 1x HM-RC-19, 1x HM-Sen-MDIR-O, 1x HM-LC-Sw1PBU-FM

Benutzeravatar
deimos
Beiträge: 5396
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 957 Mal
Kontaktdaten:

Re: E: Unable to locate package pve-headers

Beitrag von deimos » 28.07.2020, 23:46

Hi,

das dürfte einer der Fälle gewesen sein, bei welchen "apt upgrade" besser funktioniert als "apt-get upgrade". apt braucht im Gegensatz zu apt-get eigentlich nie dist-upgrade. Und dist-upgrade sollte mit Bedacht eingesetzt werden.

Viele Grüße
Alex

Antworten

Zurück zu „debmatic“