You are not logged in.

#1 2017-12-25 00:46:37

sillen102
Member
From: Gothenburg, Sweden
Registered: 2016-02-24
Posts: 12

[SOLVED] Yaourt not even trying

Hi.

I have just made a clean install with KDE and sddm. I've been running various arch based distros for a while now but finally wanted to do a proper arch install.

However I have an issue with enabling the AUR. I have installed yaourt, package-quary and so on. I managed to install octopi by downloading the snapshots with it and all it's dependencies and then using makepkg. But the problem is that when I try to install a package from the AUR (any package, I've tried several that I have installed prevously on my previous installs) it just fails without even presenting me with an error message. I get to the part where it asks me if I want to do edit the PKGBUILD and then at last if I want to continue building the package but as soon as I press 'y' it just ends. No error message or anything, it just terminates.

How can I fix this?

Last edited by sillen102 (2017-12-25 14:00:41)

Offline

#2 2017-12-25 00:52:58

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,531
Website

Re: [SOLVED] Yaourt not even trying

You say "it" fails.  What is "it"?  You say you successfully installed yaourt and octopi, so clearly you can install AUR packages.  So is it yaourt or octopi that is not working?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#3 2017-12-25 00:56:36

sillen102
Member
From: Gothenburg, Sweden
Registered: 2016-02-24
Posts: 12

Re: [SOLVED] Yaourt not even trying

I didn't install those using yourt or octopi. I installed yaourt and octopi by downloading the tarballs and than installing them manually using makepkg. I would however want to be able to use octopi to install other packages from the AUR as well as an update notifier.

It's when I try to use yaourt or octopi to install something that it fails as I described.

Last edited by sillen102 (2017-12-25 00:59:16)

Offline

#4 2017-12-25 01:00:16

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,531
Website

Re: [SOLVED] Yaourt not even trying

Yes, I understand that, but you've really only said what works.  You need to tell us what doesn't work if you want help.  In your first post you only said "It" doesn't work: what is the it to which you are referring: yaourt or octopi?

EDIT: In other words, does yaourt on it's own work?

Last edited by Trilby (2017-12-25 01:00:58)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#5 2017-12-25 01:02:32

sillen102
Member
From: Gothenburg, Sweden
Registered: 2016-02-24
Posts: 12

Re: [SOLVED] Yaourt not even trying

Well both. They both behave exactlly the same way. As soon as I hit 'y' on "Do you wish to continue building.." they terminate.

I can install regular packages with Octopi just fine by the way. But nothing from the AUR. I can search the AUR, it finds the packages but won't install them.

EDIT: No Yaourt on it's own doesn't work. I can find packages but it won't install them.

Last edited by sillen102 (2017-12-25 01:23:54)

Offline

#6 2017-12-25 01:38:35

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

Re: [SOLVED] Yaourt not even trying

You said it terminates when it tries to open an editor. I hope that yaourt relies on $EDITOR to select it. Did you set the EDITOR environment variable to a valid text editor?


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

Offline

#7 2017-12-25 01:45:09

sillen102
Member
From: Gothenburg, Sweden
Registered: 2016-02-24
Posts: 12

Re: [SOLVED] Yaourt not even trying

No. It gets past that part. It's when it's supposed to actually start building the package that it terminates. Or rather just exits since I get no error message. I will post the printout from the terminal below. It is in Swedish but I hope you can make sense of it anyway.

$ yaourt postman
1 aur/postman-bin 5.5.0-1 (58) (9,65)
    Build, test, and document your APIs faster
==> Ange nr för alla paket som ska installeras (t.ex: 1 2 3 eller 1-3)
==> ------------------------------------------------------------------
==> 1


==> Laddar ner PKGBUILD för postman-bin från AUR...
x .SRCINFO
x PKGBUILD
x postman.desktop
claudiodangelis commented on 2017-08-14 10:02			 
Package has been updated.

Stephen304 commented on 2017-09-08 20:39			 
This still needs libxss as a dependency fyi.

claudiodangelis commented on 2017-09-09 13:46			 
@Stephen304 hi, the dependency has been added, thanks for pointing it out -- Claudio

connesc commented on 2017-10-30 12:50			 
I think there is also a dependency on gtk2.
Without it, I get the following error:

postman: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

PS: regarding the linked dependencies, I would also add alsa-lib, libxtst and nss.

blue commented on 2017-12-05 19:10			 

postman-bin 5.5.0-1  (2017-12-11 18:48)
( Paket utan stöd: Potentiellt farligt! )
==> Redigera PKGBUILD ? [J/n] ("A" för att avbryta)
==> -----------------------------------------------
==> n

==> postman-bin beroenden:
 - gconf (redan installerat)
 - libxss (redan installerat)


==> Fortsätta bygga postman-bin ?[J/n]
==> ----------------------------------
==> j

