You are not logged in.

#1 2012-11-07 14:58:43

Bladtman242
Member
Registered: 2012-02-14
Posts: 127

[SOLVED] yaourt error when downloading aur packages

Whenever I try to download an aur package with yaourt I get this:

==> ERROR: screen-git not found in AUR.

(with variable package names of course).
I recently did the switch to https by adding AURURL='https://aur.archlinux.org' to ~/.yaourtrc, if that is any help.
It doesn't work at all without the https configuration part.
Any clues?

Last edited by Bladtman242 (2012-11-08 11:42:36)

Offline

#2 2012-11-07 16:11:37

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [SOLVED] yaourt error when downloading aur packages

what version of yaourt and package-query?

(I seriously recommend to use cower instead btw)

edit: stupid broken brain->finger interface.

Last edited by Mr.Elendig (2012-11-08 12:12:57)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2012-11-07 18:53:36

Bladtman242
Member
Registered: 2012-02-14
Posts: 127

Re: [SOLVED] yaourt error when downloading aur packages

yaourt version 1.0.1
Can't tell that I have package-config installed?
But I have package-query in version 1.0.1-1 if that helps? smile

Mr.Elendig wrote:

(I seriously recommend to use cower instead btw)

Would you explain why?
I chose yaourt quite arbitrarily, so I'm all ears.

Offline

#4 2012-11-07 19:16:26

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] yaourt error when downloading aur packages

I suspect Mr. Elendig meant package-query.

There are many AUR helpers with differing features.  There's A Wiki page and it's worth having a look, trying a few and seeing which one best suits your needs.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2012-11-07 19:18:29

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,386
Website

Re: [SOLVED] yaourt error when downloading aur packages

Bladtman242 wrote:

yaourt version 1.0.1
package-query version 1.0.1

Any reason why you're not using the latest versions?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#6 2012-11-08 10:05:32

Bladtman242
Member
Registered: 2012-02-14
Posts: 127

Re: [SOLVED] yaourt error when downloading aur packages

loafer: but there are only wiki pages for Aura and yaourt wink
WorMzy: this is embarrassing. I only discovered the -a flag now, so none of my aur packages are up to date.
And now I can't update them of course smile
Could I try reinstalling yaourt (or possibly another helper) manually or would it lose track of my aur packages?
I assume yaourt keeps aur packages separately from pacmans database?

Last edited by Bladtman242 (2012-11-08 10:07:54)

Offline

#7 2012-11-08 10:15:07

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] yaourt error when downloading aur packages

Bladtman242 wrote:

loafer: but there are only wiki pages for Aura and yaourt wink

aurget and cower, just to give two examples, have clear instructions on their authors web sites and they are linked in the Wiki article.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#8 2012-11-08 10:56:44

Bladtman242
Member
Registered: 2012-02-14
Posts: 127

Re: [SOLVED] yaourt error when downloading aur packages

Ah, my bad smile
I still don't know if/how I can make the switch, or upgrade yaourt without losing aur package information though smile

Last edited by Bladtman242 (2012-11-08 10:57:00)

Offline

#9 2012-11-08 10:58:35

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] yaourt error when downloading aur packages

Installed packages are unaffected by the AUR helper which you are using.  They are tracked by pacman.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#10 2012-11-08 11:03:38

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,386
Website

Re: [SOLVED] yaourt error when downloading aur packages

Bladtman242 wrote:

I assume yaourt keeps aur packages separately from pacmans database?

No, yaourt is just a wrapper for makepkg and pacman: makepkg is used to create the packages, and pacman is used to install those packages on your system.

If you run "pacman -Qm", you'll get a list of packages that have been installed through pacman, but aren't in the official repos.

So you can upgrade/reinstall/uninstall/change AUR helpers as often as you like.

Make sure you read through these: Arch User Repository and AUR Helpers.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#11 2012-11-08 11:21:49

Bladtman242
Member
Registered: 2012-02-14
Posts: 127

Re: [SOLVED] yaourt error when downloading aur packages

Thanks, that helps a lot (How little I know, how much to learn).
I've actually skimmed though it. It's just that everyone seems to recommend _not_ using yaourt, but no one says why.
So I can't figure out if there is a reason for it smile

Offline

#12 2012-11-08 11:31:51

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] yaourt error when downloading aur packages

I didn't say don't use it.  I said there are alternatives which are worth exploring.  Arch is about choice and you will never know which tools best suit your use case if you do not check them out.  I only mention this as you said your choice of AUR helper had been an arbitrary one.

Before using any AUR helper it is best to become familiar with makepkg, PKGBUILDS etc.

