You are not logged in.

#1 2015-12-23 21:11:30

BulletsWithGPS
Member
Registered: 2015-12-23
Posts: 2

ERROR: 'pacman' failed to install missing dependencies.

Hello. First time using Arch.

I have a little problem installing things from AUR. Lets imagine I want to install numix-themes-git. Every time I execute makepg -s numix-themes-git I get the following error: 

==> ERROR: PKGBUILD does not exist.

So I decided to download the snapshot, I extracted it and when I ran the command makepkg -s I got the following error:

[claudio@arch numix-themes-git]$ makepkg -s
==> Making package: numix-themes-git 2.5.1.r98.5cccc5b-2 (Wed Dec 23 20:55:13 WET 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[sudo] password for claudio: 
error: target not found: ruby-sass
==> ERROR: 'pacman' failed to install missing dependencies.

Why cant pacman install the missing dependencies which in this case is ruby-sass? Is it because the dependency is from the AUR?

Offline

#2 2015-12-23 21:15:39

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

Re: ERROR: 'pacman' failed to install missing dependencies.

BulletsWithGPS wrote:

Is it because the dependency is from the AUR?

Yes, install that first wink


Jin, Jîyan, Azadî

Offline

#3 2015-12-23 21:16:07

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

Re: ERROR: 'pacman' failed to install missing dependencies.

BulletsWithGPS wrote:

Is it because the dependency is from the AUR?

Yes. Pacman only works with packages from the official repositories. You are responsible for managing stuff from AUR. See: https://wiki.archlinux.org/index.php/AUR


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2015-12-23 21:21:49

BulletsWithGPS
Member
Registered: 2015-12-23
Posts: 2

Re: ERROR: 'pacman' failed to install missing dependencies.

So. If this had a dependency that also required 10 dependencies from AUR I would have to install manually those 11 dependencies so I could install this one? Is there any workaround?

EDIT: Also... when I am doing makepkg -sri (package) from a package that I didn't download anything why doesn't it work and displays that error? Even if it doesn't need dependencies

Last edited by BulletsWithGPS (2015-12-23 21:50:44)

Offline

#5 2015-12-23 22:04:59

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: ERROR: 'pacman' failed to install missing dependencies.

This is on the wiki. Please read up on pacman, makepkg, ABS, AUR, and PKGBUILDS.

Basically, pacman resolves dependencies for built packages using the databases downloaded from the binary repos configured in /etc/pacman.conf. Binary repos provide dependencies.

makepkg cannot resolve dependencies outside of the binary repos configured in pacman.conf. It does not automatically download PKGBUILDs either because it does not know about ABS, the AUR, <some other source of PKGBUILDs>. It is just a tool to build a package from a PKGBUILD that you have created or downloaded yourself. It does download the source files specified in the PKGBUILD, but that's it. It is just a tool to build packages, not manage them.

The AUR is not a binary repo. It is an online collection of PKGBUILDs and related files. It's basically a recipe book. It tells you how to make the cake but it doesn't do your shopping or bake it for you. The AUR is also dangerous because anybody can upload packages to it and so they may cause data loss and do other nasty things, either through maintainer malice or incompetence. You use it at your own risk. This is part of the reason why it is not automated by pacman and makepkg.

There are AUR helpers but you should really learn how to manage files from the AUR manually before using one of them.


My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB