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#33602 - [pacman] Improve "pacman --ignore" syntax

Attached to Project: Pacman
Opened by Philip (nuc) - Sunday, 27 January 2013, 20:46 GMT
Last edited by Allan McRae (Allan) - Sunday, 27 January 2013, 23:31 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:

The "pacman --ignore" command requires to separate packages by a comma:
"pacman -Syu --ignore filesyste,glibc"

But this doesn't comply with the general pacman syntax,
e.g. you do "pacman -S filesystem glibc" but not "pacman -S filesystem,glibc"

The syntax of the "--ignore" command should also work with "spaces" because this is more intuitive.

The way it is now already managed to break my system, since I was assuming I need to separate packages by spaces.


Steps to Reproduce:

Do "pacman -Syu --ignore filesystem glibc".
It will only "ignore" filesystem but not glibc.
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 27 January 2013, 23:31 GMT
Reason for closing:  Won't implement
Comment by Dave Reisner (falconindy) - Sunday, 27 January 2013, 20:53 GMT
This can't possibly work. pacman uses the standard getopt_long function for argument parsing which only expects a single argument to the --ignore flag. The only way this could possibly work would be as --ignore "pkg1 pkg2", and I'm not really keen on that either.
Comment by Allan McRae (Allan) - Sunday, 27 January 2013, 23:31 GMT
It is documented:

man pacman:
--ignore <package>
Directs pacman to ignore upgrades of package even if there is one
available. Multiple packages can be specified by separating them
with a comma.

Also,

pacman -Syu foo

means update and install foo. What does

pacman -Syu --ignore bar foo

mean if we allow spaces?

Loading...