Last edited by loafer (2012-11-08 11:35:01)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#13 2012-11-08 11:35:10

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

Re: [SOLVED] yaourt error when downloading aur packages

Yaourt (generally) works quite well.  But when it does have a problem, many yaourt users have no idea how to fix/troubleshoot it because yaourt - likely in an attempt to be simple/user-friendly - has hidden the reality of what it does to a degree that borders on dishonesty or false advertising.

Some yaourt documentation indicate that it is doing all of this for you, when it is just hiding the fact that makepkg and pacman are doing most of the work.  Yaourt is the wizard, and it doesn't want you looking behind the curtain.

In many other distros this approach would fit in quite well, but in arch there is a general "anti-curtain" trend.  Users are expected to learn how things are working.  So a tool that inhibits such learning sticks out and may be advised against.

EDIT: I realize my tone sounds negative towards yaourt - this is no "flame", I don think yaourt is a wonderfully made tool.  Only it's approach seems more fit to 'user-friendly' modes than 'user-centric'.

Last edited by Trilby (2012-11-08 11:37:42)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#14 2012-11-08 11:41:46

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,667
Website

Re: [SOLVED] yaourt error when downloading aur packages

Also, yaourt used to be much worse than it is now, so there is residual hatred...

Offline

#15 2012-11-08 11:42:18

Bladtman242
Member
Registered: 2012-02-14
Posts: 127

Re: [SOLVED] yaourt error when downloading aur packages

loafer:
Well, you didn't say not to use it. But Mr.Elendig did smile
What you are saying sounds reasonable, but some of these handlers have bugs, and I would hate messing my system up. (It's my primary machine, I use it for everything).
I didn't mean to sound ungrateful, I'm just looking for 'justified' recommendations. For want of a better word.

Trilby: That makes a lot of sense.
I think I have already demonstrated my lack of knowledge of the package systems. So perhaps a more transparent solution would be helpful for me smile

update: I'm now up and running again with yaourt. A manual install of the latest version did the trick.
My thanks to everyone who took the time to post smile

Last edited by Bladtman242 (2012-11-08 11:57:10)

Offline

#16 2012-11-08 12:12:29

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [SOLVED] yaourt error when downloading aur packages

A big problems with wrappers like yaourt is that newbies use them instead of learning aur and makepkg, and therefore are more helpless than a 2 day old panda baby when something breaks.

Cases like this is a perfect example of why one should learn to use makepkg before one start using fancy wrappers.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#17 2012-11-08 12:46:51

Bladtman242
Member
Registered: 2012-02-14
Posts: 127

Re: [SOLVED] yaourt error when downloading aur packages

Mr.Elendig: I was actually considering going a while with manual installs.
I think I might, only thing I'm afraid of is that I might mess up dependencies and maintaining the packages in pacman.
Are there any helpers that will simply seach aur and download tar balls?

Offline

#18 2012-11-08 13:34:27

marvn
Member
From: Prague
Registered: 2010-01-05
Posts: 84

Re: [SOLVED] yaourt error when downloading aur packages

Bladtman242 wrote:

Mr.Elendig: I was actually considering going a while with manual installs.
I think I might, only thing I'm afraid of is that I might mess up dependencies and maintaining the packages in pacman.
Are there any helpers that will simply seach aur and download tar balls?

IIRC, yaourt -G do this. but the simplest way is just to use https://aur.archlinux.org/packages/

Last edited by marvn (2012-11-08 15:38:02)


core i5 4590, x86_64, nvidia 970

Offline

#19 2012-11-08 14:20:12

Bladtman242
Member
Registered: 2012-02-14
Posts: 127

Re: [SOLVED] yaourt error when downloading aur packages

You are right, yaourt -G does it. Thanks smile

Offline

#20 2012-11-08 14:46:03

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,386
Website

Re: [SOLVED] yaourt error when downloading aur packages

makepkg can install dependencies for you, but only if those dependencies are available in the repos. If an AUR package depends on another AUR package, then you'll need to compile the dependency first.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#21 2012-11-08 18:34:49

Bladtman242
Member
Registered: 2012-02-14
Posts: 127

Re: [SOLVED] yaourt error when downloading aur packages

Good to know.
I think I'll start my makepg adventure big_smile
Is it anything like make? I always wanted to get better at making makefiles smile

Offline

#22 2012-11-08 18:51:58

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,386
Website

Re: [SOLVED] yaourt error when downloading aur packages

No, PKGBUILDs (what makepkg uses) are basically just simple shell scripts. Makefiles are used a lot in PKGBUILDs though, so you can always examine them and see what the scripts are doing.

https://wiki.archlinux.org/index.php/PKGBUILD


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB