You are not logged in.
Pages: 1
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
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.
Offline
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 PKGNAMELast edited by progandy (2012-08-24 03:06:20)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
From my /etc/aurgetrc:
#
# if true, aurget will automatically resolve dependencies.
###
resolve_dependencies=trueOne 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
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
From my /etc/aurgetrc:
# # if true, aurget will automatically resolve dependencies. ### resolve_dependencies=true
I really need to try and keep up... ![]()
Offline
Wow, that looks ancient! Thus...
aurget -SyuRight along with my regular system updates ![]()
$ 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
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. ![]()
Offline
packer checks updates much faster (10s v. 30s) than aurget.
Offline
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
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
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
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! :-)
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_installaurget will automatically resolve dependancies of the package you're going to compile and install, without making it the default behaviour.
Offline
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
Pages: 1