You are not logged in.
Pages: 1
So I recently installed Arch Linux on new(er) hardware (Intel Pentium E5300, Gateway BIOS Motherboard, GPT harddrive, 64-bit, 8GB RAM/4GB swap), and previously, using the same (now wiped) HDD on a Pentium 4 64-bit Architecture with an HP BIOS motherboard with a meager 512MB RAM, I had no problem installing packer (in turn used to install yaourt) via the aur.sh bash script. I've set up the BIOS to load a new installation of GRUB/Arch Linux on a separate (non-RAID) HDD (/dev/sdb) from my Windows drive (/dev/sda). This is my second install attempt on this machine, and it simply doesn't want to create packages from AUR for me.
This is the specific error it's spitting at me after running the command bash <(curl aur.sh) -si packer as a regular user :
gzip: stdin: not in gzip format
tar: Child Returned Status 1
tar: Error is not recoverable: exiting now
/proc/self/fd/11: line 7: cd: packer: No such file or directory
==> ERROR: PKGBUILD does not exist.
It might be worth noting that I changed my shell to zsh w/grml, but it should still run that command through bash. I've screwed around with makepkg.conf after the fact, and it's still spitting this hair-pulling error at me - not just with the deprecated packer, but with any AUR package. Can somebody please tell me what's going on, and how I can get packages to compile on my system?
Last edited by RJ_The_Edgelord (2015-08-19 13:02:39)
Offline
Also noteworthy, though I'm not sure it matters:
/etc/makepkg.conf :
CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"
I'm not sure if it said something different on my other motherboard, but could this be a source of the confusion? Is there anything I can change in makepkg.conf that will make it work for me? I've tried changing the unknown in CHOST to pc-linux-gnu and arch-linux-gnu, still no dice. What's it supposed to read, exactly?
Last edited by RJ_The_Edgelord (2015-08-19 08:34:53)
Offline
Offline
Is that why it's not working now? Recent migration to AUR4? Even running makepkg -s alone as a regular user, spits the same error at me. I'm confused - could you please give me a less RTFM explanation for this error?
EDIT: Oh, I see what you're trying to tell me now. Please ignore all that hardware fluff above.
Old package helpers don't work anymore as part of a move to AUR4. I guess I should learn how to use the AUR directly, then?
Last edited by RJ_The_Edgelord (2015-08-19 08:55:20)
Offline
I've added a warning to https://wiki.archlinux.org/index.php/Aur.sh
The URLs to PKGBUILDs have changed, so the script can't find them:
$ ./aur.sh expac-git
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 168 100 168 0 0 539 0 --:--:-- --:--:-- --:--:-- 540
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./aur.sh: line 7: cd: expac-git: No such file or directory
==> ERROR: PKGBUILD does not exist.
Edit: You can still download tarballs or you can use git. You can use another AUR helper - it's all up to you.
Edit the aur.sh script to match the new URL and see if it works.
Last edited by karol (2015-08-19 09:05:24)
Offline
Also running a script to install packer to install yaourt is just plain silly, just install yaourt to begin with, or better, learn how to correctly use aur and makepkg before you start using aur helpers.
Last edited by Mr.Elendig (2015-08-19 09:22:05)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I've added a warning to https://wiki.archlinux.org/index.php/Aur.sh
The URLs to PKGBUILDs have changed, so the script can't find them:$ ./aur.sh expac-git % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 168 100 168 0 0 539 0 --:--:-- --:--:-- --:--:-- 540 gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now ./aur.sh: line 7: cd: expac-git: No such file or directory ==> ERROR: PKGBUILD does not exist.
Edit: You can still download tarballs or you can use git. You can use another AUR helper - it's all up to you.
Edit the aur.sh script to match the new URL and see if it works.
Alright, thank you! I was getting worried there.
So, are we just not supposed to use AUR helpers at all then? Is the manual process of extracting and building source packages too important to be automated or something? AFAIK from my experience with Gentoo, all the optimization variables in Arch are set in makepkg.conf, but then again I know nothing.
Last edited by RJ_The_Edgelord (2015-08-19 09:20:58)
Offline
Sure you can use helpers: https://wiki.archlinux.org/index.php/AUR_helpers (read the warning) but you should know how to use AUR + makepkg if something breaks, like it just did for you.
Offline
Just saw your post. Yeah, I'm guessing the best way to troubleshoot this kind of stuff is to see what the scripts I've depended on are actually doing, and learn to do that manually. I was just being a skript kiddie in the past, doing what worked for me to get yaourt on my system. It spat an error at me if I tried to install yaourt with the script, so I took the path of least resistance and used a lazy workaround. I really am a newbie, and for that I apologize. Thanks for the insight.
Last edited by RJ_The_Edgelord (2015-08-19 09:27:38)
Offline
Just an update, I've resolved this by manually downloading and extracting the snapshots like I'm supposed to - with curl, tar, and makepkg. I've successfully installed yaourt, without packer. For convenience, I'm probably still going to treat AUR source packages like binaries which I'm not supposed to , but at least I know how the AUR works now. Thanks for the advice.
Last edited by RJ_The_Edgelord (2015-08-19 11:57:51)
Offline
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline
Pages: 1