Pages

Thursday, May 26, 2016

Enabling/disabling "basic" repositories in RHEL

Default installation of Red Hat Enterprise Linux (using free RHEL Developer Subscription) has, IMHO, a rather strange choice of repositories configured by default. Enabling Optional and Supplementary repositories, along with EPEL would be first steps and we can also get rid of not used ones (we can always enable them later if needed).

Extra Packages for Enterprise Linux (EPEL)
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm


Red Hat Enterprise Linux 7 Server - Optional
# subscription-manager repos --enable=rhel-7-server-optional-rpms
# subscription-manager repos --enable=rhel-7-server-eus-optional-rpms


Red Hat Enterprise Linux 7 Server - Supplementary
# subscription-manager repos --enable=rhel-7-server-supplementary-rpms
# subscription-manager repos --enable=rhel-7-server-eus-supplementary-rpms


Red Hat Enterprise Linux for Real Time
# subscription-manager repos --disable=rhel-7-server-rt-rpms
# subscription-manager repos --disable=rhel-7-server-rt-beta-rpms


Red Hat Enterprise Linux High Availability
# subscription-manager repos --disable=rhel-ha-for-rhel-7-server-rpms
# subscription-manager repos --disable=rhel-ha-for-rhel-7-server-eus-rpms


Red Hat Enterprise Linux Resilient Storage
# subscription-manager repos --disable=rhel-rs-for-rhel-7-server-rpms
# subscription-manager repos --disable=rhel-rs-for-rhel-7-server-eus-rpms

Monday, May 9, 2016

Error while installing X2Go Server on Red Hat Enterprise Linux

Configuration:
Red Hat Enterprise Linux Server 7.2 (Maipo) base installation (Server with GUI) with EPEL enabled.

Issue:
Dependencies errors while trying to install X2Go server.

Error:

# yum install x2goserver
(...)
Error: Package: x2goserver-4.0.1.19-6.el7.x86_64 (epel)
           Requires: perl(Capture::Tiny)
Error: Package: x2goserver-4.0.1.19-6.el7.x86_64 (epel)
           Requires: perl(Config::Simple)
Error: Package: x2goserver-4.0.1.19-6.el7.x86_64 (epel)
           Requires: perl(File::Which)


Solution:
Required packages (perl-Capture-Tiny, perl-Config-Simple and perl-File-Which) are not provided by EPEL for EL7 but are available in "Red Hat Enterprise Linux 7 Server - Optional (RPMs)" repository that needs to be enabled.

yum-config-manager --enable rhel-7-server-optional-rpms