With yum versionlock status
I can get a list of available updates that are currently blocked by versionlock. With dnf this command doesn't seem to work.
I cannot find a dnf command that does the same. Is there perhaps another way?
Since dnf does not have a command like dnf versionlock status
, I have created a small script to do sort of the same.
#!/usr/bin/env bash
LOCKED_LIST=( $(dnf -q versionlock) )
for LOCKED_ROW in "${LOCKED_LIST[@]}"; do
dnf -q list available "${LOCKED_ROW%%-*}.x86_64" 2>/dev/null
done