View Issue Details

IDProjectCategoryView StatusLast Update
0008685Kali LinuxGeneral Bugpublic2024-04-06 17:13
Reportergladtr Assigned Toarnaudr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0008685: update pkg from metapackages by kali-tweaks
Description

Hi! After selecting packages from Metapackages during the system update process, I received the error below
I apologize for the incompleteness of information.
Ready to provide upon request all necessary information on the system

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.142) ...
update-initramfs: deferring update (trigger activated)
Setting up xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.4) ...
Removing old xtrx-0.0.1+git20190320.5ae3a3e-3.4 DKMS files...
Deleting module xtrx-0.0.1+git20190320.5ae3a3e-3.4 completely from the DKMS tree.
Loading new xtrx-0.0.1+git20190320.5ae3a3e-3.4 DKMS files...
Building for 6.1.58-v8+ 6.6.9-arm64
Building initial module for 6.1.58-v8+
Error! Bad return status for module build on kernel: 6.1.58-v8+ (aarch64)
Consult /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.4/build/make.log for more information.
dpkg: error processing package xtrx-dkms (--configure):
installed xtrx-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for initramfs-tools (0.142) ...
ln: failed to create hard link '/boot/initrd.img-6.6.9-arm64.dpkg-bak' => '/boot/initrd.img-6.6.9-arm64': Operation not permitted
update-initramfs: Generating /boot/initrd.img-6.6.9-arm64
cryptsetup: ERROR: Couldn't resolve device /dev/root
cryptsetup: WARNING: Couldn't determine root device
zstd: error 70 : Write error : cannot write block : No space left on device
E: mkinitramfs failure zstd -q -9 -T0 70
update-initramfs: failed for /boot/initrd.img-6.6.9-arm64 with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
xtrx-dkms
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Activities

gladtr

gladtr

2024-03-21 13:55

reporter   ~0019059

