Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [yum]

Yellowdog Updater Modified (yum) is an interactive, rpm based, package manager.

-1
votes
1answer
35 views

Problems While Installing Git in RHEL 7.6

I am trying to install git and I get the following error though I have a valid subscription of the RHEL Client 7.6. No package git available. Error: Nothing to do I ran the following commands: [...
4
votes
2answers
333 views

porting install scripts : can rpm replace apt?

I have the following install script for ubuntu : #!/bin/bash sudo apt update sudo apt full-upgrade -y sudo apt install jq sudo apt autoclean -y sudo apt autoremove will the following work under ...
0
votes
0answers
21 views

Is there an yum repository that contains vim with python 3 support?

I am using CentOS 7 and trying to install vim 8 without having to build it from source. Using ubuntu, the latest vim installed using apt comes with python 3 support. Is there such a repository for ...
0
votes
0answers
16 views

How to resolve Transaction check error while installing xrdp?

I am using CentOS Linux release 7.3.1611 (core). I install XFCE gnome and trying to install xrdp so that i can connect via windows machine. yum -y install xrdp xorg-x11-xinit But i am getting below ...
0
votes
0answers
32 views

Is there any method to install packages in centos without using sudo or yum command?

Am looking for a method through which I can download and install packages without a sudo. What I really would like to know is the method which permits me to install packages without super user ...
1
vote
1answer
29 views

Yum won't resolve a lib dependency though it is available/installed?

I am trying to install xpra on CentOS 6.9. Upon yum install xpra, I get: Error: Package: xpra-1.0.12-2.r19800.el6_9.x86_64 (winswitch) Requires: libx264.so.148()(64bit) ...
2
votes
1answer
58 views

RHEL/CentOS - How can I find all rpm packages which depends on a particular package?

Linux distribution: Red Hat Enterprise Linux Server release 6.10 (Santiago) Context: I need to uninstall all old versions of Java in my server. I have the list of java paths, example: /usr/lib/jvm/...
1
vote
2answers
25 views

Problems getting YUM to see packages is local repository

I've downloaded all the rpms and created a local repository for offline installation of php 5.6 by following the instructions of Steve Bond's solution mentioned here using 'downloadonly' and create ...
0
votes
1answer
46 views

Can one file be owned by two RPM packages?

Below commands show that one file is owned by two packages. Is there something wrong or is this an expected/acceptable behaviour with RPM packages? $rpm -qf /bin/ls coreutils-8.4-46.el6.x86_64 ...
2
votes
0answers
39 views

YUM ERROR: Failed to retrieve group file for repository: rhel-x86_64-server-7

A week ago, a yum update on all my Rehdat 7 servers, outputs the following error: Error: Failed to retrieve group file for repository: rhel-x86_64-server-7 I tried doing a yum clean all, but that ...
1
vote
1answer
27 views

Installing newer version of lsblk to RHEL

I am trying to install newer version of lsblk to Red Hat Enterprise Linux Server 7.6. I have installed util-linux on my system in version util-linux.x86_64-2.23.2-59.el7_6.1 but due to a compatibility ...
1
vote
0answers
28 views

how to download only errata - rpm's by yum

by this example we can install the errata yum update --advisory=RHBA-2016:0694 but is it possible just to download the errata to local folder? we just want to download the rpm's , without to ...
0
votes
1answer
52 views

Redhat repos not found

I have a Redhat 7 system on loan from a customer in order to install a 32-bit application. To get the application to work, I need to install the gtk2.i686 toolkit. By doing this command: yum list --...
0
votes
0answers
20 views

By enabling automatic security updates on CentOS/RHEL 7 how can I control the rest?

If I enable automatic security updates via "update_cmd = security" in "/etc/yum/yum-cron.conf" how am I able to control the "default" behavior of the other packages?
0
votes
0answers
60 views

Unable to install 32-bit Gtk on RedHat 7: Protected multilib versions

I'm trying to install a 32-bit version of the GTK onto a RedHat 7 Enterprise system. As the system isn't yet registered with Red Hat, I've gone ahead and used a Centos 7 repo for now. If I understand ...
0
votes
1answer
143 views

How do I set a RPM package to require Java 8 or higher, whose dependencies can be satisfied by Java 11

I'm trying to package an RPM that requires any Java version above Java 8. The RPM works fine if there's no Java installed, or if JRE/JDK for 8 is installed. HOWEVER if I install OpenJDK 11, when I ...
0
votes
1answer
60 views

Why does first yum update on CentOS 7 ask to accept keys

I ran yum update on a newly built machine. Why does it ask to accept keys? Is it safe to accept the keys? base/7/x86_64/signature ...
0
votes
0answers
20 views

How to install specific NetworkManager package in Linux

While installing the NetworkManager package to a specific version it's always recommending to install stable NetworkManager package. Example- If I am trying to install: # yum install NetworkManager-...
0
votes
0answers
133 views

File contains no section headers on Centos

When I tried to install CMake but writing the following sudo yum install cmake I got the following error File contains no section headers. file: file:///etc/yum.repos.d/mcepl-vim8-epel-7.repo, line:...
1
vote
1answer
129 views

No module named yum CentOS6

I think I messed up my python config now yum wont work. I'm getting error 'No module named yum'. I have tried editing /usr/bin/yum and adding #!/usr/bin/python2.6 as the interpreter but this has not ...
0
votes
0answers
31 views

Yum update with ssh socks5 tunnel on EL6 failed

I have to perform update on server hasnoinet that. I created the ssh tunnel on hasnoinet box and ensured that he works: ssh -D 1080 hasinternet curl --socks5-hostname localhost:1080 google.com I ...
-1
votes
1answer
73 views

How to install the latest SaltStack packages for CentOS 7

I am trying to install the latest version of the salt-minion package (2018.3.1). But in my yum repository, the latest available version is 2015.5.10-2.el7. yum --showduplicates list salt-minion ...
0
votes
0answers
20 views

Repository with latest builds for centos 7

I know that Centos has all the packages kind of old for some reason; you do not need to clarify advantages of this approach to me. I want to use new packages on my experimental machine to analyze our ...
1
vote
1answer
64 views

CentOS rpm package not available when using yum

I wanted to install Oracle 11.2 on my centOS7. I did all but one prerequisite steps. Oracle requires me to have a lot of rpm packages preinstalled. Do I need to find all of them and then download ...
2
votes
0answers
15 views

yum list-security no longer reports package as needing security update

We have an audit system that, daily, tracks packages in need of a security update using: yum list-security --security -q 2 For better or worse, some machines are not patched timely or missed, or are ...
0
votes
0answers
145 views

How to configure yum to support https

I am trying to configure yum 3.4.3 to support HTTPS on my CentOS 7. Currently I am getting the following error when trying to update an application with yum clean all; yum update myApp. The error: ...
1
vote
1answer
368 views

-bash: yum: command not found via SSH [closed]

I'm trying to deploy a project to a remote server via SSH but I kept getting this error saying command not found no matter I typed sudo or yum. So far I've checked a few posts but still have no idea ...
1
vote
0answers
51 views

yum install multiple packages requiring all for success

On centos 7 (docker), I see yum install command with several packages succeeds even if some are not found. This is nasty for scripting :-( (in this example golang not found because I didn't add EPEL ...
1
vote
1answer
224 views

yum: gcc trying to install i686 architecture on x86_64 server

Trying to YUM install gcc gcc-g++ make and it fails with: Package: glibc-2.17-260.el7.i686 (RHEL_SEC_7) Requires: glibc-common = 2.17-260.el7 Installed: glibc-common-2.17-260.el7_6.3....
0
votes
1answer
94 views

How to install gnumeric on Oracle Linux 6?

Many blogs suggest sudo yum install gnumeric and sudo yum install gnumeric.x86_64, but to me both are giving the following message: Loaded plugins: security, ulninfo Setting up Install Process ...
0
votes
1answer
69 views

Why package installation with yum show wrong source repository?

I have a brand new CentOS 7 VM. Right after a global yum -y update I'm trying to install additional packages, for instance net-snmp. Package net-snmp 1:5.7.2-33.el7_5.2 (...
0
votes
0answers
104 views

Exclude packages in kickstart file

The Redhat kickstart documentation describes how to deselect/exclude packages in the packages section - i.e. one may put - in front of a package name to exclude it. But it doesn't fully work in this ...
0
votes
0answers
20 views

Some questions about the yum (group)list utility

1) Why yum list can output the package contents even without any yum repositories? 2) How to output the package contents of yum grouplist without any yum repositories? Notes: the packages contents ...
0
votes
0answers
42 views

Centos: no such package(s) for specific nginx version

I tried to build a customized nginx with specific nginx version with module in https://github.com/anomalizer/ngx_aws_auth I setup the nginx repo # nginx.repo [nginx] name=nginx repo baseurl=http://...
2
votes
1answer
49 views

What are the relationships between package commands?

RPM based package managers support subcommands such as requires, recommends, conflicts, obsoletes, suggests and supplements. In reading the rpm man pages and dependencies documentation, it isn't ...
1
vote
1answer
28 views

restore under RHEL 7

Say there's an application that install to /opt/ directory. I update it with yum. I do a full server backup, that is all the file systems (/opt/ maps to the root directory). Now, I discover a bug post ...
1
vote
1answer
32 views

Remove Package and dependencies installed along with it

I noticed while removing httpd package that dependencies installed all not removed along with that # yum remove httpd How can i remove a package and dependencies which were installed along with that ...
0
votes
1answer
44 views

Issues in installing yum-utils on centos 7.4.1708

My centos version is 7.1.1503. When I tried installing yum-utils using yum-install it's trying the repo http://centos.myfahim.com/centos/7.4.1708/os/x86_64/repodata/repomd.xml and other mirrors on ...
0
votes
1answer
140 views

Transaction check error while installing maven on Centos7

I'm trying to install maven on Centos 7: [root@htm-psycho-401 htmpp]# yum install maven Loaded plugins: auto-update-debuginfo, fastestmirror Loading mirror speeds from cached hostfile * base: mirror....
-1
votes
2answers
35 views

rpm used before to install/upgrade packages - would now want to use yum instead

Someone was performing an upgrade of a software running on our RHEL Server with rpm -Uvh package_name.rpm I'd like to use yum -U package_name.rpm Can this cause any problem or inconsistency?
0
votes
0answers
40 views

What is the deference between `arch` and `/etc/yum/vars/arch` at docker container?

I use docker container on CentOS7 x86_64. Docker container depends on the host system. bash $ arch x86_64 The arch command shows the above host arch in the container. I want to use the container ...
0
votes
0answers
38 views

Get Package and their respective dependencies separately from 'yum update'

If I type yum update, I can get all the missing packages and their dependencies for the system. My question here is, is there a way to segregate all packages and their dependencies separately while ...
1
vote
2answers
2k views

CentOS 7.6 - yum update error “Cannot find a valid baseurl for repos: addons/7”

When I am trying to do yum update, I got the following error message. Loaded plugins: fastestmirror, langpacks Repository base is listed more than once in the configuration Repository updates is ...
0
votes
1answer
58 views

Configure: error: Package requirements (libcanberra-gtk3 >= 0.10) were not met [but libcanberra-gtk3 v. 0.30 is installed]

I'm trying to build a package (mate-power-manager) and hit this error during ./autogen.sh: checking for CANBERRA... no configure: error: Package requirements (libcanberra-gtk3 >= 0.10) were not ...
1
vote
1answer
263 views

Package libibumad is obsoleted by mlnx-ofa_kernel

I wanted to update a KVM virtualization suite (VMmanager KVM) running on CentOS 7. The error I am getting: Package libibumad-17.2-3.el7.x86_64 is obsoleted by mlnx-ofa_kernel-4.3-OFED.4.3.1.0.1.1....
0
votes
2answers
226 views

How to subscribe to public YUM repository in Oracle Linux

I would like to subscribe to the following Oracle yum repository so I can install virtual box guest additions packages. https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/index.html Where ...
0
votes
0answers
227 views

pip install + get the errors about Retrying (Retry(total=4, connect=None, read=None, redirect=None))

we are trying to install the following Jinja ( on redhat machine version 7.2 ) pip install Jinja2-2.10-py2.py3-none-any.whl Processing ./Jinja2-2.10-py2.py3-none-any.whl Collecting MarkupSafe>=0....
0
votes
1answer
401 views

How to download rpm packages manually (without yum)?

I need to download .rpm packages into Windows for some reason. So I cannot use yum for downloading. Virtual machine option is not available either. Can I download .rpm packages manually? If yes, ...
-1
votes
2answers
173 views

How to install 'Development Tools' into a CentOS machine without internet?

I need gcc, make and other essential stuff on a CentOS machine. The thing is that the machine is not (and probably will not be) connected to the internet. Downloading the packages on some other ...
0
votes
1answer
269 views

After installing anaconda-2.5.3 in centos 7 , yum and gnome not working

Normally i do the installation from shell command as shown below.. sh Anaconda2-5.3.0-Linux-x86_64.sh After the installation i realised that some dependencies for the python package yum gone missing....