Comments (6)
Thank you so much for your work on aura! I'll try to contribute more in the future!
from aura.
Almost certainly not intentional - thanks for reporting this.
from aura.
Aura doesn't skip dependency checks with -Rdd
Skipping dependency checks when removing a package with -Rdd
works fine with pacman but doesn't seem to work with aura for me as well
AURA Version 3.2.9
$ sudo pacman -R pipewire
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing pipewire breaks dependency 'pipewire' required by easyeffects
:: removing pipewire breaks dependency 'pipewire' required by gst-plugin-pipewire
:: removing pipewire breaks dependency 'pipewire' required by helvum
:: removing pipewire breaks dependency 'pipewire' required by obs-studio
:: removing pipewire breaks dependency 'pipewire' required by pipewire-alsa
:: removing pipewire breaks dependency 'pipewire' required by pipewire-audio
:: removing pipewire breaks dependency 'pipewire' required by pipewire-jack
:: removing pipewire breaks dependency 'pipewire' required by pipewire-pulse
:: removing pipewire breaks dependency 'pipewire' required by qpwgraph
:: removing pipewire breaks dependency 'pipewire' required by wireplumber
$ sudo pacman -Rdd pipewire
Packages (1) pipewire-1:0.3.66-2
Total Removed Size: 3.07 MiB
:: Do you want to remove these packages? [Y/n] ^C
Interrupt signal received
$ sudo aura -Rdd pipewire
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing pipewire breaks dependency 'pipewire' required by easyeffects
:: removing pipewire breaks dependency 'pipewire' required by gst-plugin-pipewire
:: removing pipewire breaks dependency 'pipewire' required by helvum
:: removing pipewire breaks dependency 'pipewire' required by obs-studio
:: removing pipewire breaks dependency 'pipewire' required by pipewire-alsa
:: removing pipewire breaks dependency 'pipewire' required by pipewire-audio
:: removing pipewire breaks dependency 'pipewire' required by pipewire-jack
:: removing pipewire breaks dependency 'pipewire' required by pipewire-pulse
:: removing pipewire breaks dependency 'pipewire' required by qpwgraph
:: removing pipewire breaks dependency 'pipewire' required by wireplumber
from aura.
It seems that this is not fixed in Aura 4 either. Thank you for reporting.
Note also that this has been mentioned before in a discussion of Aura's direction:
Should Aura ban certain frowned-upon pacman commands like -Rdd and -Su?
Thoughts?
from aura.
For me personally, aura has always been a tool that provides useful AUR helper capabilities, but additionally fully wraps around pacman so I can always type aura for whatever pacman transaction I need.
Quoting the man-page:
Aura allows all pacman operations and provides new custom ones for dealing with AUR packages
This has indeed been my expectation from using aura so far, so I perceived -Rdd
being skipped as a bug. I'd have likely perceived it as a bug even if it had been intentional.
I believe aura is used by slightly more advanced users, i.e. users who have a high-level understanding of how pacman and Arch work in terms of package managing. So the target audience may benefit from having pacman fully wrapped.
For comparison, running yay
without any options leads to a full system upgrade including all official and AUR packages. yay will ask to import a PGP key for you when one is missing, and in general it gives a feeling that it's made for absolutely everyone, even if the user doesn't fully grasp what's happening.
Aura gave me a feeling of being slightly more advanced, and it works great for my workflow with viewing PKGBUILD, hotedit capabilities, --noconfirm
when needed etc. I love how -A
options are neatly integrated into the overall pacman syntax and how seamlessly it is using aura for everything package-management. To that end I often find myself typing sudo aura -S <pkg>
on new systems, only to remind myself to use pacman, the integration is that seamless.
For the sake of consistency and ease of use, I'd love for aura to wrap pacman fully. I understand that -Rdd
may break a system for some users when used incorrectly, but is it aura's responsibility to protect from that?
If the community decides it's worth "banning" -Rdd
and -Su
, I think it's very important to clearly indicate that such a command exists but is not allowed. Perhaps it could have a similar flow as when curl
calls are found in a PKGBUILD.
To sum it up, I am of a strong opinion that aura should allow everything that pacman allows as is, and add other functionality on top of that. Having -Rdd
not working takes away from the pacman experience, and I'm wondering how many users will actually benefit from this vs how many users' workflow will be thrown off a little by that.
from aura.
Thank you for your detailed writeup! I'm glad Aura has been useful for you. I have a similar experience; I have manually typed pacman
into a terminal perhaps 10 times over the past 10 years. aura
is pacman to me. So in that sense, you may be right that it's not Aura's place to decide what users can and cannot do.
Which means that -Rdd
being missing is a bug. I will fix this in Aura 4.
from aura.
Related Issues (20)
- Fail to install new packages with doas HOT 1
- Parsing `check` from `makepkg.conf`
- download does not continue after network failure HOT 1
- Option parsing issues with `--` delimiter (double dash, two dashes) HOT 2
- Feature Request: makeopts for faster compiling HOT 9
- rust aura -A hyprland grabs from the Standart repo HOT 3
- Cyclic Dependencies with `mangohud`? HOT 1
- Error building a package due to unset variable
- Config template link in documentation leads to 404 error HOT 1
- Aura.conf option for always showing makepkg output HOT 5
- -A: offer multiple install options based on "provides"
- "command not found" when tab-completing aura -D HOT 5
- aura seems not respecting proxy setting of curl? HOT 5
- Force package to be used from a specific repo? HOT 5
- Improve handling of git packages HOT 3
- aura >>= As of makepkg v4.2, building as root is no longer possible. HOT 3
- Aura 4 config parsing HOT 5
- `aura` returns `Permission denied (publickey)` when fetching packages from AUR HOT 2
- Regression? "Failed to 'git pull' the latest updates" HOT 7
- 4.0 config file location not following XDG recommendations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aura.