Re: problem installing custom kernel

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



On 1 February 2012 13:06, Madhurya Kakati <mkakati2805@xxxxxxxxx> 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


[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