Questions tagged [yum]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
5 views

How to make devtoolset g++ available for Makefile in docker's centos7?

I am building a docker image from a basement image which installed the CentOS 7. The code that need to be compiled need some features in C++14/17 standard, thus i have to update the default gcc/g++ ...
0
votes
0answers
8 views

yum installing mysql-server 5.5 instead of 5.7 on Amazon Linux

My understanding of yum is that it should default to installing the latest version of a package available in all the repos enabled. The default repos installed in Amazon Linux 1's AMI include the ...
0
votes
2answers
10 views

Problem with missing yum package CentOS (Virtualmin)

I am struggling with installation of rh-php71 package using yum on CentOS 6.10 and wondering how I could debug what's the root cause. I have followed instructions on scl: # 1. Install a package with ...
0
votes
1answer
25 views

get error while installing gcc with yum

i changed my yum repository to /media and mounted iso of CentOS-7-x86 to /media and used yum install packagename to install packages with dependencies, got no errors but when i tried to install gcc i ...
1
vote
0answers
13 views

Install packages in CentOS without root from non enabled repository

I need to install a high number of packages in a computer running Scientific Linux 6 (based on RHEL 6) for which I don't have root access. After much tinkering and internet searching I found this ...
0
votes
1answer
20 views

yum or dnf update with `--skip-broken` on just one repo?

Is there a way to run yum update --skip-broken Such that only missing packages from one repository are skipped? As a third party that distributes RPM packages we would like our broken packages to ...
0
votes
1answer
8 views

No package g++ available. on HDP sandbox

I am trying to figure out how to install g++ on Hortonworks HDP [root@sandbox-hdp Lesson-5.2_pipes]# uname -a Linux sandbox-hdp.hortonworks.com 4.19.5-1.el7.elrepo.x86_64 #1 SMP Tue Nov 27 12:40:57 ...
0
votes
1answer
86 views

How are rpm transactions used in `yum update`?

Is the whole yum update transactional or is every resolved update individually? If the yum update detects Foo and Bar need to be updated, and Bar fails because it now collides with installed package ...
0
votes
1answer
15 views

Error building Docker container images on CentOS 7

I'm trying to build a CentOS 7 Docker container from a minimal template as below FROM centos:AUTO_SELECT_VERSION RUN yum -y install yum-plugin-ovl \ && yum -y install lsof perl file tar ...
0
votes
1answer
37 views

CentOS 7 not finding security update rpm packages

On my CentOS 7 server, when I run yum --security upgrade its not finding any security update rpm packages, but I know vim-minimal security update package available. How can I make yum security ...
0
votes
1answer
14 views

NetworkManager package unable to install

Currently I'm trying to install package NetworkManager in Linux 2.6.32-642.6.2.el6.i686 i686. When I run yum install, it says: [root@localhost ~]# yum install NetworkManager-config-routing-rules ...
1
vote
0answers
18 views

yum: unable to update puppet-agent due to missing dependency

I am trying to update a package with yum (puppet-agent) but this is failing due to a lack of dependencies - error output below. I think I know why this is: the old version (1.10.9-1) of the package ...
3
votes
0answers
42 views

Yum install: unexpected nothing to do while upgrading elasticsearch

I'm experimenting something estrange with yum in centos7, lets see If someone understands what's happening: Usually, I upgrade packages using sudo yum install <package_name>-<version_info>...
5
votes
1answer
85 views

Yum in Amazon Linux 2 still asks for GPG key even after “rpm --import” when adding Kubernetes repo

I'm trying to add a kubernetes repo to my Amazon Linux 2 instance and struggle with automatically adding GPG keys. This is my /etc/yum.repos.d/kubernetes.repo... [kubernetes] name=Kubernetes baseurl=...
0
votes
0answers
17 views

Are FTP, httpd and NFS the only methods for setting up a Linux repo on a local network?

I'm planning on setting up a local offline Redhat 7 repo residing in a Docker container. Are FTP, httpd and NFS the only methods to give other systems on the local network access to the repo?
2
votes
1answer
41 views

Transfer RPMs file with Ansible and localinstall them

