FS#58824 - --needed may make --asdeps ineffective

Attached to Project: Pacman
Opened by Erich Eckner (deepthought) - Friday, 01 June 2018, 10:17 GMT
Last edited by Allan McRae (Allan) - Tuesday, 19 June 2018, 10:38 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.1.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

If package installation is skipped because of "--needed", it is not marked as dependency "--asdeps" (I guess, "--asexplicit" has the same issue).
Either mention this in the man page or make --asdeps work also for skipped packages.
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 19 June 2018, 10:38 GMT
Reason for closing:  Not a bug
Comment by Andrew Gregory (andrewgregory) - Saturday, 02 June 2018, 14:34 GMT
The existing documentation seems fine to me. --asdeps "install[s] packages non-explicitly" and --needed prevents reinstallation of packages. --asdeps can't install a package non-explicitly if --needed prevents it from being installed.
Comment by Allan McRae (Allan) - Tuesday, 19 June 2018, 10:38 GMT
I think documentation is fine also:

--needed
Do not reinstall the targets that are already up-to-date.

Also, the output shows the packages dropped by needed never being touched.

Loading...