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

learn more… | top users | synonyms

2
votes
1answer
1k views

Install MySQL from Bash Script

I'm coding a bash script to automate the process of deploying VPS servers but I'm having some trouble while trying to install MySQL from either aptitude/apt-get or yum, this is what I have so far: if ...
2
votes
1answer
49 views

error using yum in centos 6

my yum command used to work fine , but now , when I try to use it , it gives me an error : file:///home/user/repo/repodata/repomd.xml: [Errno 14] Could not open/read ...
2
votes
1answer
401 views

Can I use yum to manage a “package” installed from source

I am running CentOS 5.5. I need to upgrade some packages to newer versions, unfortunately they're not available. I am stuck building from source. Is there a simple way to use yum to manage ...
2
votes
2answers
442 views

List of installed repositories (yum)

In centos how can I get a list of installed repositories?
2
votes
2answers
1k views

Fedora 15: something weird going on with yum

I am unsuccessfully trying to install some packages in Fedora 15 using yum. Every time I use yum install I get this output: [ziga@ziga-CQ56 ~]$ sudo yum install yum-fastestmirror [sudo] password for ...
2
votes
3answers
62 views

disable YUM mirrorlist checking

I have a machine which is not connected to the internet. I still want to execute some yum commands from time to time. YUM does like to update the mirrorlist every so often, resulting in errors like: ...
2
votes
1answer
59 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
302 views

Why can yum still not update GCC 4.9.0?

GCC 4.9.0 has been released since April 22. However, I can still not update it through the following command: $yum update gcc Why does the yum repository lag so much behind gcc.gnu.org?
2
votes
2answers
2k views

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 ...
2
votes
1answer
85 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
2answers
635 views

Amazon AWS (Amazon AMI) installing OpenVPN

I'm trying to set up OpenVPN on AmazonAWS. I'm pretty new to Linux so I followed a tutorial. I ran yum -y install openvpn and I received a message saying it was successfully installed. The next step ...
2
votes
1answer
458 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
278 views

How to download a file from repo, and install it later w/o internet connection?

Assuming that I want to install a program called leafpad later. Currently the only way to install it is via: yum install leafpad -y but I want to save this and install it later without internet ...
2
votes
1answer
558 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
2answers
2k views

Installing Git Unit

I am trying to install git using my yum command Following is the error log Loaded plugins: product-id, refresh-packagekit, security, subscription-manager Updating certificate-based repositories. ...
2
votes
2answers
282 views

Finding yum equivalents of apt repositories?

I have code to setup an Ubuntu server that relies on apt-get. It has lots of packages as documented on our project wiki, for example these: development environment and the ruby dependencies. However, ...
2
votes
2answers
1k views

Requires: perl(Compress::Raw::Zlib) = 2.052

Im trying to run a yum update but getting stopped by dependencies. I have installed rpmforge el6 which i need for other packages. Error: Package: perl-IO-Compress-2.052-1.el6.rfx.noarch ...
2
votes
1answer
2k views

Meaning of the yum error “Package tuple (…) could not be found in rpmdb”

I just want to install two packages in my Fedora 15 but I am getting some weird error. Command: yum install @development-tools Error: Loaded plugins: langpacks, presto, refresh-packagekit ...
2
votes
1answer
476 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
602 views

How do you add a package (or a mirror?) if the .rpm you're looking for isn't available in your VM build of CentOS?

I have yum and rpm, and I really only know how to install packages using these commands. When I tried to yum install figlet on a new CentOS6 virtual machine it couldn't find it in the mirrors list. I ...
2
votes
1answer
4k 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
2answers
25 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
62 views

Identifying unused repositories in Yum

Is there a way to identify an unused repository in Centos/RHEL? I have quite a few repositories installed on a Centos machine and I'm not sure which ones are actually needed and which ones aren't. ...
2
votes
1answer
549 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
150 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
351 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
2k 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
936 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
2answers
1k 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
8k 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
768 views

Graphical interface to YUM in Fedora 16

What are the options for managing yum software graphically in Fedora 16? and how can they be installed (if they aren't already)?
2
votes
1answer
1k 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
2answers
3k views

Resolve missing package dependencies when trying to install octave

I am trying to install the octave software package on a RHEL 6 Workstation. I have installed the epel-release 6.5 package to enable the EPEL package repository. When I try to install the octave using ...
2
votes
1answer
382 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
2answers
404 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
609 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
3answers
27 views

Centos rpm -qa vs yum list installed

I want to have server b to have exactly the same setup as server a. My plan is to have a list of all installed things on server a and install it by using the list on server b something like : yum ...
2
votes
1answer
69 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 ...
2
votes
1answer
22 views

Query all paths in all packages/repos without installing?

Let's say I want to create a new package that installs a command, i.e. adds a new file to /bin or /usr/bin. But I have yet to name the command. So if I'm to run into conflicts, I want to find out ...
2
votes
1answer
144 views

Can't run yum update

I've been banging my head on the keyboard with this! I'm working on CentOS 6.5 x86_64. Firstly I tried to update php and apache using easy apache. The update failed very quickly so I went on the ...
2
votes
3answers
61 views

Most innocuous package to install to test yum?

I'm trying to test yum is working in CentOS from a local repo. To do this I need a package that: Isn't already installed with standard OS install Is small in size Has few or no dependencies Doesn't ...
2
votes
1answer
164 views

Cannot install BIND dns with yum on Oracle Enterprise Linux 6.1

I am currently using Oracle Enterprise Linux 6.1 to use for Oracle RAC. However I am stuck at installing BIND (DNS Server) at the VM I've set up. I've used the following command: yum install ...
2
votes
1answer
38 views

Yum: assume yes if install size < 1MB

What the title says: I don't want to use --assume-yes option, but I'm fine with small installs (less than 1MB) to be processed without asking. Is there any way how to achieve that? I'm on Fedora 20.
2
votes
2answers
70 views

Does Redhat subscript provide access to yum repositories?

I created an install script on an AWS Redhat instance and i'm not trying to use the same script on a base Redhat install. Nearly every package in my script comes back as "No package..." I've ...
2
votes
1answer
836 views

local yum repository with grouplist not working

I am trying to create a local yum repository with group list for RHEL 6. Packages from DVD are dumped at the following location /var/www/html/rhelisos/ To create the repo, I used the following ...
2
votes
1answer
752 views

How can I fix the issue where Add/Remove Software never asks for my password?

Using CentOS Release 6.4 x86 when I go to **System > Administration > Add/Remove Software*8 and try to add software or refresh the package list, I immediately get the following error: ...
2
votes
1answer
102 views

CentOS 6 - No Updates

I've had a CentOS 6.3 VM set up for some time now, but I'm not seeing any updates when I run yum check-update, or yum list-security. There has to be something (especially with Apache/MySQL!). If I ...
2
votes
1answer
262 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
2answers
92 views

Running a Script as Soon as a Network Interface is Detected as Active

I was just wondering if it was possible to run a script as soon as a test to see if a network interface is up (like a ping or something)? I think it would be pretty awesome to update my yum when I ...
2
votes
1answer
223 views

Obtaining/Packaging RPM dependencies for Fedora/RHEL linux application — no network access

I currently have an RPM file with 2-3 dependencies specified in the 'Requires' section. When this application is installed using yum, it works fine and the dependencies are installed if they are ...