DKMS make.log for xtrx-0.0.1+git20190320.5ae3a3e-3.4 for kernel 6.1.58-v8+ (aarch64)
Thu Mar 21 03:19:21 PM MSK 2024
make: Entering directory '/usr/src/kernel'
awk: fatal: cannot open file `include/generated/asm-offsets.h' for reading: No such file or directory
warning: the compiler differs from the one used to build the kernel
The kernel was built by: aarch64-linux-gnu-gcc (Debian 13.2.0-4) 13.2.0
You are using: gcc (Debian 13.2.0-13) 13.2.0
CC [M] /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.4/build/xtrx.o
gcc: error: missing argument to ‘-mstack-protector-guard-offset=’
make[1]: [scripts/Makefile.build:250: /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.4/build/xtrx.o] Error 1
make[1]:
Waiting for unfinished jobs....
make: *** [Makefile:2014: /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.4/build] Error 2
make: Leaving directory '/usr/src/kernel'
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.4/build/make.log (END)

gladtr

gladtr

2024-03-21 13:56

reporter   ~0019060

Filesystem Size Used Avail Use% Mounted on
/dev/root 57G 45G 11G 82% /
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 1.6G 1.3M 1.6G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/mmcblk0p1 252M 174M 78M 70% /boot
tmpfs 795M 116K 795M 1% /run/user/1000

gladtr

gladtr

2024-04-06 17:09

reporter   ~0019105

sudo git clean -fdx && sudo make bcm2711_defconfig && sudo make modules_prepare
Removing .config
Removing include/config/
Removing include/generated/
Removing scripts/basic/.fixdep.cmd
Removing scripts/basic/fixdep
Removing scripts/kconfig/.conf.cmd
Removing scripts/kconfig/.conf.o.cmd
Removing scripts/kconfig/.confdata.o.cmd
Removing scripts/kconfig/.expr.o.cmd
Removing scripts/kconfig/.lexer.lex.c.cmd
Removing scripts/kconfig/.lexer.lex.o.cmd
Removing scripts/kconfig/.menu.o.cmd
Removing scripts/kconfig/.parser.tab.h.cmd
Removing scripts/kconfig/.parser.tab.o.cmd
Removing scripts/kconfig/.preprocess.o.cmd
Removing scripts/kconfig/.symbol.o.cmd
Removing scripts/kconfig/.util.o.cmd
Removing scripts/kconfig/conf
Removing scripts/kconfig/conf.o
Removing scripts/kconfig/confdata.o
Removing scripts/kconfig/expr.o
Removing scripts/kconfig/lexer.lex.c
Removing scripts/kconfig/lexer.lex.o
Removing scripts/kconfig/menu.o
Removing scripts/kconfig/parser.tab.c
Removing scripts/kconfig/parser.tab.h
Removing scripts/kconfig/parser.tab.o
Removing scripts/kconfig/preprocess.o
Removing scripts/kconfig/symbol.o
Removing scripts/kconfig/util.o
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/menu.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTLD scripts/kconfig/conf
#

configuration written to .config

#
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
LEX scripts/dtc/dtc-lexer.lex.c
YACC scripts/dtc/dtc-parser.tab.[ch]
HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/dtc
HOSTCC scripts/dtc/libfdt/fdt.o
HOSTCC scripts/dtc/libfdt/fdt_ro.o
HOSTCC scripts/dtc/libfdt/fdt_wip.o
HOSTCC scripts/dtc/libfdt/fdt_sw.o
HOSTCC scripts/dtc/libfdt/fdt_rw.o
HOSTCC scripts/dtc/libfdt/fdt_strerror.o
HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o
HOSTCC scripts/dtc/libfdt/fdt_addresses.o
HOSTCC scripts/dtc/libfdt/fdt_overlay.o
HOSTCC scripts/dtc/fdtoverlay.o
HOSTLD scripts/dtc/fdtoverlay
HOSTCC scripts/genksyms/genksyms.o
YACC scripts/genksyms/parse.tab.[ch]
HOSTCC scripts/genksyms/parse.tab.o
LEX scripts/genksyms/lex.lex.c
HOSTCC scripts/genksyms/lex.lex.o
HOSTLD scripts/genksyms/genksyms
HOSTCC scripts/kallsyms
HOSTCC scripts/sorttable
HOSTCC scripts/asn1_compiler
WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h
WRAP arch/arm64/include/generated/uapi/asm/errno.h
WRAP arch/arm64/include/generated/uapi/asm/ioctl.h
WRAP arch/arm64/include/generated/uapi/asm/ioctls.h
WRAP arch/arm64/include/generated/uapi/asm/ipcbuf.h
WRAP arch/arm64/include/generated/uapi/asm/msgbuf.h
WRAP arch/arm64/include/generated/uapi/asm/poll.h
WRAP arch/arm64/include/generated/uapi/asm/resource.h
WRAP arch/arm64/include/generated/uapi/asm/sembuf.h
WRAP arch/arm64/include/generated/uapi/asm/shmbuf.h
WRAP arch/arm64/include/generated/uapi/asm/siginfo.h
WRAP arch/arm64/include/generated/uapi/asm/socket.h
WRAP arch/arm64/include/generated/uapi/asm/sockios.h
WRAP arch/arm64/include/generated/uapi/asm/stat.h
WRAP arch/arm64/include/generated/uapi/asm/swab.h
WRAP arch/arm64/include/generated/uapi/asm/termbits.h
WRAP arch/arm64/include/generated/uapi/asm/termios.h
WRAP arch/arm64/include/generated/uapi/asm/types.h
WRAP arch/arm64/include/generated/asm/early_ioremap.h
WRAP arch/arm64/include/generated/asm/mcs_spinlock.h
WRAP arch/arm64/include/generated/asm/qrwlock.h
WRAP arch/arm64/include/generated/asm/qspinlock.h
WRAP arch/arm64/include/generated/asm/parport.h
WRAP arch/arm64/include/generated/asm/user.h
WRAP arch/arm64/include/generated/asm/bugs.h
WRAP arch/arm64/include/generated/asm/delay.h
WRAP arch/arm64/include/generated/asm/div64.h
WRAP arch/arm64/include/generated/asm/dma-mapping.h
WRAP arch/arm64/include/generated/asm/dma.h
WRAP arch/arm64/include/generated/asm/emergency-restart.h
WRAP arch/arm64/include/generated/asm/hw_irq.h
WRAP arch/arm64/include/generated/asm/irq_regs.h
WRAP arch/arm64/include/generated/asm/kdebug.h
WRAP arch/arm64/include/generated/asm/kmap_size.h
WRAP arch/arm64/include/generated/asm/local.h
WRAP arch/arm64/include/generated/asm/local64.h
WRAP arch/arm64/include/generated/asm/mmiowb.h
WRAP arch/arm64/include/generated/asm/msi.h
WRAP arch/arm64/include/generated/asm/serial.h
WRAP arch/arm64/include/generated/asm/softirq_stack.h
WRAP arch/arm64/include/generated/asm/switch_to.h
WRAP arch/arm64/include/generated/asm/trace_clock.h
WRAP arch/arm64/include/generated/asm/unaligned.h
WRAP arch/arm64/include/generated/asm/vga.h
UPD include/config/kernel.release
UPD include/generated/uapi/linux/version.h
UPD include/generated/utsrelease.h
UPD include/generated/compile.h
GEN arch/arm64/include/generated/asm/cpucaps.h
GEN arch/arm64/include/generated/asm/sysreg-defs.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
CC scripts/mod/devicetable-offsets.s
UPD scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
UPD include/generated/timeconst.h
CC kernel/bounds.s
UPD include/generated/bounds.h
CC arch/arm64/kernel/asm-offsets.s
UPD include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHKSHA1 include/linux/atomic/atomic-arch-fallback.h
CHKSHA1 include/linux/atomic/atomic-instrumented.h
CHKSHA1 include/linux/atomic/atomic-long.h
LDS arch/arm64/kernel/vdso/vdso.lds
CC arch/arm64/kernel/vdso/vgettimeofday.o
AS arch/arm64/kernel/vdso/note.o
AS arch/arm64/kernel/vdso/sigreturn.o
LD arch/arm64/kernel/vdso/vdso.so.dbg
VDSOSYM include/generated/vdso-offsets.h
OBJCOPY arch/arm64/kernel/vdso/vdso.so
LDS scripts/module.lds

gladtr

gladtr

2024-04-06 17:09

reporter   ~0019106

sudo apt-get update && sudo apt-get upgrade
Hit:1 http://http.kali.org/kali kali-rolling InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
python3-inflect spiderfoot
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.4) ...
Removing old xtrx-0.0.1+git20190320.5ae3a3e-3.4 DKMS files...
Deleting module xtrx-0.0.1+git20190320.5ae3a3e-3.4 completely from the DKMS tree.
Loading new xtrx-0.0.1+git20190320.5ae3a3e-3.4 DKMS files...
Building for 6.1.58-v8+
Building initial module for 6.1.58-v8+
Done.

xtrx.ko.xz:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/6.1.58-v8+/updates/dkms/
      depmod....
gladtr

gladtr

2024-04-06 17:13

reporter   ~0019107

Hello, dear arnaudr!
Please use the solution I found to solve the problem for 0008685 update pkg from metapackages by kali-tweaks

Issue History

Date Modified Username Field Change
2024-03-21 12:53 gladtr New Issue
2024-03-21 13:28 daniruiz Assigned To => arnaudr
2024-03-21 13:28 daniruiz Status new => assigned
2024-03-21 13:55 gladtr Note Added: 0019059
2024-03-21 13:56 gladtr Note Added: 0019060
2024-04-06 17:09 gladtr Note Added: 0019105
2024-04-06 17:09 gladtr Note Added: 0019106
2024-04-06 17:13 gladtr Note Added: 0019107