Questions tagged [yum]
Software package manager that installs, updates, and removes packages on RPM-based systems. yum stands for Yellowdog Updater, Modified.
500
questions
0
votes
1
answer
897
views
yum broken when I interrupt updating nss-softokn-freebl-3.36.0-5.el7_5.x86_64
My system is centos7.
[root@centos7 caiyiheng]# uname -a
Linux centos7 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015
x86_64 x86_64 x86_64 GNU/Linux
My system run in a virtualbox.
When I ...
0
votes
1
answer
1k
views
Package not found by package manager (YUM)
I'm installing CentOS as a VM on VirtualBox.
I've some problem with some package I want to install from RPF fusion repositories. I found VirtualBox-guest-additions-5.2.16-1.el7.x86_64 package ...
0
votes
0
answers
1k
views
How can I get yum to work without root?
If I make all folder in the root directory world writable, something like:
sudo chown 777 -R /
Would this enable yum to work without root privileges? If not, is there a way similar to this to make ...
3
votes
2
answers
27k
views
No Ansible config file or /etc/ansible directory after trying pip and yum install
So I have been trying to install Ansible for some server management however it seems that yum and pip both don't want to co-operate:
I tried a yum install which refuses to work because it cant seem ...
1
vote
1
answer
1k
views
Yum Repo issues
My CentOS-Base.repo has the following mirrors:
[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-...
1
vote
2
answers
16k
views
yum - Installing a package without updating dependencies
I'm trying to install ZABBIX monitoring software with yum on a server. When I attempt to install the package, yum prompts me to update php to 7.30.0.
Installing:
OpenIPMI-libs ...
0
votes
0
answers
86
views
Determining when a repository was added to yum?
I'm on CentOS 6.6. Is there a way to determine when a repository was added to the list of repositories searched by yum?
yum repolist -v
Returns when the repos were last updated, but not when they ...
1
vote
1
answer
50
views
Mysql 5.7 installation, Repository not getting listed
I am tring to get MYSQL5.7 installed on Linux Server release 6.7 (Santiago).
Per instructions I firstly add the repository. This works fine but when I do yum repolist all it doesn't show mysql there. ...
1
vote
1
answer
2k
views
Offline RPM package install, with Windows
I need to install packages with yum on a CentOS machine I have. This CentOS server is not connected to the Internet because of my organization policy, but I do have a Windows server that is connected ...
1
vote
1
answer
731
views
Downgrade Linux Minor Version
I ran yum update-minimal at Oracle Linux 7.4 and the version has been upgraded to 7.5 unfortunately. How can I downgrade the version to 7.4? And why "update-minimal" changed the minor version?
4
votes
1
answer
2k
views
Owner of php session folder keeps changing
Problem
Every few weeks, the php session folder of a machine changes to owner apache even though I'm using nginx. This breaks PHP applications, for example phpMyAdmin, with a session_start(): open(...
1
vote
0
answers
127
views
Cannot use Red Hat Optional channel with yum: repomd.xml not found
I need to install some packages that are in the optional repository channel of RHEL (like libtiff).
I followed this instructions, but when I try to yum update I get this error:
The issue is similar ...
0
votes
0
answers
32
views
How to update to CentOS 7.3 1611 from 7.1.1503?
How to update to CentOS 7.3 1611 from 7.1.1503 ? can it done through yum if yes, how to do it ?
1
vote
0
answers
529
views
Oracle Linux Gnome Installation Black Screen
I want to install a GUI environment (GNOME) to OEL 7 Server. I ran command below to do this:
yum group install Server\ with\ GUI
But after than starting the installation I got a transaction error ...
3
votes
1
answer
2k
views
uninstalling vim-minimal also uninstalls sudo in Centos 7.4
Setting up a new CentOS 7.4 machine. I installed vim using sudo yum install vim, and then I uninstalled vim-minimal with sudo yum remove vim-minimal. Now sudo has been uninstalled:
$ sudo
-bash: /...
0
votes
1
answer
3k
views
/usr/lib64/python2.7/site-packages/rpm/_rpm.so: undefined symbol: rpmpkgVerifySigs
My first time here to ask question.
Hope my question could help more friends after solved.
Base:
System Version: CentOS 7.2 64 bit
Problem:
Wrongly remove python that comes with the system. And ...
-1
votes
1
answer
165
views
Why does 'apt/yum install' JUST NOT show actual package URLs?
I know there are commands to show package(.rpm/.deb) URLs without download:
#apt
apt download --print-uris PACKAGE
#yum
repoquery --location PACKAGE
yumdownloader --urls PACKAGE
But for god's sake, ...
5
votes
2
answers
4k
views
Trying "yum -y update" Cannot allocate memory
I am using VPS with 512MB RAM. Trying yum -y update and this is what i get:
[root@cs09-prod ~]# yum -y update
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* ...
1
vote
2
answers
6k
views
yum + connection refused
I can install the ntp rpm as the following by yum
but before yum installation I get the failed lines as the following:
yum install ntp
Loaded plugins: langpacks, product-id, search-disabled-repos, ...
0
votes
1
answer
2k
views
slappasswd: symbol lookup error undefined symbol ber_sockbuf_io_udp
I have CentOS 7 (3.10.0-693.el7.x86_64) from Pivotal Greenplum Sandbox VM.
I tried to install OpenLDAP:
sudo yum install openldap openldap-servers openldap-clients -y
But when I run slappasswd -s ...
0
votes
0
answers
3k
views
RHEL 7 "rpm", "yum" comment not found
I have newly installed RHEL 7 and while trying to install some package I got error "yum command not found" and same for rpm as well.
0
votes
1
answer
3k
views
How to download all rpm dependencies independent from platform running
How to download all rpm (not installed) dependencies without rpm itself. Independent from platform running - download dependency if its installed anyway.
0
votes
0
answers
102
views
I'm using downloadonly for another box. How can I configure repos for a different OS?
I have a standalone RHEL7 box and a networked Debian box with yum installed. I'm trying to use downloadonly in yum to download RPMs for the RHEL7 box.
I used:
sudo apt-get install yum
yum install ...
0
votes
1
answer
161
views
Installing MEAD Dependency error
I am trying to install a program called MEAD.
When doing
sudo yum localinstall mead-2.2.9-12.1.x86_64.rpm
I get this:
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: ...
2
votes
1
answer
2k
views
Fix broken rpm on CentOS
I get the following error when I type rpm:
rpm: error while loading shared libraries: librpm-4.3.so: cannot open shared object file: No such file or directory
How could this library have gone ...
2
votes
1
answer
2k
views
Downgrade tomcat 8.5.16 to tomcat 8.0.46 in AWS AMI
due to incompatibility (cookies related) I would like to downgrade tomcat 8.5.16 to tomcat 8.0.46 in my AWS AMI. Amazon just automatically updated it in the past day.
I tried the following but ...
8
votes
1
answer
14k
views
Explanation of the contents inside folder /etc/yum.repos.d
I am very new to Linux and Centos in general. Can someone please give me an overview in simple language of what are the contents inside yum.repos.d and how does it differ from the contents inside /etc/...
0
votes
1
answer
952
views
CentOS - Yum not installing postfix - No obvious errors
When trying to install PostFIX on CentOS 7 using yum:
yum install postfix
It provides the following feedback and is not installed:
Loaded plugins: fastestmirror, universal-hooks
Loading mirror ...
0
votes
1
answer
904
views
is there a way to query a local rpm for information, like in yum info?
I'd like to issue a command to query information about a local rpm package. Something like this:
yum localinfo mylocalrpmpackage.rpm
yum info just queries information about remote packages.
Is ...
1
vote
1
answer
90
views
Fedora: Launch graphical installation of package
I am creating a graphical application that in the first run checks if all needed software is installed (please, don't answer about deb/rpm dependencies). The own application (in Python) detects if the ...
1
vote
1
answer
5k
views
Install specific version of gcc on Centos 6.8
How can I install gcc-4.8.4 version on Centos 6.8? I've already checked several sources like How to Install gcc 4.7.x/4.8.x on CentOS, but the suggested solutions work by installing some specific ...
3
votes
1
answer
903
views
What is the last part of rpm package release field?
Example 1:
using yum info vim-enhanced I get this:
Name : vim-enhanced
Arch : x86_64
Epoch : 2
Version : 7.4.629
Release : 5.el6_8.1
Size : 2.2 M
Repo : ...
11
votes
1
answer
22k
views
Get freshest metadata in dnf on Fedora
I noticed that when I clean dnf's metadata and then run dnf upgrade to fetch new metadata and check for upgradeable packages multiple times, it tends to often download different amounts of data which ...
2
votes
1
answer
1k
views
How to check what package was updated using yum history?
OK let's do a little experiment:
on a fresh installed CentOS, when I type yum history list, output is:
[user@machine ~]# yum history list
Loaded plugins: security
ID | Login user | Date ...
2
votes
2
answers
4k
views
GPG Key import error on yum / dnf / fedup upgrade
I'm trying to upgrade my system from Fedora 24 to Fedora 25 using fedup (actually a shortcut to dnf system-upgrade). It fails with some warning about a GPG key.
It offers me to import it, but it ...
0
votes
2
answers
8k
views
How do I tell yum not to remove itself?
When I run this command
$ sudo yum erase git make gcc g++ zlib1g-dev libssl-dev wget subversion file python apt-utils binfmt-support vim apt-file xz-utils sudo subversion zlib1g-dev gawk flex unzip ...
4
votes
2
answers
5k
views
Why does yum updateinfo not show all updates?
I am trying to monitor available updates on a CentOS 7 system. Now I had the impression that yum updateinfo gives exactly that, and sometimes it does, but right now on one machine it says
Updates ...
0
votes
1
answer
3k
views
Relationship between yum, .repo and .rpm?
I am not from System admin background, however due to some reasons I need to perform some tasks as described below:
I need to install some packages in RHEL in 4-5 nodes, using "yum" in RHEL 7.x OS. ...
2
votes
2
answers
2k
views
Centos7 yum security plugin questions
I feel yum security plugin is not working as claimed here
For example, I know there is an outstanding CVE to openssl on my system
yum changelog 2017-01 openssl
Listing changelogs since 2017-01-06
...
0
votes
1
answer
25
views
Are there authorization plugin support for RPMs?
I'd like to restrict running some RPMs based on additional rules (on top of GPG). Is there a way to create a Authorization plugin for RPMs in CentOS 7+?
0
votes
0
answers
952
views
Centos 7 - yum doesn't work
We have a server which is configured to update every 15 days. Ever since the recent update, we faced that yum is not able to update. This is the error when yum command is entered.
There was a ...
1
vote
1
answer
793
views
Error in `sudo yum -y update`
I am getting following error while updating my amazon EC2 instance.
Transaction check error:
file /usr/bin/pyrsa-decrypt conflicts between attempted installs of python2-rsa-3.4.1-1.el6.noarch and ...
2
votes
1
answer
2k
views
What does "from updates excluded (updateinfo)" mean on "yum check-update --security"
I've got an CentOS 7.3 installation running with automated security updates. Sometimes i check if there are available security updates. I noticed that many updates are excluded.
The function i ran is ...
10
votes
2
answers
36k
views
Determining Yum repo URL
If I add a new repo file under /etc/yum.repo.d/ folder. How can I gather all the URL which yum update will go out to fetch updates.
I am asking this because I have a server behind a firewall, which ...
2
votes
1
answer
5k
views
YUM Commands getting critical error in Linux Redhat
Every time I run the yum command in Linux Redhat I get this error message:
CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf
I don't have any files regarding yum in ...
3
votes
1
answer
6k
views
Using epel in RHEL 7 behind proxy
I am running Red Hat Enterprise Linux Server 7, and I am having some problems getting the Extra Packages for Enterprise Linux (epel) repo to behave (ultimately I want to install XFCE). I think I have ...
1
vote
1
answer
2k
views
Unable to run any yum command on Redhat 7
I have a new Red Hat Enterprise Linux Server release 7.3, I am trying to install Ambari Server on this machine by following the steps in the link
http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0....
1
vote
2
answers
9k
views
How do I stop DeprecationWarning for Python 2.6?
I have to run this command daily in a cron to refresh certifications.
# /root/certbot-auto renew --quiet
/root/.local/share/letsencrypt/lib/python2.6/site-packages/cryptography/__init__.py:26: ...
1
vote
1
answer
94
views
Can I make yum only install the versions of packages that would have come from a particular CentOS release's media?
I'm trying to create a Docker image that mimics the environment from an old CentOS release (e.g. CentOS 6.3), as it would have been installed from the installation media only (with no updates); the ...
2
votes
2
answers
3k
views
How to get real time output of script, written in %post section of RPM .spec file?
Good day. Problem:
In a %post install section of RPM spec file can be a script.
I want to put there a script with a realtime output, like progress bar for post-installation process. But all output ...