Help request to downgrade RHEL7 workstation from an acciendatly updated beta version
Dear community members,
I am quiet new to linux OS. A recent update of my RHEL 7 workstation has end-up updating the OS to RHEL 7.2 beta version due to the presence of beta repos in the repolist, which I was not aware of.
cat /etc/redhat-release
Red Hat Enterprise Linux Workstation release 7.2 Beta (Maipo)
During the process of this accidental update, many packages are found to be broken or not updated successfully and I am failed to access the newly installed kernel.
Update notice RHBA-2014:0796 (from rhel-7-workstation-supplementary-source-rpms) is broken, or a bad duplicate, skipping.
Update notice RHSA-2014:0705 (from rhel-7-workstation-supplementary-source-rpms) is broken, or a bad duplicate, skipping.
Update notice RHSA-2014:0908 (from rhel-7-workstation-thirdparty-oracle-java-source-rpms) is broken, or a bad duplicate, skipping.
You should report this problem to the owner of the rhel-7-workstation-thirdparty-oracle-java-source-rpms repository.
rpm -qa kernel
kernel-3.10.0-229.11.1.el7.x86_64
kernel-3.10.0-306.0.1.el7.x86_64
kernel-3.10.0-229.7.2.el7.x86_64
Here, I kindly request you to suggest me the possible steps I should take up to come out of the present situation.
Many thanks in advance
Aneesh
Responses
Hello
Try this:
1] disable all existing repositories:
# subscription-manager repos --disable "*"
2] Open the repository file in the /etc/yum.repos.d/ directory and enable the ones you are sure you need.
3] Synchronize all packages to the currently enable repositories:
# yum distro-sync
Please see the "distribution-synchronization or distro-sync" entry in the yum manual page.
Hello
I think quick way is to set the working kernel to be the default kernel and then see what happens after running distro sync.
~]# grubby --set-default /boot/vmlinuz-3.10.0-229.11.1.el7.x86_64
See new section on using grubby in the 7.2-Beta version of the System Administrator's Guide: Configuring GRUB 2 Using the grubby Tool
Hello
Is there an important reason why you do not want to use the 7.2-Beta on your Workstation? You could reinstall if there really is an important reason.
I am sorry I cannot think of anything else at this time.
Hello Stephen,
The reason I can think off: updating from RHEL x.y-Beta to RHEL x.y is not supported.
Why does the yum distro-sync fail?
You advised to disable all repos, where only the beta channels should have been disabled.
@Aneesh:
re-enable your repos and check whether the beta channels are re-enabled.
If so do the following, disable the beta channels based on:
https://access.redhat.com/solutions/265523
now re-run the command:
yum distro-sync
Regards,
Jan Gerrit Kootstra
Hello
My clever colleague has pointed out that the yum history command has an undo option.
See Reverting and Repeating Transactions in the Red Hat Enterprise Linux 7 System Administrator's Guide.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
