You are not logged in.

#1 2012-06-06 10:13:48

JMRamos
Member
From: Portugal
Registered: 2011-05-29
Posts: 6

Unable to install from AUR [SOLVED]

Greetings

I have tried to install some packages from AUR and I couldn't do it, always by the same reason:
After making the package with makepkg command, the file pkg.tar.xz is not created as I was used to. Instead, it is created a pkg.src.tar.gz, which I believe is a source file, and I can't install it with pacman.
During the build process there are no errors shown, and all dependencies seem to be installed (when using makepkg -S), however, correct me if I' m wrong, it seems that the problem lays on build process...
Is there any reason for this to happen? How do I fix it?
I had installed packages from AUR before and had no problems...
I thank you all for any tip to point me in the right direction.

Last edited by JMRamos (2012-06-06 15:52:36)

Offline

#2 2012-06-06 10:27:46

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Unable to install from AUR [SOLVED]

Hi

You have to issue "makepkg -s" and not "makepkg -S" because the last command produce source-only tarball that is why you get package "pkg.src.tar.gz".

From "man makepkg":

-S, --source
           Do not actually build the package, but build a source-only tarball that does not include sources that can be fetched via a download URL. This is useful
           for passing a single tarball to another program such as a chroot, remote builder, or a tarball upload. Because integrity checks are verified, all source
           files of the package need to be present or downloadable.

but makepkg -s:

-s, --syncdeps
           Install missing dependencies using pacman. When build-time or run-time dependencies are not found, pacman will try to resolve them. If successful, the
           missing packages will be downloaded and installed.

Last edited by Shark (2012-06-06 10:29:53)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#3 2012-06-06 15:52:04

JMRamos
Member
From: Portugal
Registered: 2011-05-29
Posts: 6

Re: Unable to install from AUR [SOLVED]

Thank you very much.
It worked just fine.

Offline

Board footer

Powered by FluxBB