Results 1 to 5 of 5
i'm trying to install wbarconf in arch linux, when i run
Code:
pacman -U /home/hailsanta/wbarconf-0.7.2.tar.gz
i get this error
Code:
error: missing package metadata in /home/hailsanta/wbarconf-0.7.2.tar.gz
error: '/home/hailsanta/wbarconf-0.7.2.tar.gz': invalid or ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-23-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 7
[SOLVED] wbarconf - missing package metadata
i'm trying to install wbarconf in arch linux, when i run
i get this errorCode:pacman -U /home/hailsanta/wbarconf-0.7.2.tar.gz
is that not how you're supposed to install local tar files? any advice is appreciatedCode:error: missing package metadata in /home/hailsanta/wbarconf-0.7.2.tar.gz error: '/home/hailsanta/wbarconf-0.7.2.tar.gz': invalid or corrupted package
thanks
- 09-23-2010 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
Hello, and welcome to the forums!
With the new extension that pacman packages are now using, ready to install packages look like this:
If needed, you can check these wiki pages for the steps to build the package then try installing it again:Code:pkgname.pkg.tar.xz
Creating Packages - ArchWiki
PKGBUILD - ArchWiki
You can find a package build for wbarconf here, but the package might be somewhat dated:
AUR (en) - wbarconf
The basic steps for installing ready to go pkgbuilds are as follows:
go to AUR, find the desired package
click on the link where it says "tarball" to download
extract the tarball (this should create a directory)
example:
cd /path/to/file
tar -zxf file_name.tar.gz
cd folder_name
type "makepkg -c"
after it compiles, you should have a file ending in .pkg.tar.xz
install that file with pacman using the following command:
'pacman -U filename.pkg.tar.xz'
installation should now be completeoz
- 09-23-2010 #3That seems like a lot of work, ozar.
Originally Posted by ozar 
Why not just download the PKGBUILD file and
Makepkg will handle downloading the source, installing the dependencies (assuming they are in your configured repositories), and installing the package when it's done.Code:makepkg -si
@hail_santa, you can also check out some of the AUR helper programs, but do be careful as not all PKGBUILDs on the AUR are of good quality. Personally, I use bauerbill and clyde for pretty much all my package management needs.
- 09-23-2010 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
Yes, it is indeed a lot of work concerning building packages, and I probably wouldn't do it myself. That's why I said "if needed" regarding creating a package build, and then gave the location for the current package build, followed up with the howto on installing it, but I've never personally felt the makepkg method presented to be overly cumbersome and it goes rather quickly for me.

Very true... I rarely ever use anything from AUR for that very reason. In fact, I try my best to stick to the Core and Extra repos only for nearly everything. Occasionally, I'll grudgingly build something for myself.
hail_santa, you can check the man page for additional options on using makepkg:
Code:man makepkg
Last edited by oz; 09-23-2010 at 02:51 PM.
oz
- 09-24-2010 #5Just Joined!
- Join Date
- Sep 2010
- Posts
- 7
hey guys, thanks a lot for all the information!
i couldn't download the pkgbuild file (error: file not found...) so i used ozar's second suggestion, worked like a charm (^-^)/




