On 1 February 2012 13:06, Madhurya Kakati <[email protected]> wrote:
> Hi,
> I tried compiling and installing the linux kernel from ABS. I modified the
> PKGBUILD file as mentioned in the wiki. The kernel compiles fine and the pkg
> gets built with the name linux-custom as specified in the PKGBUILD. But when I
> try to install it I get the following error:
>
> $ sudo pacman -Uv linux-custom-3.2.2-1-x86_64.pkg.tar.xz
> Root : /
> Conf File : /etc/pacman.conf
> DB Path : /var/lib/pacman/
> Cache Dirs: /var/cache/pacman/pkg/
> Lock File : /var/lib/pacman/db.lck
> Log File : /var/log/pacman.log
> GPG Dir : /etc/pacman.d/gnupg/
> Targets : linux-custom-3.2.2-1-x86_64.pkg.tar.xz
> loading packages...
> resolving dependencies...
> looking for inter-conflicts...
> :: linux-custom and linux are in conflict (kernel26). Remove linux? [y/N] N
> error: unresolvable package conflicts detected
> error: failed to prepare transaction (conflicting dependencies)
> :: linux-custom and linux are in conflict
>
> I have attached the PKGBUILD.
> --
> Madhurya Kakati
>
> () ascii ribbon campaign - against html e-mail
> /\ www.asciiribbon.org - against proprietary attachments
provides=('kernel26')
conflicts=('kernel26')
replaces=('kernel26')
That's you problem in the PKGBUILD. Your custom kernel doesn't need to
provide, conflict nor replace kernel26, as that is what causes it to
conflict with the Arch one