FS#73114 - [pacman] Add assume-installed as a config option in pacman.conf
Attached to Project:
Pacman
Opened by Oscar Garcia (ogarcia) - Wednesday, 22 December 2021, 09:23 GMT
Last edited by Allan McRae (Allan) - Wednesday, 22 December 2021, 09:59 GMT
Opened by Oscar Garcia (ogarcia) - Wednesday, 22 December 2021, 09:23 GMT
Last edited by Allan McRae (Allan) - Wednesday, 22 December 2021, 09:59 GMT
|
Details
In same way that you can configure `IgnorePkg` in
`pacman.conf` it would be interesting have something like
`AssumeInstalled`.
IMHO this would be an interesting feature because there are several packages that have _forced_ dependencies but depending on how you use that package these dependencies may be optional for you. For example, you can use devtools but without subversion or mercurial (that's my case). |
This task depends upon
For example, I need `cuda` package for nvcc to build/release code, but not `nvidia-utils` and a bunch of others because my machine doesn't have a GPU. (Of course, that could also be solved by making nvcc a separate package.)
Another (related) example is `nccl` which is demanded by python-pytorch. (Of course, this is really a bug of python-pytorch, which is the CPU package and should not declare GPU dependencies.)