0
votes
0answers
11 views

rpm/yum: require minimum version of optional package

I have two packages, python-modules and python-modules-foo. python-modules-foo does not require python-modules to be installed, but if python-modules is installed, it must be at least version X. In ...
0
votes
2answers
27 views

Format “yum provides” output

I am writing a little program that packages configuration files as rpm, and it puts a series of %triggers to handle installation/upgrade of the packages that bring a copy/version of the same file. I ...
0
votes
0answers
7 views

How to get yum to see rpms I have placed into cache?

I have been creating Fedora installations on virtual box for various purposes. It is a pain to download the same packages again and again, so I made the cache persistent in one installation. Now I ...
0
votes
0answers
167 views

package-cleanup --cleandupes fails to remove duplicates

i have an issue with duplicate packages installed on my fedora machine # package-cleanup --dupes Loaded plugins: langpacks, refresh-packagekit audit-2.3.3-1.fc20.x86_64 audit-2.3.2-1.fc20.x86_64 ...
0
votes
0answers
64 views

Yum does not resolve depencies after a rpm -ivh installation

i use AWS EC2 instances. i wanted to setup a package versioned at 5.4.0 but the latest that yum search all --enablerepo epel offered was 5.0.0. i hence did wget and configure && make ...
1
vote
1answer
117 views

Accidentally deleted a module needed by yum - how to reinstall it?

I have a problem when trying to update yum. It gives me an error: After running yum update There was a problem importing one of the Python modules required to run yum. The error leading to this ...
0
votes
0answers
72 views

YUM and RPM crash due to the liblua-5.1 library being missing

I've been playing around with a LiveUsb install of basic Fedora with persistence. I attempted to install moonscript, which requires Lua and LuaRocks. After installing Lua and discovering there were ...
0
votes
1answer
211 views

YUM crashed due to library missing

I tried to remove stock Lua and build my own one, so I tried: yum remove lua But too many dependencies on the package and it does not allow me to remove it so I used rpm instead: rpm -r --nodeps ...
0
votes
1answer
629 views

How to download yum packages on windows (or online in browser)

I am newbie to linux and just started using it at home, but I don't have internet connection at home, and in office I have good internet but using windows, I just want to download yum packages on my ...
1
vote
3answers
4k views

How to downgrade a kernel?

I need to downgrade the kernel from 2.6.32-358.6.2.el6.centos.plus.x86_64 to 2.6.32-220.el6.x86_64 I am unable to install the older version using Yum/rpm as it gives the following error ...
0
votes
1answer
225 views

Is there anyway to create RPM so that yum will allow two versions of the same package?

I'm creating two versions of an RPM and I want yum to keep the old versions when installing the new one. There is no conflicting files. Is this at possible?
1
vote
1answer
593 views

Why can't yum find inconsolata-fonts package available for install?

On CentOS v6.3 when I type: yum update followed by: yum search inconsolata-fonts or: yum search inconsolata I get no results. However a Google search indicates that a package called ...
3
votes
1answer
270 views

What's the rpm/yum equivalent of `aptitude why`?

On .deb managed systems one can use $ aptitude why <package> to find out what installed package required the installation of <package> for example: $ aptitude why python i xdiagnose ...
0
votes
2answers
138 views

yum: enable a disabled repository

I've found out I can use yum --enablerepo= to temporarily enable a disabled Yum repository, but I want to permanently enable a repository. Is there a preferred Yum command to enable a disabled ...
4
votes
1answer
5k views

How to completely uninstall a package (including all extra files that came with it) using yum (or rpm)?

When I do yum remove, it sometimes keeps a package's configuration files. Is there anyway to remove a package completely, without keeping any file that belonged to the package? I am running CentOS.
0
votes
1answer
78 views

Is there Gentoo's “world” set analogue for rpm-based distributions?

I want to maintain my Fedora distribution clean and tidy. So, I always want to have installed only required packages. The necessity of a top packages is determined by me and some minimal system set. ...
0
votes
1answer
150 views

centos and fontpackages-filesystem

How do I go about installing fontpackages-filesystem onto centos? Getting the error: Missing Dependency: fontpackages-filesystem >= 1.13 is needed by package ...
1
vote
0answers
81 views

Centos5: Custom comps.xml documentation/options?

I've got an app that I've packaged into rpms along with some of its dependencies. I'd like to be able to have it accessible as a group for easy install/uninstall. However, there's not too many ...
2
votes
1answer
167 views

Yum: What defines the repo a package gets pulled from if the same package is contained in multiple repos?

On any given box that has subscriptions to multiple repos yum list available --showduplicates foo gives me: foo.x86_64 0.0.1-1 dev-repo foo.x86_64 0.0.1-1 test-repo What is the logic ...
1
vote
1answer
140 views

yum to treat a package installed by hand as installed through it

I've built Emacs 24 and installed it on my FC-17, but if I try to install any package that requires Emacs (such as Pymacs, ECB and so on), all of them will try to install Emacs 23. I think that my ...
0
votes
1answer
220 views

What tool does yum use to download rpm packages from remote server?

My system is centos, and now I am installing packages using yum command. Updating for dependencies: apr-util i386 1.3.9-1.el5 lxcenter-updates 203 k gcc-gfortran ...
2
votes
2answers
340 views

Upgrading Node.JS from tarball of binares when yum-installed version already exists

