You are not logged in.
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
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
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? ![]()
(I seriously recommend to use cower instead btw)
Would you explain why?
I chose yaourt quite arbitrarily, so I'm all ears.
Offline
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
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.
Offline
loafer: but there are only wiki pages for Aura and yaourt ![]()
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 ![]()
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
loafer: but there are only wiki pages for Aura and yaourt
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
Ah, my bad ![]()
I still don't know if/how I can make the switch, or upgrade yaourt without losing aur package information though ![]()
Last edited by Bladtman242 (2012-11-08 10:57:00)
Offline
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
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.
Offline
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 ![]()
Offline
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
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
Also, yaourt used to be much worse than it is now, so there is residual hatred...
Online
loafer:
Well, you didn't say not to use it. But Mr.Elendig did ![]()
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 ![]()
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 ![]()
Last edited by Bladtman242 (2012-11-08 11:57:10)
Offline
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
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
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
You are right, yaourt -G does it. Thanks ![]()
Offline
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.
Offline
Good to know.
I think I'll start my makepg adventure ![]()
Is it anything like make? I always wanted to get better at making makefiles ![]()
Offline
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.
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.
Offline