Project

General

Profile

[SOLVED]Cannot update due to dependency issues

h.ueno - almost 2 years ago -

I tried to update a package using the pacman command, but was unable to do so due to a dependency issue.

$ sudo pacman -Syu
error: failed to prepare transaction (could not satisfy dependencies)
:: installing linux-libre (5.17.3-1) breaks dependency 'linux-libre=5.15.12' required by acpi_call

I think the dependency-related error occurs because there is no acpi_call package that matches the kernel version of linux-libre.
Is there any way to exclude the kernel and the packages that depend on it and update the packages in one go?

[SOLVED]
I found out how to exclude and update them.

I was able to exclude packages with dependency problems
and update all other packages with the "pacman -Syu" command
by putting the following in "/etc/pacman.conf"

IgnorePkg = linux-libre linux-libre-api-headers