On CentOS 6.3 64-bit, I've installed Node.JS version 0.6.18 using yum. I have an application that requires Node.JS v0.8.x. The currently stable version of Node.JS available is 0.8.7, which is ...
1
vote
2answers
200 views

What comes after the underscore in an RPM version string?

I'm getting dependency conflicts when trying to run a simple yum update. I notice that in some cases, it's looking for a package called foo w.x-y.z.el6 while the repo only has foo w.x-y.z.el6_a.b, ...
0
votes
1answer
4k views

Steps to install PHP 5.4.3 from rpm and yum?

I got a link saying following steps of installation of PHP 5.4.3. rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm yum install php54w Can i use above method safely? Or any other rpm that i ...
2
votes
1answer
240 views

yum/RPM depend on generic package (like “provides” in other package managers)

I'm trying to figure out how to make a package of mine depend on anything that provides "java", but I'm not sure what to even look up. Apparently "yum provides" is a command for finding out which ...
0
votes
2answers
628 views

RHEL 5 Yum Repository from DVD

I have a Red Hat 5 system installed from a Official DVD. At times, I need to install packages from the DVD at a later stage. Whenever I need to do that, I have install RPMs one at a time through a ...
0
votes
2answers
1k views

Fedora 16 is not retrieving the mirror list

I have Fedora 16 installed. It gives me some errors/warnings when updating, and installing software through yum. Could not retrieve mirrorlist ...
0
votes
1answer
493 views

where to download yum-utils-1.1.16-21.el5.noarch.rpm?

I am trying to install yum-utils package,yum-utils-1.1.16-21.el5.noarch.rpm, for RedHat linux. However, I could not find where to download it form. Anyone has any idea ? Thanks
4
votes
1answer
4k views

Where does yum save the rpm's it downloads?

Is there a temporary folder I can find the RPM's that yum downloads to install programs? During an installation yum shows the exact name of the RPM file but I don't know how to find it. How can I ...
19
votes
6answers
19k views

Install gcc 4.7 on CentOS

What would be the easiest way to install gcc 4.7 on a system with CentOS 6.2 ? The refault rpm package contains an older version of gcc.
1
vote
1answer
155 views

How can Yum tell me the version of depencencies?

I've installed a package with Yum (Varnish 3.0.2). However, a feature I need has been removed so I need to roll back. According to the documentation, the feature was removed in 3.0-Beta, so I wanted ...
1
vote
1answer
89 views

How to know the version of RPM during installation

I have created a script for deployment using YUM and RPM. During the pre script, is it possible to know whats the version of the rpm I am deploying. I want to create a backup file with the version ...
2
votes
4answers
741 views

Yum : searching for a package with binary name

Is there a way to search a package using the binary name. for example I want to find rpm package for command "ls" then it should be coreutils-6.9-10.4.i586 for example.
6
votes
4answers
9k views

How do I get yum to see updates to a local repo without cleaning cache?

I have set up a local yum repository which I use to install test builds. For the testing purposes, my packages are versioned by <svn version number>.<date>.<time> (e.g. ...
0
votes
3answers
2k views

Amazon Linux AMI release 2010.11.1 corresponds to which RHEL version (4/5/6)?

I am using the default Amazon Linux AMI in an EC2 instance - Amazon Linux AMI release 2010.11.1. I can see that it's a Redhat based system, but after trying many tools (/etc/issues, uname -a, ...
14
votes
2answers
16k views

How to get list of dependencies of non-installed RPM package?

apt-cache show <package> shows also it's dependencies. yum info <package> does not show dependencies, but it obviously know them. How to ask yum for dependencies of specified package?
10
votes
2answers
14k views

How do I downgrade packages easily with Yum?

Apparently, Fedora's yum has the ability to downgrade. I find this useful because abhorrently they feel they need to break NetworkManager on a stable upgrade. In multiple ways. How do I downgrade ...
1
vote
1answer
339 views

What are the advantages of a group package in yum over an rpm that depends on everything else?

On our local repository, we'd like to create a "product" install that includes all of our packages. The two ways that seem possible to do this is do create a "blank" package called 'product' that ...
1
vote
1answer
707 views

View Configuration File Changes With RPM or Yum

How do I view the changes made to package configuration files (installed using rpm/yum)? I created a FreeRadius server that does MAC Authentication, and I just want to get the lines that I have ...
0
votes
2answers
1k views

Fedora 12 update dependency problems with firefox

I'm trying to update my system which is usually a fairly routine thing. However, today, I ran update, it installed everything, and thunderbird segfaulted on launch. Bemused, I downgraded it. It ...
0
votes
2answers
318 views

rpm installation error

I'm trying to install an RPM compat-db-4.1.25-9 on oracle linux enterprise, since it's required to install WebCenter...however the rpm installation is throwing a warning and then not working ...
39
votes
2answers
23k views

What is the difference between yum, apt-get, rpm, ./configure && make install

I am new to Linux and am running CentOs. When I want to update or install certain software I came across three ways. Sometimes it's: yum install program apt-get install program rpm -i program.rpm ...
1
vote
1answer
1k views

How To install [lshw] command on XenServer 5.5?

I have to collect hardware information from my hardware, especially the Hard Disk. So I need to use the Linux command-line lshw in order to have what I want.
1
vote
2answers
997 views

How does yum dependency resolution work?

If multiple packages satisfy a dependency for a package being installed, how does yum choose which one to automatically install? Can I force it to let me pick?