You are not logged in.

#551 2016-04-10 01:19:15

dapolinario
Member
From: Brasil
Registered: 2010-03-18
Posts: 58

Re: pacaur - an AUR helper that minimizes user interaction

I'm using pacaur 4.6.0-1, powerpill 2016.4.5.1-1, but I tested with and without powerpill and the install failed.

Debug: https://gist.github.com/dapolinario/9d6 … c6e35ef656


Arch Linux: The power in your hands!

Offline

#552 2016-04-10 08:47:03

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

@dapolinario> Can you post a debug output instead? Also use English output please (LANG=en_US.UTF-8).

Last edited by Spyhawk (2016-04-10 12:13:22)

Offline

#553 2016-04-10 12:19:22

dapolinario
Member
From: Brasil
Registered: 2010-03-18
Posts: 58

Re: pacaur - an AUR helper that minimizes user interaction


Arch Linux: The power in your hands!

Offline

#554 2016-04-10 20:28:49

dapolinario
Member
From: Brasil
Registered: 2010-03-18
Posts: 58

Re: pacaur - an AUR helper that minimizes user interaction

Perfect now with pacaur 4.6.1. Thanks!


Arch Linux: The power in your hands!

Offline

#555 2016-04-10 20:53:48

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

Thanks for your debug output. That issue only occurred when PKGDEST was not defined, and thus stayed under my radar the past few days.

Offline

#556 2016-04-14 21:43:53

snout
Member
Registered: 2013-02-04
Posts: 6

Re: pacaur - an AUR helper that minimizes user interaction