I am having the following yaml ansible-playbook and want to transfer the rpms and then localinstall them on the remote machine. Until the transfer file step its working fine however on the ...
1
vote
1answer
67 views

How to clean yum cache for untracked repositories?

I have a RHEL7 server managed by Satellite 6.5. The command yum clean all --verbose shows a yum cache of several Mb for untracked repositories. yum clean all doesn't clean this cache. Is it ...
0
votes
0answers
35 views

yum + dependencies errors

during yum installation , we get the following dependencies errors Error: Package: openldap-2.4.40-8.el7.i686 (@local) Requires: libplds4.so Removing: nspr-4.10.8-2.el7_1.i686 (@...
1
vote
1answer
34 views

Can I install a new kernel package using `yum` without updating grub.cfg?

I have 49 rpm packages that I need to install from a local directory. One of which is kernel-4.9.135 Therefore, I want to use yum so all dependencies are managed for me (instead of passing rpm a ...
1
vote
1answer
25 views

yumdownloader the rpm for redhat 7.3

we have redhat machines version 7.2 we want to upgrade to version - 7.3 we can do it as # subscription-manager register --auto-attach # yum --releasever=7.3 update this will upgrade online the OS ...
0
votes
1answer
60 views

Centos 7 python update package python-2.7.5-80 rpm

I am looking for this RPM python-2.7.5-80.el7_6.x86_64.rpm to address the security issue. yum update not getting this package? Any idea how to get this version of rpm for centos 7? Thanks Update ...
0
votes
0answers
61 views

How to install Visual Studio Code on CernVm?

I am trying to install vs code on CernVm but it shows the following errors: Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package code.x86_64 0:1.35.1-...
1
vote
1answer
144 views

Upgraded Python, and now I can't run “yum upgrade”

I have upgraded my system (CentOS 7) to Python 3.7 and it seems that has broken a ton of things. In particular, I can't perform a yum upgrade ... [myuser@server ~]$ sudo yum upgrade Loaded plugins: ...
0
votes
1answer
33 views

understanding YUM update error… requires, removing, updated by

RHEL 7.6, managing an offline system with the updates from an identical online system. I have a local repository created on the offline system and doing a yum update has worked fine... until. . . . ...
0
votes
2answers
40 views

How to translate APT-Get install packages to YUM [closed]

I have a Raspberry PI, which I am required to use CentOS 7. I am also trying to use the papirus eInk display (https://github.com/PiSupply/PaPiRus) The drivers and dependencies installation ...
0
votes
0answers
31 views

Login incorrect after installing nfs-utils

I am attempting to install nfs-utils (and thus all its dependencies) in a stateless RHEL6.5 KVM VM. The VM is configured to have a read-only root via the /etc/sysconfig/readonly-root file, Linux magic ...
0
votes
1answer
76 views

Can no longer update ClearOs 7 [closed]

If I run yum update, I get loads of errors: Error: Package: glib2-devel-2.54.2-2.el7.x86_64 (clearos-centos) Requires: glib2(x86-64) = 2.54.2-2.el7 Removing: glib2-2....
2
votes
1answer
583 views

yum lockfile is held by another user

Amazon Linux 2 instances are operated upon by an Ansible Playbook which performs multiple yum tasks one after the other. What specific changes need to be made to the syntax below in order for the ...
0
votes
1answer
27 views

multiple yum repos with name=packages-microsoft-com-prod

A group of Amazon Linux 2 instances have duplicate instances of name=packages-microsoft-com-prod in redundant yum repositories with different names. What is a safe way to remove the duplicate ...
0
votes
1answer
24 views

Updating CentOS php version [closed]

I recently bought a VPS to host a Laravel website. The problem I have is that the VPS has PHP version 5.3.3 and my Laravel project is created in PHP 7.3. I tried yum update but it says that everything ...
0
votes
0answers
7 views

How to Install a local .rpm file by automatically downloading/installing other dependencies

I want to install a locally downloaded .rpm file and any other dependencies that would be required while running this install, automatically. The question is very specific to locally downloaded, so ...
0
votes
0answers
23 views

Yum update error: Not Found

I'm having some issues with a yum update after updating a local repository. I am getting several errors which all include reference to glibc-2.17-196.el7_4.2.i686: Error: Package: rsyslog-8.24.0-12....
8
votes
2answers
1k views

Yum failing check-update

Starting this morning I'm getting errors checking for updates to packages with yum on Centos 7.6. When I run: $ sudo yum clean all && sudo yum check-update Loaded plugins: fastestmirror, ...
-2
votes
1answer
24 views

Find package (OS distribution) manager for automation [closed]

I want to automate some installation process. For that, I need to know whether it is a DEB or RPM distribution, Im able to find some scripts for find the OS distribution. I need to write a script to ...
0
votes
1answer
45 views

How to install old 32bit packages (i686) on CentOS 7.6

I have an application that requires following packages to be installed via yum: openmotif.i686, libusb.i686 and libXpm.i686 On CentOS 6 is was just fine to install those packages before installing my ...
1
vote
2answers
41 views

Yum is not respecting `Requires` maximum version. How can I debug and check what yum thinks the dependency version is?

I manage an RPM package and there are versions numbered like: my-package-1.1.1-1, my-package-1.1.2-1, my-package-1.1.3-1, my-package-1.2.0-0.alpha01.1. I'm now trying to get another package to ...
0
votes
3answers
964 views

Installing docker CE on redhat 7

I am trying to install dockerce on redhat7 by following the below steps yum update -y yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum install docker-ce -...
-1
votes
1answer
33 views

is it safe to run yum and install packages when the root file-system isn't that of the running system?

Example: I have a centos or debian X.Y installed on physical disks, with a 2.6 kernel. Now I put a "live distro" ISO (example archlinux) on one DVD and boot the system from the DVD, so now the ...
0
votes
1answer
32 views

yum install npm fails with failure: repodata/repomd.xml from pgdg10

I am trying to install the npm through yum install npm command but it fails every time with the below log: epel/x86_64/metalink | 6.0 kB 00:00 google-...
0
votes
1answer
43 views

createrepo and yum update with new rpm files, metadata?

So I [almost] know how to update an offline rhel/centos 7 system, I am using a second identical system which is registered with RHN and other repositories. In /etc/yum.conf I have keep_cache = 1 and ...
1
vote
1answer
28 views

RPM creation solve depencies

I have created a rpm on Centos 7 it needs rh-python36 and centos-release-scl-rh is required to be installed in advance, so the current sequence is : sudo yum install -y centos-release-scl-rh sudo yum ...
0
votes
1answer
33 views

How can I run rpm and yum on RHEL?

I'm trying to do some debugging on my remote server via SSH. I need to install a few packages before I begin. The provider I'm using has Red Hat Linux on their servers. The problem I'm having is that ...
0
votes
1answer
24 views

Stop http service, yum still work CentOS7

Can anyone explain me why yum still working when I stop http service. If I'm not wrong, yum repository use port 80 and 443 so stop http service on the machine should technicly stop possibility to ...
0
votes
0answers
31 views

How to download group packages “Server with GUI”?

I was trying to follow this to download all packages for "Server with GUI". Am I doing something wrong? OS: RHEL 7.5 [root@test rpms]# repoquery --qf=%{name} -g --list --grouppkgs=all "Server with ...
0
votes
1answer
51 views

`rpm -q` and `yum` break after `rpm --rebuild`

In order to repair the RPM database, I ran rpm --rebuild. Afterward, I cannot find any package using rpm -qa, and yum does not work,as the logs below show. [root@local03 ~]# yum Traceback (most ...
0
votes
1answer
105 views

explanation of RHEL/CentOS 7 yum repo gpg key

I do not understand how one gpg key can work for any of a thousand rpm's downloaded from a repository? For example, in RHEL/Centos 7.x install EPEL (extra packages for enterprise linux); results in /...
0
votes
0answers
17 views

How to recusively download RPMs and dependencies as a user

I'm testing a process that will need to be run by different users on different Linux servers. The servers will have yum and yum-utils installed. There is no root access and faking it (chroot/container)...
-1
votes
1answer
102 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
349 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
26 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 ...