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
Task Type Feature Request
Category General
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version 6.0.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
Private No

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

Comment by Aleksandr Dubinsky (adfjjv) - Saturday, 14 May 2022, 08:12 GMT
Definitely needed.

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.)

Loading...