You are not logged in.
Pages: 1
Hi,
since a week i always get this error message when I´m running a pacman command even -Syu.
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Cleaning pacman cache...
call to execv failed (No such file or directory)
error: command failed to execute correctly
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...But it seems like pacman would still execute without any problem.
Is that an error?
Thanks in advance.
Jack
Last edited by JackTheNewbie (2021-08-22 13:47:48)
Offline
Have you edited
#CacheDir = /var/cache/pacman/pkg/in your pacman.conf?
Offline
Have you edited
#CacheDir = /var/cache/pacman/pkg/in your pacman.conf?
No
Offline
Does the path exist?
Check
pacman -Syu --debugOffline
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
debug: executing "/usr/share/libalpm/scripts/systemd-hook" under chroot "/"
debug: call to waitpid succeeded
(2/5) Updating module dependencies...
debug: executing "/usr/share/libalpm/scripts/depmod" under chroot "/"
debug: call to waitpid succeeded
(3/5) Install DKMS modules
debug: executing "/usr/lib/dkms/alpm-hook" under chroot "/"
==> dkms install --no-depmod -m ufsd-module -v 9.6.7 -k 5.10.60-1-lts
configure: error: "Can't find kernel source files"
Error! Bad return status for module build on kernel: 5.10.60-1-lts (x86_64)
Consult /var/lib/dkms/ufsd-module/9.6.7/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m ufsd-module -v 9.6.7 -k 5.10.60-1-lts' returned 10
==> depmod 5.10.60-1-lts
debug: call to waitpid succeeded
(4/5) Updating linux initcpios...
debug: executing "/usr/share/libalpm/scripts/mkinitcpio-install" under chroot "/"
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: 5.10.60-1-ltsIs that the part you asked for, sorry Iḿ new to Arch.
Last edited by JackTheNewbie (2021-08-21 06:19:35)
Offline
This is because you lack https://archlinux.org/packages/core/x86 … s-headers/
There's no attempt to clean caches and no related error either.
=> What *exact* command did produce the original error?
Also
pacman -Sc --debugOffline
1. I aleready had linux-lts-headers
2. Think it was
sudo pacman -Syuor
sudo pacman -Sc3. I've run the debug command but the error didn't change
Offline
What error didn't change how?
Please don't paraphrase.
I already had linux-lts-headers
==> dkms install --no-depmod -m ufsd-module -v 9.6.7 -k 5.10.60-1-lts
configure: error: "Can't find kernel source files"Either you or dkms are wrong
pacman -Q linux-lts-headersThink it was
Your shell most likely has a history.
Offline
1. Forget the thing with the error not changing, had a mistake in my thords
2.
$ sudo pacman -Q linux-lts-headers
linux-lts-headers 5.10.60-1Guess dkms is wrong
3. Yea i can see the shell command history but i can´t see when the output of the error first occured
Because the solution doesn´t seem that simple, can you tell me if you think that this could lead to an error. If not I would just let it be because everything is working fine for now.
Thanks for your effort
(If you could tell me where i could close a post I would be very happy thanks)
Last edited by JackTheNewbie (2021-08-21 18:48:37)
Offline
Consult /var/lib/dkms/ufsd-module/9.6.7/build/make.log for more information.What's in this log?
---
DKMS make.log for ufsd-module-9.6.7 for kernel 5.10.60-1-lts (x86_64)
Sat 21 Aug 2021 04:19:42 PM EDT
make: Entering directory '/usr/lib/modules/5.10.60-1-lts/build'
scripts/Makefile.build:44: /var/lib/dkms/ufsd-module/9.6.7/build/Makefile: No such file or directory
make[1]: *** No rule to make target '/var/lib/dkms/ufsd-module/9.6.7/build/Makefile'. Stop.
make: *** [Makefile:1822: /var/lib/dkms/ufsd-module/9.6.7/build] Error 2
make: Leaving directory '/usr/lib/modules/5.10.60-1-lts/build'I would probably just get rid of ufsd-module-dkms, it's been out of date for over a year and 9.6.7 is probably just not compatible with 5.10 kernel. If you absolutely need it, you might be able to get the latest version from their website (9.7.5) and update the PKGBUILD yourself, or wait for the driver to be directly included in the linux kernel.
(For what it's worth, 9.7.5 also fails on LTS.)
Last edited by Ammako (2021-08-21 20:38:10)
Offline
1. In /var/lib/dkms/ufsd-module/9.6.7/build/make.log is
GNU nano 5.8 /var/lib/dkms/ufsd-module/9.6.7/build/make.log
DKMS make.log for ufsd-module-9.6.7 for kernel 5.10.60-1-lts (x86_64)
Sa 21. Aug 09:12:46 CEST 2021
make: Entering directory '/usr/lib/modules/5.10.60-1-lts/build'
scripts/Makefile.build:44: /var/lib/dkms/ufsd-module/9.6.7/build/Makefile: No s>
make[1]: *** No rule to make target '/var/lib/dkms/ufsd-module/9.6.7/build/Make>
make: *** [Makefile:1822: /var/lib/dkms/ufsd-module/9.6.7/build] Error 2
make: Leaving directory '/usr/lib/modules/5.10.60-1-lts/build'2. I got rid of ufsd-module-dkms (thank you)
/var/lib/dkms/ufsd-module/9.6.7/build/make.log is deleted now
3. but I still got this error
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Cleaning pacman cache...
call to execv failed (No such file or directory)
error: command failed to execute correctly
(3/3) Updating the desktop file MIME type cache...Offline
(2/3) Cleaning pacman cache...This is a hook you added yourself. You will need to provide a copy of the file for anyone to know what is going on.
Offline
(2/3) Cleaning pacman cache...This is a hook you added yourself. You will need to provide a copy of the file for anyone to know what is going on.
Thank you yea I once build a script to delete paccache automatically but it wasn´t functioning and i forgot about it.
I have deleted it and the error disappeared.
Thanks to everybody who helped
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
Offline
Pages: 1