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

Aura conflicts with pacman and can't see already installed packages #783

Open
reggermont opened this issue Sep 13, 2022 · 5 comments
Open

Comments

@reggermont
Copy link

Recently, I found out aura -Ayu doesn't update my packages anymore. It exits after the Fetching package information... step and provide no informations, not even debug logs :

> sudo aura -A --sysupgrade --log-level debug
AuraConfig {acLang = Nothing, acEditor = Nothing, acUser = Nothing, acBuildPath = Nothing, acASPath = Nothing, acVCSPath = Nothing, acAnalyse = Nothing}
2022-09-13 11:13:29.541159: [debug] Interpreting CLI options.
@(exec/aura.hs:90:3)
2022-09-13 11:13:29.541346: [debug] Right (AurSync (Left (AurUpgrade (fromList []))) (fromList []))
@(exec/aura.hs:94:5)
2022-09-13 11:13:29.541395: [debug] BuildConfig {makepkgFlagsOf = fromList [], buildPathOf = Nothing, buildUserOf = Just (User {user = "reggermont"}), allsourcePathOf = Nothing, vcsPathOf = Nothing, truncationOf = None, buildSwitchesOf = fromList []}
@(exec/aura.hs:95:5)
2022-09-13 11:13:29.541448: [debug] CommonConfig {cachePathOf = Left "/var/cache/pacman/pkg/", configPathOf = Left "/etc/pacman.conf", logPathOf = Left "/var/log/pacman.log", commonSwitchesOf = fromList []}
@(exec/aura.hs:96:5)
aura >>= Fetching package information...

So I tried to force an update of aura by running aura -Ay aura-bin, and aura want to install git and pacman:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
aura >>= Determining dependencies...

aura >>= Repository dependencies:
git
pacman
aura >>= AUR Packages:
aura-bin
aura >>= Continue? [Y/n] 

ofc they are already installed, so if I answer Y, aura tries to install them but find already-existing files

aura >>= Continue? [Y/n] Y
resolving dependencies...
looking for conflicting packages...

Packages (19) gawk-5.2.0-3  gnupg-2.2.39-1  gpgme-1.18.0-1  grep-3.8-2  libarchive-3.6.1-2  libassuan-2.5.5-1
              libksba-1.6.0-1  libsecret-0.20.5-2  mpfr-4.1.0.p13-3  npth-1.6-3  pacman-mirrorlist-20220828-1
              perl-error-0.17029-4  perl-mailtools-2.21-6  perl-timedate-2.33-4  pinentry-1.2.0-1  sqlite-3.39.3-1
              tpm2-tss-3.2.0-1  git-2.37.3-1  pacman-6.0.1-7

Total Installed Size:  67.97 MiB

:: Proceed with installation? [Y/n] Y
[...]
git: /usr/share/perl5/vendor_perl/Git/SVN/GlobSpec.pm exists in filesystem
git: /usr/share/perl5/vendor_perl/Git/SVN/Log.pm exists in filesystem
git: /usr/share/perl5/vendor_perl/Git/SVN/Memoize/YAML.pm exists in filesystem
git: /usr/share/perl5/vendor_perl/Git/SVN/Migration.pm exists in filesystem
git: /usr/share/perl5/vendor_perl/Git/SVN/Prompt.pm exists in filesystem
git: /usr/share/perl5/vendor_perl/Git/SVN/Ra.pm exists in filesystem
git: /usr/share/perl5/vendor_perl/Git/SVN/Utils.pm exists in filesystem
Errors occurred, no packages were upgraded.

Tried to build aura from source and install it again, but the issue stays the same.

  • OS: Arch Linux
  • Apps versions: Pacman v6.0.1 - libalpm v13.0.1 - AURA Version 3.2.9
@fosskers
Copy link
Owner

Thanks for the report. I'll be making an initial release of the Aura 4 rewrite very soon. That should fix your issues.

@reggermont
Copy link
Author

Thanks for the answer, looking forward to test that 😄

@fosskers
Copy link
Owner

Give it a shot!

cargo install aura-pm --version 4.0.0-alpha3

@ghost
Copy link

ghost commented Oct 9, 2022

Someone need to make a PKGBUILD for aura-rust

@fosskers
Copy link
Owner

Yup! This is definitely my responsibility. I was out of town this weekend and this week coming up is also busy, but I'll do my best

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

2 participants