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

learn more… | top users | synonyms

2
votes
2answers
439 views

automating CentOS 7 configuration using shell scripts

I notice I spend a lot of time using tutorials to manually configure a CentOS 7 server. How can I convert the manual steps from a tutorial into an automated shell script that can be used to configure ...
2
votes
2answers
225 views

Find last time yum update was run

Am building a script to find out when a list of servers was last fully updated with yum update. I can find it by a history |grep "yum update"|head -n 1 however, the problem is that a user could have ...
2
votes
1answer
21 views

Yum always lists some packages

Whenever I use yum to install something it lists the same packages like this: Loaded plugins: langpacks, refresh-packagekit adobe-linux-x86_64 ...
2
votes
3answers
148 views

How to list packages with files in a particular directory?

I'm switching to CentOS from another distribution, and I'm not used to working with yum. I'd like to know if there's a way to know which installed packages have files in a directory. For example I'd ...
2
votes
2answers
4k views

What is the correct way to resolve this rpm conflict? (Error: p11-kit-trust conflicts with nss-3.13.3-6.el6.x86_64)

It has been a while since I updated one of my RHEL6 machines (except for the occasional update of specific packages with known vulnerabilities). As a result of this, I have an old ca-certificates ...
2
votes
2answers
2k views

Cannot run JD-GUI with 64-bit shared libraries, needs 32-bit libraries

I was trying to use JD-GUI, a free Java decompiler program, on my Fedora 20 laptop today, but I was running into an error when trying to execute the program. $ ...
2
votes
1answer
9k views

yum - No package httpd available (new VPS)

So I have a new VPS that only has the bare bones. Not what I was expecting at all and I may be well past my depth but I'm trying to get the essentials running. The host is Swedish and aggressively ...
2
votes
1answer
233 views

What YUM is doing after completing process

For instance when we executed yum update yum localinstall xyz at the end of process when it shows Complete! and when we execute the next any yum command still it shows Another app is currently ...
2
votes
1answer
652 views

YUM: How to prevent EPEL from upgrading packages installed from other repos?

I would like to leave EPEL enabled and configure it to allow updating only the packages that were installed from EPEL itself in the first place (packages which were manually installed from EPEL ...
2
votes
1answer
1k views

How does “groupinstall” work ? ( How to convert a group-install to a regular multi yum install <package> -y ? )

I would like data on how to replicate the same exact outcome for yum groupinstall "Printing client" without running that command but rather run yum install <package> -y perhaps multiple ...
2
votes
1answer
992 views

Yum can find a package, but can not install it

How is it possible? [root@server1 ~]# yum search diy Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can ...
2
votes
1answer
9k views

How to update the version of gcc-c++ on Fedora?

I have version 4.4.4 of gcc installed and would like to update to either a specific version or to the latest version. Here is what I have tried: sudo yum install gcc-c++ this tells me that Package ...
2
votes
2answers
4k views

Ignoring dependencies when installing with yum (Scientific Linux)

How can I ignore dependencies of a single package I am attempting to install using yum in Scientific Linux? The answer would presumably the same for CentOS/RHEL. To elaborate, I am looking to get the ...
2
votes
3answers
13k views

yum does not work on RHEL 6.3

I have installed RHEL 6.3: Linux RHEL6.3-64-BuildMac 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux My /etc/yum.conf looks as follows: [main] ...
2
votes
1answer
1k views

Replace python built with UCS4 with UCS2

I've got fedora fc15 installed with python 2.7.1-7.fc15. It is built with ucs4 and I've got some packages here at work that are built with ucs2. I now cannot build other packages that use these ucs2 ...
2
votes
1answer
5k views

What repositories do I need to install heartbeat and haproxy on RHEL?

So I am now managing two RHEL machines that I need to install haproxy and heartbeat on. When I follow instructions to do so I get the following: [admin@p2378442 ~]$ sudo yum -y install heartbeat ...
2
votes
1answer
39 views

Restart service after yum update?

Today I updated several of our servers using yum. 4 package(s) needed for security, out of 4 available Run "sudo yum update" to apply all updates. Three were openssh updates, one java. Do I need ...
2
votes
1answer
78 views

How do I run a script every time “yum update” is run?

I'd like to run a script (let's say myScript.sh) every time a yum update or yum install command is executed. So if I run yum update someprogram then myScript.sh should be executed right after that. ...
2
votes
2answers
8k views

