aura icon indicating copy to clipboard operation
aura copied to clipboard

Fail to install new packages with doas

Open aktersnurra opened this issue 2 years ago • 3 comments

Hello,

I use doas and cannot install new packages with aura version aura-pm 4.0.0-alpha6.

What I get is:

% doas aura -A <package-name>
aura :: Resolving dependencies...
aura :: Repository dependencies:
 <package-name>
aura :: AUR packages:
aura :: Proceed? [Y/n]
aura :: A call to pacman -S failed.

from the check I get:

% aura check
aura :: Validating your system.
aura :: Environment
  [✓] EDITOR variable set?
  [✓] EDITOR value (nvim) is executable?
  [✓] git installed and executable?
  [✓] fd installed and executable?
  [✓] rg installed and executable?
aura :: Aura Configuration
  [✓] Aura config file exists?
  [✓] Aura config file can be parsed?
aura :: Pacman Configuration (/etc/pacman.conf)
  [✕] Parallel downloads activated?
      └─ ParallelDownloads is off, or set to 1. Set ParallelDownloads = 12 for faster tarball fetching.
  [✓] No overlapping ignored packages?
  [✕] All .pacnew files accounted for?
      ├─ /etc/locale.gen is older than its .pacnew by 502 days.
      └─ /etc/pacman.d/mirrorlist is older than its .pacnew by 164 days.
aura :: Makepkg Configuration (/etc/makepkg.conf)
  [✕] PACKAGER set?
      └─ Set PACKAGER="You <[email protected]>" within /etc/makepkg.conf
aura :: Package Snapshots
  [✕] All snapshots have corresponding tarballs? (0/1)
      └─ Fix: You can remove old/unusable snapshots with aura -Bc
aura :: Package Tarball Caches
  [✓] All specified caches exist? (2/2)
  [✕] Every installed official package has a tarball? (0/713)
      └─ Fix: You can download missing official tarballs with aura -Cy
  [✕] Every installed AUR package has a tarball? (0/43)
      └─ Fix: View the missing packages with aura -Cm and reinstall them manually.
  [✓] All tarballs valid? (0/0)

Is doas still not supported?

aktersnurra avatar Nov 03 '22 22:11 aktersnurra

With Aura 4, manual use of sudo isn't necessary (it's requested automatically only when needed). Unfortunately doas is not yet supported, but this is a known issue.

fosskers avatar Nov 07 '22 01:11 fosskers

Hello again, is this fixed with the 4.0.0-alpha10 version?

aktersnurra avatar Mar 22 '24 23:03 aktersnurra

It is not yet, but I've schedule time during this week coming up to work on it.

fosskers avatar Mar 23 '24 23:03 fosskers