linux 4.4 bad package - wont install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux