Questions tagged [yum]

YUM is an open-source command-line package-management utility for RPM-compatible Linux operating systems.

The Yellowdog Updater, Modified (YUM) is an open-source command-line package-management utility for RPM-compatible Linux operating systems and has been released under the GNU General Public License. Though yum has a command-line interface, several other tools provide graphical user interfaces to yum functionality.

1465 questions
12
votes
1 answer

How to undo "yum remove python"

I have a Centos 6 based VPS with an ssh connection. Recently wanting to install python 2.7.2, I bravely ran: yum remove python which apparently removed yum itself being written or depends on python. Now I don't know what to do and to make matters…
Rabih Kodeih
  • 261
  • 2
  • 3
  • 9
12
votes
4 answers

Best way to clean up Yum repository?

We have a custom Yum repo that our developers upload builds to. The problem is that after some time it becomes cluttered with old versions. Removing the old versions manually is quite annoying, so before we try to automate it ourselves, I wonder if…
SyRenity
  • 3,179
  • 11
  • 57
  • 79
12
votes
8 answers

How to clean up mysql installation on centos

mysql does not exist anymore but when i run yum remove mysql it says that the package is available but not marked for installation, i cannot install new mysql because of that, I need to completely delete everything related to it before installing…
user
  • 849
  • 3
  • 13
  • 18
11
votes
3 answers

Confirming that yum-cron is configured properly on a CentOS 7 server

Is there any way to test whether yum-cron is configured properly? I need to confirm that it will automatically install security patches and that it will email me when it does so. I have a CentOS 7 web server with yum-cron installed. It's been…
user369066
  • 111
  • 1
  • 1
  • 3
11
votes
2 answers

Redhat 7 desktop to workstation

I installed a RedHat out of an installation cd, registered my entitlements, all that stuff. As part of my subscriptions I have both Red Hat Enterprise Linux Workstation and Red Hat Enterprise Linux Desktop. (plus a tons other) My problem is…
11
votes
4 answers

Best practice for automated Linux updates

We are working on a way to perform automatic updates for our RHEL/RHEL-based servers. Initial idea: Using Puppet, we disable the default repositories and point to our own. Then, we use ensure => latest for the packages we want to automatically…
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
11
votes
3 answers

How to install package with yum without updating repository information?

I want to install some packages from repository but always when I'm trying to yum install packagename yum updates db: Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit Determining fastest mirrors updates/metalink …
Clark
  • 347
  • 2
  • 5
  • 13
11
votes
3 answers

How do I browse CentOS packages?

I have been using Debian for some time but am brand new to CentOS. How can I browse CentOS packages in a web browser like I do at packages.debian.org? If there is no such website, can someone give me a quick command line of how to look up a packages…
Tom
10
votes
2 answers

How does yum with Red Hat Network Subscription work inside the rhel Docker images?

Red Hat Enterprise Linux 7 includes official support for running Docker containers, and Red Hat offer a set of official rhel Docker images. An interesting feature of these images is that packages can be installed via the host's Red Hat Network…
Leynos
  • 216
  • 2
  • 5
10
votes
7 answers

grubby fatal error: unable to find a suitable template

I'm trying to fix my system after moving it from one server to another. It works perfectly with kernel booted via network, but not from the disk. Reinstalling stock CentOS 6.6 kernel shows this error: grubby fatal error: unable to find a suitable…
Marek Zakrzewski
  • 163
  • 1
  • 2
  • 11
10
votes
1 answer

Why does yum index get corrupted?

Occasionally yum's cache gets corrupted and we see errors like this: error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30974) error: cannot open…
TomOnTime
  • 7,945
  • 6
  • 32
  • 52
10
votes
2 answers

Can you force yum to ignore an exclude list?

We are using a custom repository with RHEL 5.x. We were running into a ton of issues and conflicts when trying to run an update (issues with yum 32bit packages conflicting with x64 packages). To get around this, I added exclude=*.i386 to…
Matthew
  • 2,737
  • 8
  • 35
  • 51
10
votes
3 answers

How do I keep Centos at version 6.3?

I have the following: Bunch of guest VM's that are running Centos 6.3 Host running Centos 6.3. Recently I created a new Centos 6.3 VM to test out something Ran yum update after a fresh install of a minimal server Noticed Centos is now at 6.4 I…
Adrian Torrie
  • 253
  • 1
  • 3
  • 11
10
votes
5 answers

"yum clean" hangs - what to try next?

I run a number of CentOS servers. I was recently doing the occasional yum update but this failed on a handful of the servers. On most I have been able to move forward by doing: # yum clean all # rm -f /var/lib/rpm/__db* # rpm --rebuilddb # yum…
Hamish Downer
  • 9,420
  • 6
  • 38
  • 51
10
votes
4 answers

Enabling apt-get on a default Amazon EC2 instance which has yum installed

I'd like to call something like: sudo yum install apt to enable me to use apt-get as well as yum for installation. However this doesn't work. I get the following back: Loaded plugins: fastestmirror, priorities, security, update-motd Loading mirror…
Gaurav Sharma
  • 201
  • 1
  • 2
  • 4