Yum error - package is a duplicate with
Yum error - package is a duplicate with error comes while updating packages with RHEL server using yum update command.
Also follow Kernel panic not syncing vfs unable to mount root fs on unknown-block and RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT for yum update related errors.
Yum error - package is a duplicate with error : 5 Easy Steps
Step 1: Install yum utils
# yum install yum-utils
Step 2: Cleaning up unfinished transaction journals
# yum-complete-transaction --cleanup-only
Loaded plugins: product-id, subscription-manager
Cleaning up unfinished transaction journals
Cleaning up 2019-07-29.17:54.05
Step 3: Identify older versions to remove filtering even and odd lines later
# package-cleanup --dupes | sort -u > dupes.out
Step 4: Uninstall list from this sorted file this way
# cat dupes.out | grep -v 'Loaded plugins:' | sort -u | awk 'NR % 2 == 1' > uninstall.in
Step 5: Remove from rpm database the old versions
# for f in `cat uninstall.in`; do rpm -e --nodeps -f --justdb $f; done
# yum list all
Also follow Kernel panic not syncing vfs unable to mount root fs on unknown-block and RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT for yum update related errors.
Also follow Kernel panic not syncing vfs unable to mount root fs on unknown-block and RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT for yum update related errors.
Yum error - package is a duplicate with error : 5 Easy Steps
Step 1: Install yum utils
# yum install yum-utils
Step 2: Cleaning up unfinished transaction journals
# yum-complete-transaction --cleanup-only
Loaded plugins: product-id, subscription-manager
Cleaning up unfinished transaction journals
Cleaning up 2019-07-29.17:54.05
Step 3: Identify older versions to remove filtering even and odd lines later
# package-cleanup --dupes | sort -u > dupes.out
Step 4: Uninstall list from this sorted file this way
# cat dupes.out | grep -v 'Loaded plugins:' | sort -u | awk 'NR % 2 == 1' > uninstall.in
Step 5: Remove from rpm database the old versions
# for f in `cat uninstall.in`; do rpm -e --nodeps -f --justdb $f; done
# yum list all
Also follow Kernel panic not syncing vfs unable to mount root fs on unknown-block and RHNS CA file: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT for yum update related errors.
Comments
Post a Comment