You are not logged in.

#1 2015-01-02 16:04:01

codingman
Member
Registered: 2015-01-01
Posts: 32

Kernel-headers not found.

Hello! Sorry if this isn't the correct place for this topic.

I'm trying to install Portbunny using Aura, and it gives me this error:

The dependency `kernel-headers` could not be found. You may need to search for a package to satisfy it.

I have linux-headers installed, and the output of uname -r is:

3.17.6-1-ARCH

Yes, I've done pacman -Syu countless times, but no cigar. I've searched for a problem like this, and all I've come up with is to install linux-headers.

Any help is appreciated!


Help Vampires --- Linux is NOT Windows! --- The Arch Way --- Get the As to your Qs!

No tak lik dis or NO ANZER!1!1!!1!

Offline

#2 2015-01-02 16:10:59

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Kernel-headers not found.

I would advise installing the AUR package manually rather than using a helper -- it's really very simple:
https://wiki.archlinux.org/index.php/AU … g_packages

Try installing it using the methods described in the link.

EDIT: Actually, don't bother:

AUR comments page wrote:

This doesn't work since kernel .33 anyway and upstream is dead. orphaning..

https://aur.archlinux.org/packages/port … mments=all

Looks like you're out of luck sad

My advice about helpers still stands though.

Last edited by Head_on_a_Stick (2015-01-02 16:13:27)


Jin, Jîyan, Azadî

Offline

#3 2015-01-02 16:23:36

codingman
Member
Registered: 2015-01-01
Posts: 32

Re: Kernel-headers not found.

Thanks for the reply!

It seems that when I run makepkg in the directory of Portbunny, it gives me an error:

==> ERROR: Missing package() function in /home/codingman/AUR/portbunny/PKGBUILD

I looked at the PKGBUILD, and it has the package() function as far as I can tell. The PKGBUILD is here if you want to take a look at it.


EDIT:Ninja posted!

EDIT 2: Any other packages that have the same functionality?

Last edited by codingman (2015-01-02 16:25:34)


Help Vampires --- Linux is NOT Windows! --- The Arch Way --- Get the As to your Qs!

No tak lik dis or NO ANZER!1!1!!1!

Offline

#4 2015-01-02 16:33:20

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Kernel-headers not found.

Welcome to the forums. smile

codingman wrote:

It seems that when I run makepkg in the directory of Portbunny, it gives me an error:

==> ERROR: Missing package() function in /home/codingman/AUR/portbunny/PKGBUILD

I looked at the PKGBUILD, and it has the package() function as far as I can tell. The PKGBUILD is here if you want to take a look at it.

It does not have a package() function. It does have a build() function. Recent changes to makepkg has made the package() function non-optional. Many old PKGBUILDs do not have one and will fail to build. And this PKGBUILD is very old. kernel-headers was replaced by linux-headers years ago.

Moving from Newbie Corner to AUR Issues, Discussion & PKGBUILD Requests.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#5 2015-01-02 16:36:07

codingman
Member
Registered: 2015-01-01
Posts: 32

Re: Kernel-headers not found.

@fsckd, thanks for the information.


Help Vampires --- Linux is NOT Windows! --- The Arch Way --- Get the As to your Qs!

No tak lik dis or NO ANZER!1!1!!1!

Offline

#6 2015-01-03 00:48:58

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Kernel-headers not found.

"kernel-headers" is the long forgotten name of what we now call "linux-api-headers".

Offline

Board footer

Powered by FluxBB