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
9
votes
4 answers

How to upgrade Apache from 2.2.3 to 2.2.21

Using YUM I installed apache. Installed apache version is 2.2.3 Our security guy wants that we use 2.2.21 apache When I try yum update 'httpd' nothing happens - No Packages marked for Update I checked Apache home page…
user1124133
  • 169
  • 1
  • 3
  • 8
8
votes
1 answer

Why does Amazon Linux 2 have older version of wget vs. Amazon Linux 1?

We noticed that wget on Amazon Linux 2 is v1.14, but on the older version of Amazon Linux, it was v1.18. Any idea why this would be? I'm fairly certain we installed from yum in both cases. Is there a way to get yum to install a more modern wget…
8
votes
3 answers

Difference between rpm -ivh and yum install

Supposing that I am going to install a package, what's the difference between these two commands: rpm -ivh and yum install same question for example with rpm -Uvh and yum update (for updating issue)
h_h10a
  • 217
  • 2
  • 7
8
votes
2 answers

Install sqlite latest version on Centos6.7

I'm trying to install the latests versions of sqlite (> 3.7.5) under Centos 6.7. So when I launch install command : yum install sqlite I get the following Message : Package sqlite-3.6.20-1.el6_7.2.x86_64 already installed and latest version …
Zakaria Acharki
  • 183
  • 1
  • 1
  • 8
8
votes
2 answers

yum updates - are .rpmnew files ever critical / important to act upon?

When yum installs updates sometimes, it will give some message like: warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew My thought is that it would be wise to act upon these because perhaps occasionally there's some tweak to a…
sa289
  • 1,318
  • 2
  • 18
  • 44
8
votes
2 answers

RHEL/CentOS - Is it possible to update packages only up to a certain release date?

Technically speaking, if one wanted to update a RHEL or CentOS server using yum, but only up to a certain release date (i.e. don't install any updates released after X date), would it be possible and if so, how? So far, the only way I can think of…
Yanick Girouard
  • 2,385
  • 1
  • 18
  • 19
8
votes
1 answer

Enable the EPEL repository on AWS Elastic Beanstalk

I need to install some tools from the Extra Packages for Enterprise Linux repository (EPEL) that are not available in the default repositories of the Amazon Linux AMI. /etc/yum.repos.d/epel.repo already contains the needed repository, but it is…
lime
  • 181
  • 1
  • 3
8
votes
3 answers

Do old package versions in CentOS mean that they do not have security fixes?

We asked our admin to update SVN on our CentOS 6.5 server. He did so and the result was SVN 1.6.11. However the current version of SVN is 1.8.9. I know the CentOS yum repository is not always up-to-date. But in that case I am confused: SVN 1.6.x is…
Silicomancer
  • 182
  • 7
8
votes
4 answers

How can I mirror a yum repository but download only the newest versions of each package?

I would like to mirror the following Yum/RPM repositories at http://yum.puppetlabs.com/…
Stefan Lasiewski
  • 23,667
  • 41
  • 132
  • 186
8
votes
2 answers

How can I exclude a package from yum-cron but not from manual "yum upgrade"?

I've just gone through my servers and installed yum-cron (and then enabled with chkconfig yum-cron on since that doesn't seem to happen automatically). Now I realise that I'm running a MongoDB cluster and that automatically upgrading the…
Nic Cottrell
  • 1,302
  • 16
  • 32
8
votes
5 answers

How do I install the main repositories for RHEL6

We've setup RHEL6 on a new server. As far as we can tell, our subscription is all setup properly. However, when I run yum repolist, it doesn't show any repositories. /etc/yum.repos.d/redhat.repo is empty. I tried pasting in the content from another…
eisaacson
  • 525
  • 3
  • 8
  • 20
8
votes
4 answers

Checking yum connectivity from a script?

When there is a problem with access to yum repos (for example if a needed proxy isn't configured), running a command like 'yum update' will wait for a very long time trying lots of different mirrors. Sometimes that is good, but sometimes I would…
kdt
  • 1,400
  • 3
  • 22
  • 34
8
votes
7 answers

Clear OS always showing "Operation too slow. Less than 1 bytes/sec"

Have been trying to install clear os addon but nothing is working as i am facing this error on every mirror in the .repo file. # yum install squid http://mirror2-dallas.clearsdn.com/clearos/core/6/x86_64/repodata/primary.sqlite.bz2: [Errno 12]…
Blue Gene
  • 113
  • 2
  • 2
  • 6
8
votes
3 answers

Howto get yum to install only dependencies for a given pakage?

I am looking for a way to have yum install only dependencies for a given package, something like an --prepare-for-install option so I can take a snapshot of the prepared system and test the rpm setup with different options or rebuilds of the package…
a1an
  • 447
  • 2
  • 7
  • 17
8
votes
2 answers

CentOS - Yum - Specify Mirror

Is it possible to specify a mirror for YUM to target when doing updates? I've noticed on my CentOS 6.2 servers that it takes up to a minute for YUM to respond from a given command. I did some Googling and found that YUM reads from a timedhosts.txt…
Mike Purcell
  • 1,708
  • 7
  • 32
  • 54