You are not logged in.

#1 2012-08-24 02:41:10

gdea73
Member
Registered: 2012-07-16
Posts: 34

aurget official package dependencies

Good evening, Arch linux fora.

In my limited experience with Arch, I've come to respect it as an immensely powerful and configurable distribution, and I'm very satisfied with it. However, I am having issues with a specific AUR helper, "aurget," which I don't quite understand and have not seen documented elsewhere on the Web. When I attempt to configure, build, and install an AUR package (-Sy switch) the operation completes successfully only if it does not have any dependencies that need be installed.

If dependencies must be installed (from either the AUR, or from the official software repositories), the output tells me that the following dependencies could not be installed, and as such the installation failed (it lists any and all dependencies).

I've gotten software installation with aurget to work successfully as long as I install all official dependencies manually, which is somewhat tedious but otherwise a valid workaround. Except for the fact that I realize I forgot to install them with the switch specifying that they were dependencies and therefore should be removed when packages above them in the hierarchy are removed with the -Rs switch, if applicable; now this is problematic because I must go through my .bash_history in order to find the commands I ran to manually install the dependencies after uninstalling the package that required them via aurget.

I would appreciate if anyone with knowledge of a solution for this would help me out here. TIA.

- gdea73 -

Update: I noticed according to the Wiki page regarding "AUR Helpers," aurget doesn't support "core/extra/community" in the feature comparison chart. Does this mean I should just use a different AUR helper if I want dependencies from the official repositories to be installed automatically, i.e. Owl; Packer?

Last edited by gdea73 (2012-08-24 02:56:08)

Offline

#2 2012-08-24 03:01:24

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

Re: aurget official package dependencies

gdea73 wrote:

Update: I noticed according to the Wiki page regarding "AUR Helpers," aurget doesn't support "core/extra/community" in the feature comparison chart. Does this mean I should just use a different AUR helper if I want dependencies from the official repositories to be installed automatically, i.e. Owl; Packer?

Yes, you are correct. Packer will handle all dependencies for you.

Arch being Arch, though, many will tell you (me included) that learning how to manage this yourself--with makepkg and pacman--is something you should explore.

Welcome to the boards.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-08-24 03:04:15

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: aurget official package dependencies

And in order to fix the wrongly installed packages, go through your history once and execute for all dependency packages the following command. This changes the installation reason to dependency.

pacman -D --asdeps PKGNAME

Last edited by progandy (2012-08-24 03:06:20)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#4 2012-08-24 05:00:48

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: aurget official package dependencies

From my /etc/aurgetrc:

#
# if true, aurget will automatically resolve dependencies.
###
resolve_dependencies=true

One of the beauties of aurget is that it ONLY handles building/installing AUR packages (and their dependencies....with the right options)...ya know Unix philosophy and all smile But like jasonwryan said...you really should practice building and installing packages from a PKGBUILD before using something like aurget, packer or yaourt.

Scott

Offline

#5 2012-08-24 05:07:45

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

Re: aurget official package dependencies

firecat53 wrote:

From my /etc/aurgetrc:

#
# if true, aurget will automatically resolve dependencies.
###
resolve_dependencies=true

I really need to try and keep up... tongue


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2012-08-24 05:11:43

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: aurget official package dependencies

Wow, that looks ancient! Thus...

aurget -Syu

Right along with my regular system updates  smile

$ pacman -Qi aurget
Name           : aurget
Version        : 3.4.0-2
URL            : http://pbrisbin.com/posts/aurget/
....

Last edited by firecat53 (2012-08-24 05:12:38)

Offline

#7 2012-08-24 05:15:33

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

Re: aurget official package dependencies

Its a great tool: I just haven't used it in, ahem, some time...

I have a simple bash function that handles the basics; it's all I really need. smile


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2012-08-24 10:15:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: aurget official package dependencies

packer checks updates much faster (10s v. 30s) than aurget.

Offline

#9 2012-08-24 22:15:08

gdea73
Member
Registered: 2012-07-16
Posts: 34

Re: aurget official package dependencies

I appreciate the help everyone, so anyway firecat53, I will indeed check my aurgetrc file for that option, I actually didn't know that's where the configuration file did reside, for whatever reason aurget didn't have a man page.

However, is it possible for aurget to resolve dependencies by rerouting to pacman temporarily to install the list of official dependencies, or is it as you said that it only handles AUR packages?

And also I have installed a few AUR packages without the aid of aurget, before I installed it, so I know roughly how to do it but obviously when installing things like large(r) desktop environments like Cinnamon it's notably more convenient to use aurget.

I may also try Packer, thanks for the tip karol.

Offline

#10 2012-08-24 22:31:28

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: aurget official package dependencies

Aurget will allow pacman to install missing repo dependencies and will install missing AUR dependencies.

Last edited by firecat53 (2012-08-24 22:32:41)

Offline

#11 2012-08-24 22:35:10

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: aurget official package dependencies

karol wrote:

packer checks updates much faster (10s v. 30s) than aurget.

aurget can be quite slow. Is there an alternative which does *not* wrap pacman commands or deal in any way with pacman stuff? That's aurget's main advantage from my point of view!


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#12 2012-08-24 22:57:08

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: aurget official package dependencies

Cower. It doesn't build packages, but will check updates and download AUR packages only. You have build each one manually with makepkg.

Offline

#13 2012-08-25 17:09:51

Doktor Schliemann
Member
Registered: 2012-01-08
Posts: 8

Re: aurget official package dependencies

firecat53 wrote:

One of the beauties of aurget is that it ONLY handles building/installing AUR packages (and their dependencies....with the right options)...ya know Unix philosophy and all smile But like jasonwryan said...you really should practice building and installing packages from a PKGBUILD before using something like aurget, packer or yaourt.

Scott

True! :-)

firecat53 wrote:

From my /etc/aurgetrc:

#
# if true, aurget will automatically resolve dependencies.
###
resolve_dependencies=true

Alternatively you can use this syntax:

aurget --deps -S package_to_install

aurget will automatically resolve dependancies of the package you're going to compile and install, without making it the default behaviour.

Offline

#14 2012-08-25 21:11:35

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: aurget official package dependencies

firecat53 wrote:

Cower. It doesn't build packages, but will check updates and download AUR packages only. You have build each one manually with makepkg.

Thanks. I will definitely look at Cower then. I don't use aurget to build packages when I first install them anyway and I never use it to install. I do let it build packages when they are upgraded but that isn't a big deal. I don't use it to install because I build all AUR packages in a non-privileged user account which cannot, therefore, install anything. I mostly use it to search, download and identify updates.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB