Questions tagged [yum]
yum is a software package manager that installs, updates, and removes packages on RPM-based systems.
1,854
questions
0
votes
0
answers
8
views
Is it possible to ask yum/dnf to ignore duplicate files (rocky 8)?
We have code base with many RPMs. One RPM has a binary named foo. Foo is a bit like busybox, a binary that we connect to with many symbolic links. There is one special function that, for ...
0
votes
1
answer
13
views
How to install Mongo DB to specific directory with user privileges in Red Hat using yumdownloader?
I am trying to install Mongo DB using yumdownloader on a RED HAT server with user privileges only on a RED HAT server. I have gone through this link: https://www.mongodb.com/docs/v4.4/tutorial/install-...
1
vote
0
answers
13
views
YUM Dependency resolving with multiple RPMs that have the same Provides Claim
I have a Virtual Package that has this in the rpm.spec:
Name: own-package
Requires: own-package-bin
Then I have a package for rhel7 with these lines in the rpm.spec:
Summary: own-package-rhel7
Name: ...
0
votes
0
answers
32
views
How can I install openjdk 13.x on Centos 7?
I have two machines with CentOS 7.x on them, on one I have this (13.x since 2020?):
java --version
openjdk 13.0.2 2020-01-14
OpenJDK Runtime Environment 19.9 (build 13.0.2+8)
OpenJDK 64-Bit Server VM ...
-2
votes
0
answers
33
views
Why do I get this error when I try to run a complex script/playbook -name: 'disable repo_gpgcheck'
Could it have something to do with any of these things in my history?
yum install xinetd -y
yum:
yum install python-firewall
yum install python-firewall*
yum install python311-firewall
yum install ...
-1
votes
0
answers
53
views
yum and apt-get is giving "command not found" error on an Azure VM [closed]
I want to install sshpass on Azure. But yum and apt-get is giving "command not found" error on an Azure VM
root@<..> yum install sshpass
bash: yum: command not found
> apt-get
...
0
votes
0
answers
50
views
yum: command not found when building Dockerfile
The top of my Dockerfile looks like this:
FROM public.ecr.aws/lambda/provided
ENV R_VERSION=4.3.0
RUN yum -y install wget git tar
The other day, all was working fine when I built the container.
...
0
votes
1
answer
52
views
How to lock a package to not be updated or reinstalled in CentOS
I've already installed a patched version of a package, and I don't want it be updated or reinstalled in any case.
What I have tried but not success:
using exclude=package-name* in /etc/yum.conf: I ...
0
votes
0
answers
58
views
AWS Inspector not updating Finding status to CLOSED
We are running into an issue where we have applied all the fixes for Findings reported by the AWS Inspector. But, the Inspector Dashboard still reports them as Active instead of Closed. Interestingly, ...
0
votes
1
answer
68
views
MariaDB Columnstore CONNECT Engine installation
I want to install MariaDB Columnstore using Docker: image.
However, the base image has no CONNECT Engine installed. Therefore I need to install it myself. Since the image is based on RHEL distribution ...
0
votes
0
answers
56
views
AWS AL2 - Elastic beanstalk - how can I proper install Postgres 15?
I have an Elastic Beanstalk enviroment with AL2 system (latest available) and until today, I used amazon-linux-extras to install PG 14 with this command:
sudo amazon-linux-extras install postgresql14
...
0
votes
0
answers
16
views
Why clang can not find Selected GCC installation?
My work environment as follow:
OS: NeoKylin4
gcc: 4.4.7
Arch: Mips64el
I had used the yum to install the clang-v3.4.2,but when I used clang to compiler a c program,it showed me an error that "/...
0
votes
2
answers
415
views
why installing docker on rhel 8 make conflicts with runc
we want to install docker packages on our RHEL 8.4 server (this is off line installation since machine not connected to network)
so we download the following rpm's from the site - https://download....
0
votes
0
answers
118
views
How to install S6 in redhat ubi9/ubi-minimal using microdnf
For registry.access.redhat.com/ubi9/ubi-minimal9 this image, I need S6 util to be installed. Since ubi9 doesn't come with yum package manager available in the image but we have microdnf.
microdnf ...
0
votes
0
answers
14
views
Package manager (yum, apt, ...) supporting IMA signatures
I'm trying to harden a Linux system by using IMA and want to apply digital signatures to binaries. I'm wondering if there is a package manager supporting the IMA signatures so that the binaries can be ...
0
votes
0
answers
77
views
Getting error when trying to Start Jenkins
I am in the process of installing Jenkins on a clean RHEL 8 server (Red Hat). These are the steps I took.
Adding Jenkins Repository and import public key
wget -O /etc/yum.repos.d/jenkins.repo http://...
-3
votes
1
answer
928
views
Yum - what java 8 versions are available to install?
I am attempting to install java version 8 on my AWS EC2 (uses AWS linux image) using yum. Each attempt is telling me the version is not recognized. For instance:
ec2-user@ip-172-31-9-107 nifi]$ sudo ...
-1
votes
1
answer
470
views
CentOS 7 All yum.d.repos deleted [closed]
I have googled and tried all the solutions I can find to this. An admin somehow broke yum trying to install an mssql package by adding the repo, then tried different way to fix, as did I.
I deleted ...
0
votes
0
answers
215
views
How to download jq offline execution file
My project needs to parse json through jq. In order to ensure that the machine where the service is located can run, I copied the jq installed by yum to the project directory, but when I used the ...
0
votes
1
answer
70
views
why yum package isn't availble in python2 on RedHat 8
when I am using YUM package in python 2.7.5 on RHEL 7 the things are working fine,
but now we are switching to new Redhat 8 which is having python 2.7.18
and we saw that yum and rpm packages are not ...
1
vote
1
answer
195
views
ansible yum remove - Failed to download packages
When I try to uninstall docker on a RHEL 8 box using Ansible I get the following error
fatal: [server1]: FAILED! => {"changed": false, "msg": "Failed to download packages: ...
1
vote
0
answers
69
views
Yum repo on S3: Can I publish repo metadata updates without the full history on a local machine?
We have a YUM repository hosted on S3, but the current approach requires maintaining local duplicates of all packages in order to generate the necessary YUM metadata using the "createrepo" ...
0
votes
1
answer
136
views
YUM command on Mobaxterm, windows
I am new to that area,
I have installed Mobaexterm and try to run the YUM as part of some command.
It says that the YUM command is not found
Apperantly I need to install also a specific package to do ...
0
votes
0
answers
338
views
What is best practice to install Package in ubi-minimal which is not in offical repo but in CentOS
I am trying to make small container which uses qeum-img, qemu-kvm.
How can I install package which is not in offical ubi-minimal repository but in CentOS 8 Appstream?
* I know that both ubi-minimal ...
0
votes
0
answers
68
views
Cent OS 7 - Yum segmentation fault
yum install , yum update hits segmentation fault.
Yum is completely broken and not able to use any of those yum commands.
0
votes
0
answers
77
views
make[1]: python: Command not found
I am trying to install yum package (yum-3.4.3.tar.gz) as yum got corrupted in the unix machine. While installing it is failing with python: Command not found error. When execute python command, it is ...
0
votes
1
answer
21
views
Folder is emptied after installation of an RPM package
I am reading RPM packages from a CSV file and want to install them one after the other. If there is a "yes" or "ja" at the end of the line, the package is to be installed. ...
0
votes
1
answer
178
views
Why does yum not read updates to RPM repository file?
On Amazon Linux, I was following the guide of installing Node.js v16 via NodeSource RPM:
$ curl -fsSL https://rpm.nodesource.com/setup_16.x | sudo bash
The command above updates the repository file ...
0
votes
0
answers
67
views
Is there a command in suse linux just like "yum provides <command>" to find which package includes this command?
As title!
When I invoked a command in sles15,indicated as follow
enter image description here
How can I find what package should I install?
Did zypper have the similar command as 'yum provides'?
...
2
votes
0
answers
437
views
Elastic BeansTalk: Yum does not have this package available for installation
this is 01_packages.config file inside .ebextensions folder
packages:
yum:
git: []
postgresql93-devel: []
commands:
01_python_devel_install:
command: 'yum install -y python39-...
0
votes
0
answers
127
views
Kernel not updating from package dependencies in Yum, which lists kernel as a dependency
My OS is RHEL8.
I have custom rpm files stored on a yum repo. I am trying to update a release rpm I create, using sudo yum update --installroot=/backup my_release (with and without installroot), but ...
1
vote
0
answers
526
views
I would like to know more about the risks of not verifying the GPG KEY
I would like to know more about the risks of not verifying the GPG KEY.
Now I can't install chrome from yum on Amazon Linux2.
yum install -y google-chrome-stable
gpg key verification fails.
Failing ...
0
votes
0
answers
16
views
Yum upgrade/update issue
I am trying to automate my CICD pipeline on gitlab wherein, when creating rpm, it picks up base version from a file. But, then it adds the git commit id which is alpha numeric and pushes to yum repo.
...
0
votes
0
answers
784
views
Install python3.11 on centos stream 9
I am trying to install python 3.11.3 version on centos stream 9 distro.
centos stream 9 has default below python versions installed.
root@ip-... ~]# python --version
Python 3.9.16
[root@ip-... ~]# ...
0
votes
1
answer
272
views
How to download rpm file from google artifact registry's yum repository using API call?
How to download rpm file from google artifact registry's yum repository using API call?
I tried using the API request format https://-yum.pkg.dev/projects///Packages/ since a similar format is used by ...
0
votes
0
answers
35
views
eucalyptus installation centos7
i need your support to install eucalyptus centos7.9
[FATAL] Eucalyptus installation failed
Eucalyptus installation failed. Please consult /var/log/euca-install-05.15.2023-02.07.56.log for details.
log ...
0
votes
2
answers
195
views
Yum not able to update to a fixed version suggested by trivy security scan inside AWS lambda image
I'm building a very basic Dockerfile for a python-based AWS lambda,
Dockerfile (docker build -f Dockerfile -t test-img:0.0.1 .):
FROM public.ecr.aws/lambda/python:3.9
RUN yum update -y && yum ...
1
vote
1
answer
94
views
Ansible install custom RPM's based on OS Version
I need a playbook that transfer and install the following custom RPM's base on a hosts file that includes Centos 6, 7, and 8:
package.sl6.x86_64.rpm
package.sl7.x86_64.rpm
package.sl8.x86_64.rpm
--...
0
votes
0
answers
57
views
Unable to install Chromedriver on Centos 7
Tried installing chromedriver on centos 7 got the following error but dnf and yum are unable to find the package. It should be available
First tried using dnf:
sudo dnf -y install chromedriver
cPanel ...
1
vote
1
answer
249
views
My custom yum repository cannot see RPM files
I have configured a custom repository with nginx RPMs. It is located on my local Artifactory: https://artifactory/artifactory/rpm-nginx-prod-local/rhel8/
I can see that my RPMs are there:
Index of rpm-...
0
votes
1
answer
961
views
MySQL update 10.2 to 11.0 with yum issue (centos 7.9)
After I changed repo for Marinadb from 10.2 to 11 and launch yum update the server stack on error with not update/remove marinadb-server.
-bash-# yum -y update
Loaded plugins: fastestmirror
Loading ...
1
vote
0
answers
137
views
Is it ok to use yum priorities plugin or will it cause any issues?
I am currently working on upgrading PHP installation on Amazon Linux 2 instance. As all the PHP 8 modules are not available in the default EPEL repo I have planned to use the REMI repository. However ...
0
votes
2
answers
96
views
After 2023-03-28 http://yum.oracle.com/repo/OracleLinux/ fails Artifactory testremote via API and Admin UI
Problem
We seem to have a replication problem on a remote rpm/yum repo. We replicate http://yum.oracle.com/repo/OracleLinux/ as rpm-oraclelinux-remote and up until 28-03-23 15:29:41 +00:00 it worked ...
0
votes
1
answer
213
views
How to prevent from injecting HTML and scripts in a TextField with React and Yum
I have this chunck of code meant to input a description:
<Grid item xs={12}>
<Typography align="left" variant="h6" gutterBottom>
Description
</...
0
votes
0
answers
57
views
MySQL's instructions for upgrading 5.7 to 7 with Yum assume that I have a mysql-community.repo file but I only have Mysql57.repo. What should I do?
I'm trying to do an "upgrade in place" of MySQL 5.7 to MySQL 8 on CentOS 7.
I am following MySQL's instructions here: https://dev.mysql.com/doc/mysql-repo-excerpt/8.0/en/updating-yum-repo....
0
votes
0
answers
243
views
"error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none"
I am trying to install certbot but I am getting these errors:
[ec2-user@ip-myip ~]$ sudo yum update
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Could not retrieve mirrorlist ...
-1
votes
1
answer
894
views
How to install gss-ntlmssp with yum?
We have the requirement to install gss-ntlmssp using yum .I also tried to insatll the prerequisites as mentioned in the online channel but it does not help out either .
I tried to run the command :
...
0
votes
1
answer
1k
views
Unable to run yum update on centos 7
Not able to run yum update. It fails with the message connection refused.
When I run sudo yum update I get the following message
Loaded plugins: fastestmirror
Loading mirror speeds from cached ...
0
votes
0
answers
32
views
'nothing provides' message installing httpd
Error pic
error trying to install httpd
I tried using yum and dnf but the error was the same. Also tried using --nobest but "conflicting request" message appeared. I have the same problem ...
0
votes
1
answer
40
views
Query rpm package version without locking rpmdb?
When runnning yum list installed | grep <package_name> as a means to check a package version, on some hosts, this command can take some time because there might be other yum commands taking a ...