RHEL6 + Error: xz compression not available

When installing packages via yum on a RHEL Server 6.6 system, I get the following error: $ sudo yum install foo Loaded plugins: product-id, rhnplugin, security, subscription-manager This system is ...
2
votes
2answers
8k views

How to avoid “yum lock” hassle?

I often encounter the "Another app is currently holding the yum lock; waiting for it to exit..." message when trying to install an app and I have to kill yum manually. How can I avoid that? Is there ...
2
votes
1answer
1k views

Yum installation of package specific modules

I was playing around with texlive package recently and found out that there is a way to install tex style packages with yum install 'tex(package.sty)' command. I've never seen package name was ...
2
votes
1answer
3k views

Installing PHP 5.3.3-24 on CentOS 6.5 (Final)

I require a slightly older version of PHP for my server because I need to be able to exploit a CVE (CVE-2006-7243) that was patched in the newer versions. NOTE: This is a legitimate use case where ...
2
votes
2answers
6k views

Downgrade gcc to 4.6.3 on fedora?

How can I downgrade gcc to 4.6.3 on fedora. I am working on a project that I do not have permission to update to be comparable with 4.8 and need to be able to install gcc 4.6.3. How can I do this?
2
votes
2answers
3k views

yum translation of rpm -Uvh

I'm trying to understand what yum version of rpm -Uvh is. I found this question about that command and yum, but it doesn't have what I'm looking for. Looking at --help, would this be the equivalent of ...
2
votes
1answer
672 views

Public key for git-…rpm is not installed

When attempting to install git (and probably other packages), I get this error: $ sudo yum -y install git Installing: git x86_64 1.7.11.3-1.el6.rfx ...
2
votes
2answers
2k views

How do I create an RPM package that would fail a YUM transaction if certain creteria are met

I'm trying to package a product consisting of many packages. I'm successful with writing all the spec files, the dependencies between the packages and so on. They're all installed and work fine. The ...
2
votes
1answer
1k views

Fedora's command-not-found doesn't work

I've recently installed Fedora 19. Packagekit-command-not-found is installed. But its own examples don't work. When I enter gedti the output is: bash: gedti: command not found... Similar command is: ...
2
votes
1answer
388 views

What is the debian equivalent to this repoquery command?

What is the debian equivalent to this repoquery command? repoquery --repofrompath="abc,http://path/to/repo" --repoid=abc -q mypkg --qf ...
2
votes
1answer
1k views

What would be the “apt-cache show” equivalent on RHEL *without* requiring sudo/su?

How can I query the local package cache of yum on RHEL (and derivatives) without requiring superuser privileges? Note: I am not interested in running an update of the package cache up front. All I am ...
2
votes
1answer
6k views

Error during yum update

CentOS 6.3 Recently I've started getting the following error on my CentOS VPS when running yum update: [user@foo1 ~]# yum update Loaded plugins: fastestmirror Loading mirror speeds from cached ...
2
votes
1answer
2k views

How do I force yum to download from a specific mirror?

