You are not logged in.
Pages: 1
Hi Arch linux team.
Reinstalling arch linux and i made a question.
Can i use a pacman option (--asdeps) on pacstap?
Also i only mean (--asdeps) and no other options.
Thanks.
Last edited by BAR777 (2021-09-24 07:09:43)
Offline
I don't think so - but more importantly, why on earth would you want the entire base install to be marked as dependencies? Every single package on the system would then be flagged for removal anytime you tried to clean up orphaned packages.
You can use `pacman -D` after the fact to change the installation reason of specific packages.
Last edited by Trilby (2021-07-20 13:49:10)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Fwwi, pacstrap is a bash script that calls pacman, so if you alias pacman to "pacman --asdeps" it will likely do what you probably don't want to do.
Why do you think you want to do that?
Don't do that.
Online
I don't think so - but more importantly, why on earth would you want the entire base install to be marked as dependencies? Every single package on the system would then be flagged for removal anytime you tried to clean up orphaned packages.
You can use `pacman -D` after the fact to change the installation reason of specific packages.
Really?
I mean it flag every package as deps?
Offline
What did you think "--asdeps" would mean??
https://man.archlinux.org/man/core/pacman/pacman.8.en
Online
What do you mean by
it will likely do what you probably don't want to do.
Why do you think you want to do that?
For installing base deps.
Offline
What did you think "--asdeps" would mean??
https://man.archlinux.org/man/core/pacman/pacman.8.en
Installs a package deps automatic
Also optimal packages which come in the last part of installing package
Last edited by BAR777 (2021-07-26 11:13:49)
Offline
You have been given a plate full of food...
--asdeps
Install packages non-explicitly; in other words, fake their install reason to be installed as a dependency. This is useful for makepkg and other build-from-source tools that need to install dependencies before building the package.
https://ugjka.net
"It is easier to fool people, than to convince them that they've been fooled" ~ Dr. Andrea Love
Offline
For installing base deps.
Packages draw dependencies by default.
https://archlinux.org/packages/core/any/base/ is a ameta-package that simply depends on a bunch of useful things and installs them but doesn't provide anything itself nor is the dependency for something.
It's a convenience thing to easily install stuff for some core functionality.
Iow
pacman -S base
*will* install "base deps".
Online
For installing base deps.
Packages draw dependencies by default.
https://archlinux.org/packages/core/any/base/ is a ameta-package that simply depends on a bunch of useful things and installs them but doesn't provide anything itself nor is the dependency for something.
It's a convenience thing to easily install stuff for some core functionality.
Iowpacman -S base
*will* install "base deps".
I know about base deps.
How about optimal deps.
Offline
You have been given a plate full of food...
--asdeps
Install packages non-explicitly; in other words, fake their install reason to be installed as a dependency. This is useful for makepkg and other build-from-source tools that need to install dependencies before building the package.
Thanks.
But i want to continue this post.
Offline
What?
So my best guess is that this has nothing to do with the base package nor --asdeps, but you seek a way to have pacman automatically draw all *optiONal* dependencies??
That's not a thing nor a particularily good idea, because it could spiral out of proportions very quickly.
You'd inspect the package info and draw the optional dependencies from there and install *those* --asdeps one by one.
If that's not your problem (and again: automatically drawing all *optional* dependencies is a less than good idea), please explain what you *actually* want to achieve. Don't ask how to apply what you think the solution might be.
Online
What?
So my best guess is that this has nothing to do with the base package nor --asdeps, but you seek a way to have pacman automatically draw all *optiONal* dependencies??
That's not a thing nor a particularily good idea, because it could spiral out of proportions very quickly.
You'd inspect the package info and draw the optional dependencies from there and install *those* --asdeps one by one.If that's not your problem (and again: automatically drawing all *optional* dependencies is a less than good idea), please explain what you *actually* want to achieve. Don't ask how to apply what you think the solution might be.
First sorry for bad english.
Second you mean the best way is to visit the "package info in arch linux website ? "archlinux.org/packages/XXX/XXX"" For installing optional (WoW i fixed it) packages?
Offline
You could fish it out of "pacman -Qi <package>" or /var/lib/pacman/local/<package-version>/desc
Online
You could fish it out of "pacman -Qi <package>" or /var/lib/pacman/local/<package-version>/desc
Thanks bro
Offline
Pages: 1