[arch-general] linux 4.4 bad package - wont install

Genes Lists lists at sapience.com
Thu Jan 14 13:07:14 UTC 2016


There is a bug with the PKGFILE which is too aggressive copying files 
with names containing Kconfig.

Consequence is upon install attempt:

error: failed to commit transaction (conflicting files)
/usr/lib/modules/4.4.0-1-ARCH/build/Documentation/kbuild/Kconfig.recursion-issue-01 
exists in both 'linux-docs' and 'linux-headers'
/usr/lib/modules/4.4.0-1-ARCH/build/Documentation/kbuild/Kconfig.recursion-issue-02 
exists in both 'linux-docs' and 'linux-headers'
/usr/lib/modules/4.4.0-1-ARCH/build/Documentation/kbuild/Kconfig.select-break 
exists in both 'linux-docs' and 'linux-headers'
Errors occurred, no packages were upgraded.


A "dumb" fix is to remove the duplicate by adding a line to PKGFILE 
something like:

rm 
"${pkgdir}/usr/lib/modules/${_kernver}/build/Documentation/kbuild"/Kconfig.*-*


gene


More information about the arch-general mailing list