You are not logged in.
i was wondering if i could change a package to be a dependency, Well, i know i could use abs to change PKGBUILD.
But yesterday gnome was upgraded on my machine, and i got an error with a package. I suspected it was because gnome was running, and was a little bit quick just to kill X and install the package explicit. Now i didn't get any error messages, but the package was no longer a dependency of gnome. Could i change that one package to become a dependency of gnome once again?
Offline
pacman -Rd ${PACKAGE} && pacman -S --asdeps ${PACKAGE}
Should work, I think
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
thanks, pacman <3
Offline
Just a language remark: the package would still be 'a dependency'; the thing that changes is that it's not marked as 'installed as a dependency'.
Offline
klixon's advice will mark the package as a dependency, but the only way to make it a dependency of gnome (so that it gets installed and uninstalled with it) would be to change the database desc file, which is really impractical. Without that, pacman will consider the package an orphan, so be careful when you clean out orphans.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
klixon's advice will mark the package as a dependency, but ...
As far as I understood the first three posts, that was exactly the point. That's why I posted the 'language remark', since I gathered that OP wanted to 'have the reason to be installed as a dependency' and not really change the dependency list of anything. But again, maybe I'm wrong.
Offline
As far as I understood the first three posts, that was exactly the point. That's why I posted the 'language remark', since I gathered that OP wanted to 'have the reason to be installed as a dependency' and not really change the dependency list of anything. But again, maybe I'm wrong.
I interpreted the thread's title and the last line of his post to mean that he wanted it to be handled as if it were a true dependency of gnome (as he claims it used to be):
Could i change that one package to become a dependency of gnome once again?
Only the OP really knows what he wanted though (and maybe not even him, depending on how philosophical you want to get ).
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline