Questions tagged [yum]

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

yum is an interactive, rpm based, package manager. It can automatically perform system updates, including dependency analysis and obsolete processing based on "repository" metadata. It can also perform installation of new packages, removal of old packages and perform queries on the installed and/or available packages among many other commands/services (see below). yum is similar to other high level package managers like apt-get and smart.

1628 questions
34
votes
4 answers

After yum update is it a good idea to restart the server?

I'm aware that it is good to run yum update from time to time to keep my Centos server updated, and I even see that there is way to automate this update. My question is, is it necessary to restart the server after the update? Is it a good idea?…
Phil
  • 503
24
votes
2 answers

with yum how can you remove a package but not remove its dependencies at the same time?

Today if I do $ yum remove packageA I am greeted with: Removing: packageA noarch 3.5.1.b37-15 @yumFS 293 k Removing for dependencies: packageB …
rogerdpack
  • 1,715
22
votes
4 answers

Duplicating a Yum-based Linux installation

Given an installation based on Yum (specifically in my case, a Scientific Linux 5.1 x86_64 installation), how would I duplicate the installed programs and utilities to a new machine based on Fedora Core x86_64? The hardware is very similar but not…
16
votes
6 answers

How to use SOCKS proxy with yum?

The man page to yum.conf describes several proxy related variables: proxy URL to the proxy server that yum should use. proxy_username username to use for proxy proxy_password password for this proxy But how to…
maxschlepzig
  • 57,532
12
votes
3 answers

yum install package without updating other packages or fail...?

Is there a way to tell yum to install a package, selecting a version of that package that would be satisfied by currently installed dependencies? For example, if I'm installing a pecl package and I currently have installed php-5.4.11 but a newer…
12
votes
0 answers

So, what do I do with the output of yum check?

When I run yum check (or try to use yum to update my system generally), I get the following: # yum check Loaded plugins: langpacks, presto, priorities, refresh-packagekit krb5-devel-1.10.2-12.fc17.x86_64 has missing requires of…
Marcin
  • 457
  • 2
  • 5
  • 13
10
votes
2 answers

How can I instruct yum to install a specifc version of OpenJDK

I'm trying to install 1:1.7.0.65-2.5.1.2.el6_5 version of OpenJDK by following this stackexchange answer, but I'm not able to specify the exact version number like yum install java-1.7.0-openjdk-devel-1:1.7.0.65-2.5.1.2.el6_5 yum says package not…
coderplus
  • 201
10
votes
3 answers

Can I automate y/N responses while installing with yum?

When I run installs in Fedora with say yum groupinstall "Development Tools", I am sometimes prompted to hit y/N. Can I tell the OS to automatically choose "y" when such prompts occur? That would let me leave my computer for a while and come back.
9
votes
2 answers

Yum update shows "Killed"

When I update my RHEL with yum update commend, it list all update packages, and after I hit Y for yes, got following response. Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction …
Kumar
  • 903
9
votes
1 answer

How to yum remove Python gracefully?

I just tried to upgrade the Python installation on my CentOS machine. After few times of failure, I did yum remove python. Then problems started to happen. yum found about 300 dependencies on the machine, after I confirmed the operation, almost…
shihpeng
  • 233
8
votes
4 answers

How to install iftop?

I tried: root@host [/home]# yum install iftop Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: centos.mirrors.tds.net * extras: yum.singlehop.com * updates: mirror.wiredtree.com Setting up Install…
user4951
  • 10,519
7
votes
2 answers

yum get rid of "unfinished transactions remaining"

yum xxx ... There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. I don't want to finish the transaction, how do I just nuke it? Running yum clean all doesn't do it. Running…
rogerdpack
  • 1,715
7
votes
3 answers

Trying to enable EPEL on Centos 6 and it won't show in repolist

When I run yum repolist, I don't see EPEL listed. # yum repolist Loaded plugins: downloadonly, fastestmirror, protectbase, refresh-packagekit, : security Loading mirror speeds from cached hostfile * base: centos.mia.host-engine.com …
101010
  • 763
7
votes
3 answers

How to only allow exact package updates from a repository?

If I have: [usern@hostn yum.repos.d]$ cat google-chrome.repo [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386 enabled=1 gpgcheck=1 ...how can I ensure that there will not be incidents like (just theory):…
LanceBaynes
  • 40,135
  • 97
  • 255
  • 351
7
votes
3 answers

How to reinstall yum?

I made a big mistake: I removed yum. So now when I for example run the following it gives me an error: $ yum clean all yum command not found. I can download the package succesfully: wget…
az93
  • 857
1
2 3 4 5 6