In a Fedora system, I can access only ftp and not http. When I try to install a package with yum, it usually tries to download from http mirrors. How do I force it to download from a ftp mirror(listed ...
2
votes
3answers
4k views

Remove yum repo using yum

I have no root access on my machine at work, but I have sudo permission to use sudo yum (and only yum). Recently I accidentally installed a faulty repository (dropbox), and now I'd like to remove it. ...
2
votes
3answers
17k views

“Couldn't resolve host” when installing/updating yum packages

Whenever I try to install or update a package using yum, after it updates its DB these messages are shown: Loaded plugins: langpacks, presto, refresh-packagekit, tidy-cache google64 ...
2
votes
2answers
2k views

VMware Tools repo

I maintain a local repository for all the installation packages. I'm attempting to use reposync (the first time, I generally use rsync to mirror what I need) and I'm getting some odd behavior. Any ...
2
votes
1answer
1k views

Auto-update on Scientific-linux 6.1 64bit

yum remove PackageKit* what's next? I tried: yum install yum-autoupdate but I can't see any config file for it. How can I set the auto-update function* on Scientific-linux 6.1/GNOME? *want to ...
2
votes
1answer
8k views

Where can I find a list of all yum repositories?

Now that I know more about yum from my previous question Where is the best location for finding information on /yum? I need to start playing with some new repositories. Where can I find a list of ...
2
votes
1answer
471 views

How to upgrade Fedora Core 3?

I want to upgrade from fedora core 3 to latest release without using a cd. I have internet connection. Is it possible to use yum to upgrade the OS entirely to the latest version? At present there ...
2
votes
1answer
1k views

Are there any repositories for Fedora 3?

Is there any alive repository for my Fedora Core 3 Linux? (I want to use the yum command but one error comes and tells that base url is not valid) Any help to find any alive repository is very much ...
2
votes
2answers
543 views

Augeas not reading all yum.repos.d files. Why?

I'm trying to use Augeas to manage some options in yum.repos.d but it's not reading all repo files in there. Any hint? # ls -l /etc/yum.repos.d/ total 24 -rw-r--r-- 1 root root 200 Nov 10 15:50 ...
2
votes
1answer
732 views

Why are updates pushed to Fedora's updates-testing repos initially invisible?

I follow various bugs on Red Hat Bugzilla, and I just received a notification from the Fedora Update System that a new package was available for testing that supposedly fixes a bug I was interested ...
2
votes
2answers
133 views

How to use yum to get all RPMs required, for offline use?

I have one server with net connectivity, where I can use "yum install $PACKAGE". I want some yum command, like yum cache-rpms $PACKAGE $DIRECTORY such that all required RPM files will be downloaded to ...
2
votes
1answer
40 views

Can I move 0yum-cron from cron.daily to montly?

I installed the yum-cron package, configured too only check for updates and then mail me. But, doing this daily, seems a bit too much. I would like to do this monthly. The file is located in ...
2
votes
3answers
2k views

How do you update the YUM package manager repositories?

I have a new install of Red Hat and I'm trying to do a "yum install tmux" but it is throwing a no package available error: [root@PSCHQVP20017 ~]# yum install tmux Loaded plugins: product-id, ...
2
votes
2answers
2k views

yum install: “No package <package-name> available”: fedora.repo empty

I am using Fedora 17 and I cannot install packages using yum. I get this error: [root@cousinot ~]# yum install fedup Loaded plugins: langpacks, presto, refresh-packagekit medInria ...
2
votes
1answer
116 views

how to find which repo does one rpm package belong to

How to know which repo does one rpm package belong to? I searched the yum manual, and I didn't find the option. And it is useless to use yum list installed.
2
votes
1answer
81 views

A zypper cmd for querying repository versions of a package

I am building a personal, local repository to store all the versions of packages i want. I have used createRepo to create the reop, populated its dir with rpms, created the necessary directory summary ...
2
votes
2answers
396 views

How to Fix Accidental Deletion of librpm.so.3

I was dealing with a series of duplicates in my Fedora 20 installation, and was deleting them 10 at a time. It seems however that I've deleted librpm.so.3 and now I get the following message with ...
2
votes
1answer
115 views

make RPM recognize dependency built from source

I am trying to emulate an enviroment that has centos5 and tomcat6 (for some reason), which is a problem because there are no RPMs for tomcat6 which are compatible with centos5 available to me. I do ...
2
votes
1answer
3k views

Can't install “libdvdcss” with yum anymore after update on “Fedora 20 Heisenburg”

I couldn't update my system today, because of dependency problems with libdvdcss, I removed libdvdcss and it's dependency libdvdcss2. Update was successfull after that but now I can't install ...
2
votes
1answer
1k views

How to install Node.js in CentOS 5.10 with Python 2.4?

I want to use Grunt on websites we have hosted on our WHM dedicated server. It is running CENTOS 5.10 x86_64 standard with WHM 11.42.1 (build 21). It is critical that things do not break, as we have ...