I've scanned through this thread and believe this hasn't come up before. If a PGP signature from a repository (e.g. bohoomil's key from the infinality bundle) gets updated the following error occurs:

error: infinality-bundle-fonts: signature from "bohoomil (dev key) <bohoomil@zoho.com>" is invalid
error: database 'infinality-bundle-fonts' is not valid (invalid or corrupted database (PGP signature))

I haven't found a way to force a refresh with pacaur, in a way similar to sudo pacman -Syy (as recommended here). Shouldn't pacaur -Syy offer similar/identical behaviour?

What is more, one single broken repository signature blocks all updates from repositories with valid signatures to be applied. It would be nice to at least have the option to follow through with the other updates. Now I might have overlooked this feature, but otherwise adding this would certainly make pacaur suck even less! smile

Offline

#557 2016-04-15 09:08:20

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

snout wrote:

Shouldn't pacaur -Syy offer similar/identical behaviour?

It does.

snout wrote:

What is more, one single broken repository signature blocks all updates from repositories with valid signatures to be applied. It would be nice to at least have the option to follow through with the other updates. Now I might have overlooked this feature, but otherwise adding this would certainly make pacaur suck even less! smile

Since all the binary stuff of third party repositories is handled by pacman, pacman should handle that already. If it doesn't, then it doesn't. But that's not something pacaur can or should do anything about.

Offline

#558 2016-06-01 18:51:45

crackhead
Member
Registered: 2010-02-04
Posts: 8

Re: pacaur - an AUR helper that minimizes user interaction

I've noticed pacaur uses

pacman -U --ask=36

when installing packages from the AUR. I was wondering about the "--ask" option but I've only found it mentioned once in this old forum thread. I couldn't find it in the manual or documented elsewhere. Didn't check the source, though.
Does it still work as explained in that thread? Apparently it's still an unsupported option or would there be any other reason to not document it properly?

Offline

#559 2016-06-01 18:56:36

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

crackhead wrote:

I've noticed pacaur uses

pacman -U --ask=36

when installing packages from the AUR. I was wondering about the "--ask" option but I've only found it mentioned once in this old forum thread. I couldn't find it in the manual or documented elsewhere. Didn't check the source, though.
Does it still work as explained in that thread? Apparently it's still an unsupported option or would there be any other reason to not document it properly?

It is an undocumented function that is solely used in the pacman's testing suite. For more, read pacman source.

Last edited by Spyhawk (2016-06-01 18:56:48)

Offline

#560 2016-06-02 11:34:08

CircleCode
Member
Registered: 2016-05-19
Posts: 8

Re: pacaur - an AUR helper that minimizes user interaction

I'm wondering if there is a way to tell pacaur to redownload files downloaded by the PKGBUILD

For example, in https://aur.archlinux.org/cgit/aur.git/ … nightly-fr, the tar.bz2 is downloaded from mozilla ftp the first time the package is installed.
The next time, it is no more downloaded (since it is in pacaur cache).
The result is that

  • the new version is not fetched

  • the checksum verification fails (because the sum is grabed from the upstream file)

Is there a solution in pacaur? or is there something that can be done right in the PKGBUILD to mark those files as needing a new download each time (the best solution would also be a way to download em only if they changed, but I'm not sure such e feature exists…)

Thanks

Offline

#561 2016-06-02 12:09:18

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

No, see GH#491.

Offline

#562 2016-06-08 06:21:14

CircleCode
Member
Registered: 2016-05-19
Posts: 8

Re: pacaur - an AUR helper that minimizes user interaction

oka, thanks for the point.
until the PKGBUILD is updated, I solved it by using a hook that do a git clean in the cache repository after each successfull upgrade.

I have another concern: it seems that the --devel option makes pacaur ignore the target:

❯ LC_ALL=C pacaur -Syau --devel firefox-nightly-fr
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 heftig is up to date
:: Starting AUR upgrade...
:: resolving dependencies...
:: looking for inter-conflicts...
:: castnow-git latest revision -- fetching
:: firefox-nightly-fr latest revision -- fetching

AUR Packages  (2): castnow-git-latest  firefox-nightly-fr-latest

is it a feature or a bug? Can I force devel to apply only on a single package?

Offline

#563 2016-06-08 10:10:58

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

I do not understand your issue as your package is clearly not ignored. You can obvisouly always force an update by explicitly reinstalling the package.

Offline

#564 2016-06-08 11:40:44

CircleCode
Member
Registered: 2016-05-19
Posts: 8

Re: pacaur - an AUR helper that minimizes user interaction

you're right, it is not ignored, but how can I only update firefox-nightly-fr (without --devel forcing all other packages to also update)?

when I said

it seems that the --devel option makes pacaur ignore the target:

I was meaning that pacaur behaves as if I didn't specify a target (as if pacaur was ignoring the fact that I gave a target)

Offline

#565 2016-06-08 12:01:34

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

In this case, the target is not ignored, but passed twice. The --devel flag adds the VCS targets to the update process. Your question has been answered already.

Offline

#566 2016-07-02 21:36:23

bangme
Member
Registered: 2016-06-17
Posts: 28

Re: pacaur - an AUR helper that minimizes user interaction

Just starting to try pacaur out, is there anyway to continue the installation after the pkgbuild file is reviewed?  Right now I'm hitting ctrl+c and retyping the install command.  Thanks.

Offline

#567 2016-07-03 11:09:48

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

Not using ctrl+c for exiting might be a good first step.

Offline

#568 2016-07-03 12:17:08

bangme
Member
Registered: 2016-06-17
Posts: 28

Re: pacaur - an AUR helper that minimizes user interaction

Oh OK, thanks your majesty. roll

Offline

#569 2016-07-03 12:28:00

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,852
Website

Re: pacaur - an AUR helper that minimizes user interaction

https://wiki.archlinux.org/index.php/Co … _not_flame

Being sarcastic towards the person best positioned to help you isn't likely to win you much support.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#570 2016-07-03 13:11:02

bangme
Member
Registered: 2016-06-17
Posts: 28

Re: pacaur - an AUR helper that minimizes user interaction

Well mentioning that I shouldn't do something that I'm already trying to avoid isn't very helpful now is it? It would have been just as easy to say "there's a built in timer, just wait it out," or "try pressing ctrl+z" instead. The fact that he's the creator of this software is irrelevant to his disrespectful and dismissive tone.

Offline

#571 2016-07-03 13:50:46

Alad
Wiki Admin/IRC Op/TU
From: Bagelstan
Registered: 2014-05-04
Posts: 2,089
Website

Re: pacaur - an AUR helper that minimizes user interaction

https://ptpb.pw/RwoM.jpg

Anyway pressing "y" to inspect the pkgbuild opens up your editor. If the editor exits (ZZ or :q in vim) then pacaur continues with the installation process.


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Honest Alad's Package Emporium—Now with added bugs! (Grand reopening: December 1st 2018)

Offline

#572 2016-07-03 14:04:19

bangme
Member
Registered: 2016-06-17
Posts: 28

Re: pacaur - an AUR helper that minimizes user interaction

Thanks Alad!  Now in all seriousness, where is this in the documentation, or is it something "advanced users" should know?  I spent better part of a week looking for anything online and in the man pages that describes the pacaur process but I found nothing pointing to how these files are accessed.  On my setup it opens in vim (unfamiliar interface), but my go to cli editor is nano since I generally just write bash scripts.

Offline

#573 2016-07-03 15:21:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,329

Re: pacaur - an AUR helper that minimizes user interaction

bangme wrote:

Thanks Alad!  Now in all seriousness, where is this in the documentation, or is it something "advanced users" should know?  I spent better part of a week looking for anything online and in the man pages that describes the pacaur process but I found nothing pointing to how these files are accessed.  On my setup it opens in vim (unfamiliar interface), but my go to cli editor is nano since I generally just write bash scripts.

Have you set your prefered editor?  Do this by assigning the shell variable EDITOR.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#574 2016-07-03 15:52:44

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - an AUR helper that minimizes user interaction

bangme wrote:

Thanks Alad!  Now in all seriousness, where is this in the documentation, or is it something "advanced users" should know?  I spent better part of a week looking for anything online and in the man pages that describes the pacaur process but I found nothing pointing to how these files are accessed.  On my setup it opens in vim (unfamiliar interface), but my go to cli editor is nano since I generally just write bash scripts.

Yes, this is something an "advanced user"  should now. Like the sarcasm or hate it, but newbies shouldn't use this helper, as stated in the first post in this thread, the man page, or the pinned comment on the AUR page. Feel free to disapprove, but don't ask me about it.
Edit: In all seriousness, vim is pretty much the default unix editor everywhere, it's good to learn at least its most basic commands. It's also not related to pacaur, and any other editor that you might have configured might have different keys or shortcuts.

Last edited by Spyhawk (2016-07-03 16:02:14)

Offline

#575 2016-07-03 16:59:27

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: pacaur - an AUR helper that minimizes user interaction

If it's Vim, there are three commands useful to remember.

:q - just quit/close
:q! - quit ignoring changes
:wq - write changes and quit


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

Board footer

Powered by FluxBB