You are not logged in.
I rather not use sudo and thereof I issue a 'makepkg' instead of a 'makepkg -s' and install dependencies manually. I wonder though what happens when I issue a 'pacman -Rns' to remove an AUR package. Pacman doesn't seem to remove the dependencies. Do I need to issue a 'makepkg -s' in order to automagically remove dependencies with 'pacman -Rns'? What about AUR packages that have other AUR packages as dependency and therefor cannot be installed with 'makepkg -s'?
Last edited by Kasumi_Ninja (2010-01-03 13:39:51)
Offline
Install deps using "--asdep" and pacman will know they are deps...
Offline
Install deps using "--asdep" and pacman will know they are deps...
What about optional deps? Let's take an example, I installed *pacgraph* from AUR and for it to be fully functional I installed *tk* with "--asdep" option. But "pacman -Rns pacgraph" did not remove *tk*.
Offline
Not much you can do now, but maybe in a future pacman release: http://wiki.archlinux.org/index.php/Use … OptDepends
Offline
You might want to take a look at the package "nosudo" in AUR. It creates an executable /usr/bin/sudo, which then behaves like su -c, but works with makepkg -s. I really like this script :-)
About the optdepends, that's really something I don't like with pacman right now. I also hope these improvements are being implemented :-)
Offline
Install deps using "--asdep" and pacman will know they are deps...
Thanks!
Offline
Not much you can do now, but maybe in a future pacman release: http://wiki.archlinux.org/index.php/Use … OptDepends
That would be nice!
Offline
You might want to take a look at the package "nosudo" in AUR. It creates an executable /usr/bin/sudo, which then behaves like su -c, but works with makepkg -s. I really like this script :-)
About the optdepends, that's really something I don't like with pacman right now. I also hope these improvements are being implemented :-)
That's an excellent tip. Thanks.
Offline
Maybe you want to have a look at optdepsmeta until pacman is able to keep track of optional dependencies.
Offline
I haven't fully thought this through but I would like --asdeps to take an argument that specifies 'to what'.
For example: wicd has an optional dependency for notifcation-daemon, which I want. I would like to be able to
pacman -S --asdeps='wicd' notification-daemon
This would then modify wicd to depend on notification-daemon. This isn't perfect since it is an optional and not a real dependency. The only real problem I can think of is if I want to remove notification-daemon. However pacman should see 'notification-daemon' listed under dependencies AND optional-dependencies, so it could give a warning and an option to go ahead anyway. If it goes ahead, pacman reverts wicd to nolonger depend notification-daemon. I feel like it should be pretty easy to add this to pacman.
I feel like something like yaourt would be responsible for asking if I want to install optional dependencies. So when I install something with yaourt it asks me about each optional dependency and if I want it.
Just my two cents.
Offline