Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#36856 - No option to permanently ignore dependencies and/or blacklist packages.

Attached to Project: Pacman
Opened by John Smith (C0MPAQ) - Tuesday, 10 September 2013, 16:43 GMT
Last edited by Allan McRae (Allan) - Tuesday, 10 September 2013, 22:55 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version 4.1.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Examples:
1. Want to permanently /remove/ (not disable) pulseaudio, impossible due to gnome dependencies on update.
Only solution: on every update, manually remove pulseaudio with -Rdd

2. Running nvidia and intel graphics driver at the same time requires the xf86-video-intel package to be installed side-by-side without pulling intel-dri in (crashes otherwise). Update will fail due to conflict.
Only solution is to to manually remove xf86-video-intel, then update, then -Sdd.

Similar constellations exist. Simply blacklisting a package despite dependencies and ignoring the dependencies of a 'whitelisted' package would solve the annoyance and possibly broken system.
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 10 September 2013, 22:55 GMT
Reason for closing:  Won't implement
Comment by Dave Reisner (falconindy) - Tuesday, 10 September 2013, 19:21 GMT
There's no reason that a dangerous option like this should be supported in pacman. Dependencies exist for a reason.
Comment by Allan McRae (Allan) - Tuesday, 10 September 2013, 22:55 GMT
You can create dummy packages the the same name and an appropriate version to permanently stop a package update.
Comment by John Smith (C0MPAQ) - Wednesday, 11 September 2013, 06:25 GMT
I am not sure how the latter would help. Removing pulseaudio does not break gnome and I need the latest xf86-video-intel for xorg to run (stable).

I don't need gnome-settings-daemon (if it is even affected by the missing pulseaudio) and intel-dri to be pulled in by dependencies, yet I can't disable or ignore them. Those dependencies do exist for reasons entirely irrelevant to my usage, and entirely irrelevant to the working of the packages they were pulled in by.

Not having this option, or using workarounds, breaks my system and/or the update operation.

Also pacman system update is a root operation. It is always dangerous if you don't know what you are doing.
Comment by Allan McRae (Allan) - Wednesday, 11 September 2013, 06:30 GMT
The workaround I pointed out does not break your system (any more than removing a dependency potentially does...) or the system update.

Loading...