Stephen/Phill,
I checked dnf-plugins-core, no mention of version-lock.
# dnf update dnf-plugins-core
Last metadata expiration check: 19:11:10 ago on Thu Apr 20 10:05:02 EDT 2023.
Dependencies resolved.
Nothing to do.
Complete!
# dnf info dnf-plugins-core
Last metadata expiration check: 19:11:25 ago on Thu Apr 20 10:05:02 EDT 2023.
Installed Packages
Name : dnf-plugins-core
Version : 4.0.16
Release : 64_51
Architecture : ppc
Size : 0.0
Source : dnf-plugins-core-4.0.16-64_51.src.rpm
Repository : @System
From repo : AIX_Toolbox_73
Summary : Core Plugins for DNF
URL : https://github.com/rpm-software-management/dnf-plugins-core
License : GPLv2+
Description : Core Plugins for DNF. This package enhances DNF with builddep, config-manager,
: copr, debug, debuginfo-install, download, needs-restarting, repoclosure,
: repograph, repomanage, reposync, changelog and repodiff commands. Additionally
: provides generate_completion_cache passive plugin.
#
Where else might it be hiding?
Many thanks, Steve
------------------------------
Steve Munday
AIX, IBM i, HMC, PowerVM
------------------------------
Original Message:
Sent: Fri April 21, 2023 04:18 AM
From: Phill Rowbottom
Subject: DNF -- How to "lock" certain packages from being updated
You'll need to install the version-lock module for dnf. Same as with yum, version-lock is an extra module that you need to install, it's not there by default.
------------------------------
Phill Rowbottom
Original Message:
Sent: Thu April 20, 2023 01:40 PM
From: Steve Munday
Subject: DNF -- How to "lock" certain packages from being updated
Team:
As the AIX version of DNF doesn't appear to have an "--versionlock" option it seems that the "--excludepkgs" is the way to go [Question: Any particular reason why this option cannot be made available?]
I also see that in dnf.conf there is a directive for "exclude=" however I'm not sure if this is valid for the AIX deployment of DNF.
Any thoughts/advice on this please?
Many thanks, Steve
------------------------------
Steve Munday
AIX, IBM i, HMC, PowerVM
------------------------------