Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pacman 6.0 Alpha Throws aura #698

Closed
Mallchad opened this issue Mar 9, 2021 · 12 comments
Closed

Pacman 6.0 Alpha Throws aura #698

Mallchad opened this issue Mar 9, 2021 · 12 comments

Comments

@Mallchad
Copy link

Mallchad commented Mar 9, 2021

Hi, I realize this isn't a problem you could possibly have had to deal with up to now and I'm only getting it because
I'm running very "bleeding edge" packages here and there.

Basically with the new pacman and parallel downloads the slight difference in the pacman.conf file seems to throw off
aura
So I run something like this
aura -Ss test
And get an output something like this
aura: Failure There was some failure.

I tried some old builds and slightly different versions and eventually got an error like
"Failed to parse pacman.conf"
And sure enough the problem goes away with the latest version if I comment the ParallelDownloads line.

Basically I was just wondering if anything like this has happened before, or there is some suggestion for a quick fix or
a cause that I could make work with to prod at things to make it not throw a fit with the config.
Thanks.

@Morganamilo
Copy link
Contributor

I'd also recommend you throw warnings on unknown options instead of erroring out. The rust crate already does this so it's sorted there.

@micwoj92
Copy link

micwoj92 commented Mar 9, 2021

@Morganamilo Where is that crate? I tried searching crates.io but could not find, or did you just compile colin/rust branch?

@fosskers
Copy link
Owner

fosskers commented Mar 9, 2021

@Morganamilo means that this problem is auto-solved in Aura's on-going Rust Port.

@fosskers
Copy link
Owner

fosskers commented Mar 9, 2021

This may be related to #697. Either way I will fix both today in the Haskell, thanks for reporting.

@Morganamilo
Copy link
Contributor

@Morganamilo Where is that crate? I tried searching crates.io but could not find, or did you just compile colin/rust branch?

https://crates.io/crates/pacmanconf

@micwoj92
Copy link

micwoj92 commented Mar 9, 2021

Ah, I thought you meant aura crate. I see that aura and paru use the one you linked. Thanks.

@Morganamilo
Copy link
Contributor

No but aura does use it for the rust rewrite:

pacmanconf = "0.2"

@fosskers
Copy link
Owner

fosskers commented Mar 9, 2021

@Mallchad can you paste into here the ParallelDownloads fields exactly as you have it in your pacman.conf? I just fixed a related parsing bug, which may have in turn fixed your issue too. I'd like to test the hypothesis.

@Mallchad
Copy link
Author

Mallchad commented Mar 10, 2021 via email

@fosskers
Copy link
Owner

Excellent, then my recent patch should have taken care of that too. I will make a release today.

@fosskers
Copy link
Owner

3.2.4 has been released.

@Mallchad
Copy link
Author

Mallchad commented Mar 11, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants