You are not logged in.

#1 2012-08-01 03:32:09

al0ngcam3asp1d3r
Member
Registered: 2012-07-31
Posts: 12

PKGBUILD not found, again...

Ok so I've seen a million posts on this and some HARSH responses. So I guess I have it coming from the tone of most of these posts. I'm trying to install yaourt and it's dependencies. Starting with package query this is what I have done EXACTLY.

sudo mkdir ~/AUR
ls
tar xzvf package-query-1.0.1
cd ~/AUR/package-query-1.0.1
makepkg

ERROR:PKGBUILD does not exist

From the wiki that people keep linking to and demanding that others are inept at using, I'm doing exactly what is necessary and having no success.

Offline

#2 2012-08-01 03:37:13

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: PKGBUILD not found, again...

Where do you think the package is untar-ring to? Wiki instructions need to be understood (at a basic level) as well, not just copy-pasted.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2012-08-01 03:43:21

al0ngcam3asp1d3r
Member
Registered: 2012-07-31
Posts: 12

Re: PKGBUILD not found, again...

ngoonee wrote:

Where do you think the package is untar-ring to? Wiki instructions need to be understood (at a basic level) as well, not just copy-pasted.


They would be untarring into the folder I cd'd to, the unzipped folder...

Offline

#4 2012-08-01 03:44:58

al0ngcam3asp1d3r
Member
Registered: 2012-07-31
Posts: 12

Re: PKGBUILD not found, again...

Also I have razor-qt installing with no problems

Offline

#5 2012-08-01 04:04:23

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: PKGBUILD not found, again...

Lesson 1: How to detect a PEBKAC.

sudo mkdir ~/AUR
ls
tar xzvf package-query-1.0.1
cd ~/AUR/package-query-1.0.1
makepkg

ERROR:PKGBUILD does not exist

You basically did the following:

1. created (as root) a directory:

# pwd
/home/al0ngcam3asp1d3r
# sudo mkdir ~/AUR

2. run ls:

# ls
AUR/

3. untarred the archive:

tar xzvf package-query-1.0.1

4. cd to your imagined location:

cded ~/AUR/package-query-1.0.1

5. ...and got upset when the computer said you're wrong:

makepkg

ERROR:PKGBUILD does not exist

...because it was right: you've been in the wrong directory all the time, because you untarred the archive to your ~/, not ~/AUR...

I'm doing exactly what is necessary and having no success.

Oh well...

Edit: almost forgot to ask, why in the world did you create the directory as root?

Last edited by bohoomil (2012-08-01 04:06:02)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#6 2012-08-01 04:08:20

al0ngcam3asp1d3r
Member
Registered: 2012-07-31
Posts: 12

Re: PKGBUILD not found, again...

Well I'm in my imagined directory and there's no pkgbuild file in it like there has been in the last three packages I've just installed. Cool story bro, thanks for breaking it down

Offline

#7 2012-08-01 04:13:53

al0ngcam3asp1d3r
Member
Registered: 2012-07-31
Posts: 12

Re: PKGBUILD not found, again...

Built from source with good old make install and the other packages had packagebuild files inside that were able to be run normally like instructed in the wiki that I couldn't "understand".

Offline

#8 2012-08-01 04:23:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: PKGBUILD not found, again...

Please learn to use the 'Edit' button rather than needlessly bumping your posts https://wiki.archlinux.org/index.php/Fo … te#Bumping

Your first post makes it clear that you hadn't downloaded the tarball from the AUR page (which does contain a PKGBUILD):

┌─[Veles ~/Build]
└─╼ extract package-query.tar.gz 
package-query/
package-query/PKGBUILD

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2012-08-01 05:57:35

AlistairFox
Member
Registered: 2012-07-29
Posts: 3

Re: PKGBUILD not found, again...

Bleh, things can get a little confusing when just using a CLI -- from my own experience, at least. (Think I've deleted my home directory at least once on accident...) I'd say open a file manager and look at what you're doing graphically.
Untar the file, look in the untarred directory with Nautilus/Dolphin/Thunar/whatever, and see if there's a PKGBUILD or not. If makepkg doesn't work, make sure the terminal's in the same directory as the file manager.

Last edited by AlistairFox (2012-08-01 05:58:11)

Offline

#10 2012-08-01 06:19:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: PKGBUILD not found, again...

Humor me.

Please post the output of ls -l ~ ~/AUR


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2012-08-01 08:31:35

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: PKGBUILD not found, again...

AlistairFox wrote:

Bleh, things can get a little confusing when just using a CLI -- from my own experience, at least. (Think I've deleted my home directory at least once on accident...) I'd say open a file manager and look at what you're doing graphically.
Untar the file, look in the untarred directory with Nautilus/Dolphin/Thunar/whatever, and see if there's a PKGBUILD or not. If makepkg doesn't work, make sure the terminal's in the same directory as the file manager.

Thing is, to use Arch you eventually do have to know how to use the CLI fairly comfortably, or you won't enjoy your system very much (nor will others enjoy the questions you'll have to ask)....


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#12 2012-08-01 19:53:50

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,557

Re: PKGBUILD not found, again...

Has anyone really been far even as decided to use even go want to do look more like?

Offline

#13 2012-08-01 20:06:14

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: PKGBUILD not found, again...

^ Wut?


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#14 2012-08-01 21:43:28

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: PKGBUILD not found, again...

bangkok_manouel wrote:

Has anyone really been far even as decided to use even go want to do look more like?

I love that qoute and it fits right in here.

I'll be the nice one here because this is painful to watch, but how about you mv the tar to ~/AUR then extract.

Offline

#15 2012-08-01 23:40:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: PKGBUILD not found, again...

al0ngcam3asp1d3r wrote:

Built from source with good old make install and the other packages had packagebuild files inside that were able to be run normally like instructed in the wiki that I couldn't "understand".

So with the benefit of that experience, do package-query again - properly this time.

In case you haven't encountered this process before, it's called "learning from your mistakes".

Offline

#16 2012-08-02 05:37:35

Zancarius
Member
From: NM, USA
Registered: 2012-05-06
Posts: 207

Re: PKGBUILD not found, again...

al0ngcam3asp1d3r wrote:

From the wiki that people keep linking to and demanding that others are inept at using, I'm doing exactly what is necessary and having no success.

If you go to the Yaourt page on the wiki and scroll all the way to the bottom, it has a link to archlinux.fr's instructions. These instructions include information on adding an unofficial repository to your pacman.conf which is probably the easiest way for an Arch newbie to install Yaourt. But be aware that it's completely unsupported; if it breaks, you're on your own. smile Their build instructions work as well, but I cannot stress enough how important it is to understand the commands you're using (or planning to use) before blindly pasting them into a shell.

Also, in my experience here on the Arch forums, hostility is generally only gotten if hostility is given. Being calm and polite is important, and it certainly wouldn't hurt to read this article at some point in one's life (it's listed on the forum etiquette guidelines)--it may yield some insight into understanding why the responses you're receiving are so "harsh."

Last edited by Zancarius (2012-08-02 05:38:18)


He who has no .plan has small finger.
~Confucius on UNIX.

Offline

#17 2012-08-02 06:36:15

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: PKGBUILD not found, again...

Zancarius wrote:

These instructions include information on adding an unofficial repository to your pacman.conf which is probably the easiest way for an Arch newbie to install Yaourt. But be aware that it's completely unsupported; if it breaks, you're on your own. smile

Personal opinion - if a person can't figure out how to run extract an AUR tarball and run makepkg on it, giving him/her yaourt is just going to mess his system (and by extension the forums) up....


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB