Giter VIP home page Giter VIP logo

Comments (12)

fosskers avatar fosskers commented on May 18, 2024

They shouldn't... are your environment variables borked?

from aura.

fosskers avatar fosskers commented on May 18, 2024

@Jiehong Is this still a problem?

from aura.

Jiehong avatar Jiehong commented on May 18, 2024

I don't understand what you mean by "borked"

from aura.

bb010g avatar bb010g commented on May 18, 2024

Not working.

from aura.

fosskers avatar fosskers commented on May 18, 2024

Output with --auradebug please :)

from aura.

Jiehong avatar Jiehong commented on May 18, 2024

Here is the output of aura --auradebug as a normal user:

Using Sudo?       => Yes!
Language          => English
Pacman Command    => pacman-color
Ignored Pkgs      => 
Pkg Cache Path    => /var/cache/pacman/pkg/
Log File Path     => /var/log/pacman.log
Silent Building?  => Yes!
Must Confirm?     => Yes!
PKGBUILD editing? => No.

from aura.

fosskers avatar fosskers commented on May 18, 2024

Something tells me there might be some funny business going on in Shell.hs.

from aura.

fosskers avatar fosskers commented on May 18, 2024

@Jiehong Are you still having these problems?

from aura.

Jiehong avatar Jiehong commented on May 18, 2024

Version 1.0.4.0: unfortunately, yes.

from aura.

fosskers avatar fosskers commented on May 18, 2024

Alright then. Questions to be answered:

  1. What happens when you enter aura -Ss nvidia?
  2. What happens when you enter sudo aura -Ss nvidia?
  3. What happens when you enter aura -As aura?
  4. What happens when you enter sudo aura -As aura?

Could you include the output of --auradebug for each as well please?

from aura.

Jiehong avatar Jiehong commented on May 18, 2024

Version 1.0.5.0. Here are the corresponding outputs.

aura -Ss nvidia --auradebug

User              => xxxx
True User         => xxxx
Using Sudo?       => No.
Language          => English
Pacman Command    => pacman-color
Ignored Pkgs      => 
Pkg Cache Path    => /var/cache/pacman/pkg/
Log File Path     => /var/log/pacman.log
Silent Building?  => Yes!
Must Confirm?     => Yes!
PKGBUILD editing? => No.
…

sudo aura -Ss nvidia --auradebug

[sudo] password for xxxx:
User              => root
True User         => xxxx
Using Sudo?       => Yes!
Language          => English
Pacman Command    => pacman-color
Ignored Pkgs      => 
Pkg Cache Path    => /var/cache/pacman/pkg/
Log File Path     => /var/log/pacman.log
Silent Building?  => Yes!
Must Confirm?     => Yes!
PKGBUILD editing? => No.
…

Same for -As.

Okay, I think I've found the issue: I kept the following alias aura="sudo aura"… and it's when trying to do what you asked that I found out…

However, if I don't use this alias, I can't install a package if I don't write sudo before… is that supposed to be this way?

from aura.

fosskers avatar fosskers commented on May 18, 2024

Thanks for getting this to me.

And yes, you can't build packages without using sudo. Aura will block you saying:
aura >>= You have to use sudo for that.

So I guess this is solved, then? Your alias was the issue?
If you take away the alias, -As and -Ai shouldn't bother you for the sudo password anymore.

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.