$

Last edited by sillen102 (2017-12-25 01:53:54)

Offline

#8 2017-12-25 01:46:19

sillen102
Member
From: Gothenburg, Sweden
Registered: 2016-02-24
Posts: 12

Re: [SOLVED] Yaourt not even trying

As you can see it just terminates. I have set up vim as my default editor in my bashrc file by adding "export EDITOR=vim".

Edit: I just tried by setting nano as my default editor in both my .bashrc and in /etc/yaourtrc. It didn't help.

Last edited by sillen102 (2017-12-25 01:49:24)

Offline

#9 2017-12-25 01:49:39

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

Re: [SOLVED] Yaourt not even trying

It's just a bash script, isn't it? set -x it.

And please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2017-12-25 01:54:54

sillen102
Member
From: Gothenburg, Sweden
Registered: 2016-02-24
Posts: 12

Re: [SOLVED] Yaourt not even trying

jasonwryan wrote:

It's just a bash script, isn't it? set -x it.

What do you mean?

jasonwryan wrote:

And please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code

Sorry. Will do!

Offline

#11 2017-12-25 10:43:39

sillen102
Member
From: Gothenburg, Sweden
Registered: 2016-02-24
Posts: 12

Re: [SOLVED] Yaourt not even trying

Is there a way to have Octopi use pacaur instead of yaourt? I got pacaur to install AUR packages but why can't I get yaourt to work?

Last edited by sillen102 (2017-12-25 10:44:59)

Offline

#12 2017-12-25 11:43:29

sillen102
Member
From: Gothenburg, Sweden
Registered: 2016-02-24
Posts: 12

Re: [SOLVED] Yaourt not even trying

Pamac works. But why on earth won't yaourt and octopi?!

EDIT: Octopi works now! But yaourt doesn't. Nah well I'll just remove it and use pacaur instead.

Last edited by sillen102 (2017-12-25 11:46:04)

Offline

#13 2017-12-25 12:33:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,531
Website

Re: [SOLVED] Yaourt not even trying

Silen, please make several adjustments to your posting style in order to receive help here.

First, in response to the following, please read this section of ESR's guide on asking tech questions (in fact the whole thing is worth a read, but I've linked to the immediately and directly relevant section):

sillen102 wrote:
jasonwryan wrote:

It's just a bash script, isn't it? set -x it.

What do you mean?

Also please note that you can edit your posts to add new information, rather than posting several times in sequence.  The latter is discouraged here.

Lastly, if you are satisfied now that you've gotten rid of yaourt, please mark your thread as [SOLVED] by editting your first post to prepend [SOLVED] to the title.

On a slightly different note, while we will try to help get any software to run the way it was intended, you will find that most active members here have formed experienced-based opinions about the quality of various software, and yaourt is generally quite low in that regard: questioning why it doesn't work is not much of a curiosity to many here, personally I'm more surprised when it does work properly.

I suspect most experienced archers would see octopi as not serving any purpose an thus be not particularly familiar with it, but I don't (currently) have reason to question it's quality or stability.

Pacaur in contrast is a highly regarded AUR tool.  Though if you are new to arch I'd encourage you to not use any aur helpers for a while.  On top of that, pacaur's author recently announced he was no longer maintaining the project.  So while it likely works well now, it may not be a good long-term solution.

Last edited by Trilby (2017-12-25 12:41:49)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#14 2017-12-25 13:59:37

sillen102
Member
From: Gothenburg, Sweden
Registered: 2016-02-24
Posts: 12

Re: [SOLVED] Yaourt not even trying

Trilby wrote:

On a slightly different note, while we will try to help get any software to run the way it was intended, you will find that most active members here have formed experienced-based opinions about the quality of various software, and yaourt is generally quite low in that regard: questioning why it doesn't work is not much of a curiosity to many here, personally I'm more surprised when it does work properly.

I suspect most experienced archers would see octopi as not serving any purpose an thus be not particularly familiar with it, but I don't (currently) have reason to question it's quality or stability.

Pacaur in contrast is a highly regarded AUR tool.  Though if you are new to arch I'd encourage you to not use any aur helpers for a while.  On top of that, pacaur's author recently announced he was no longer maintaining the project.  So while it likely works well now, it may not be a good long-term solution.


I got pamac working now without using yaourt. I assume it's using pacaur since I can't recall installing any other aur helpers. I also stumbeled upon that note about pacaur and a long term solution is what I want. Is there any other helper that would work with pamac other than pacaur and that is being maintained and that you can recomend?

I like using pamac, it's what I've done for a few years. I just went for octopi since it's a QT-app and I'm using KDE now. But it seems as though pamac is working just fine with KDE and it didn't have a ton of dependencies so I will keep using it.

Last edited by sillen102 (2017-12-25 21:23:39)

Offline

Board footer

Powered by FluxBB