Friday, April 5, 2019

Error: Package: libgpod-0.8.3-14.el7.x86_64.

Wanted to update CentOS Linux release 7.2.1511 (Core) but the yum update was failing Error: Package: libgpod-0.8.3-14.el7.x86_64. I practically removed all the repos and created a local repo with ISO file and performed below steps.

The EPEL repository is an additional package repository that provides easy access to install packages for commonly used software. This repo was created because Fedora contributors wanted to use Fedora packages they maintain on RHEL and other compatible distributions.

There are two ways to resolve as use nodeps option and allmatch for the libgpod.

rpm -e --nodeps --allmatches libgpod

In EPEL Repository config file:

Adding exclude=libgpod* line to each enabled repo from /etc/yum.repos.d/epel.repo

yum update after that.

PS: This is for my reference. Use at your own discretion.

Happy Linux!

Monday, April 1, 2019

Reset the password - CentOS And RHEL7

Reset the password - CentOS And RHEL7

- reboot the system and press "e" to enter the edit mode at the boot loader screen.
- Find “linux16” and go to the end of it. Enter ‘rd.break’ without quotes at the end of this line.
- Press Ctrl-x" to boot.
- remount the root file system in RW mode
- mount -o remount,rw /sysroot
- Change to chroot jail so that /sysroot can be used as root of the FS.
- Now you can reset the root password.

PS: This is for my reference only. Please use at your own discretion.