Giter VIP home page Giter VIP logo

Comments (6)

 avatar commented on June 9, 2024 1

Thank you so much for your work on aura! I'll try to contribute more in the future!

from aura.

fosskers avatar fosskers commented on June 9, 2024

Almost certainly not intentional - thanks for reporting this.

from aura.

 avatar commented on June 9, 2024

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.

fosskers avatar fosskers commented on June 9, 2024

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.

 avatar commented on June 9, 2024

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.

fosskers avatar fosskers commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.