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#4347 - HoldPkg broken in Pacman

Attached to Project: Pacman
Opened by Rob (RobK) - Sunday, 02 April 2006, 22:29 GMT
Last edited by Jan de Groot (JGC) - Monday, 03 April 2006, 06:15 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I added kernel26 to the HoldPkg line in /etc/pacman.conf. The line reads as follows:

HoldPkg = pacman glibc kernel26

But when I do a "pacman -Syu", pacman tries to upgrade me to the latest kernel.

Rob
This task depends upon

Closed by  James Rayner (iphitus)
Sunday, 15 October 2006, 11:44 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Monday, 03 April 2006, 06:15 GMT
You should put these packages in IgnorePkg. AFAIK, HoldPkg should ask you to hold the upgrade when it has to upgrade these listed packages, but seems it doesn't.
Comment by Roman Kyrylych (Romashka) - Monday, 03 April 2006, 07:08 GMT
HoldPkg preserves listed packages from removing, not from upgrading. So everything is OK.
As JGC said, use IgnorePkg.
Comment by Rob (RobK) - Tuesday, 04 April 2006, 12:55 GMT
Thanks for the info.
To help users, I would suggest that you add the following to the default /etc/pacman.conf file:

#IgnorePkg = Packagename1 Packagename2
#
# Packages listed IgnorePkg will never be upgraded. (i.e. the package is pinned)
# Packages listed in HoldPkg will never be removed.
#
Comment by Roman Kyrylych (Romashka) - Monday, 22 May 2006, 14:11 GMT
This bug should be closed.

Loading...