RPM is a package management system intended primarily for Linux distributions.

learn more… | top users | synonyms

0
votes
2answers
5k views

Install older version of GLibc on RHEL

I'm trying to install GCC 4.4 on RHEL6: sudo rpm -ivh /mnt/dvd/Packages/gcc-4.4.3-1.el6.x86_64.rpm. But the problem is that is depends on glibc and glibc-common libraries. When I try to install them ...
2
votes
1answer
90 views

Running a program without the assistance of the system administrator

I have an rpm for a program called KDirStat that I would like to run on a machine where I am not the system administrator. My questions are: Can I install this rpm package without the assistance of ...
1
vote
2answers
9k views

How to install/remove/upgrade .rpm packages on Red Hat?

I am new to linux, and at the university we are using this distribution to mount servers on VM, but I need to install a package that is missing in my virtual machine that is running Red Hat, but how ...
1
vote
1answer
4k views

What means warning: rpmts_HdrFromFdno when installing from rpmfusion?

Installing a media player from rpmfusion (via yum) yields following output: Transaction Summary ================================================================================ Install 3 Packages ...
1
vote
2answers
117 views

SSNiper SSN Scanner support

I work for a major university and we have a policy that requires annual scanning of all computers for social security numbers (SSNs). I started using a utility called SSNiper that was created at UIUC. ...
2
votes
3answers
964 views

How to link Requires to BuildRequires in rpm spec?

Let's say I have such Requires entries: Requires: a Requires: b Requires: c and now I would like to state, that: BuildRequires: <<Requires>> meaning, that for build I require ...
17
votes
3answers
20k views

Remove unused packages

I have installed some rpm package on my Fedora 17. Some packages had a lot of dependencies. I have removed some packages but I forgot remove unused dependencies with yum remove. How can I do that ...
0
votes
3answers
255 views

Why “Linux Generic” use RPM extension in MySQL download page?

I need to install MySQL 5.5 from source in Ubuntu 10.04. So I'm trying to find tar.gz source from here. But when choosing "Linux Generic" from the drop down menu, it is showing an RPM extension I ...
3
votes
3answers
558 views

How to force rpm to check dependencies during upgrade?

We have a current version of our software that has a dependency on MySQL 5.1 and this is specified in the RPM requires. For our new version, we now require MySQL 5.5 and specify this in the RPM ...
1
vote
1answer
929 views

How to install RPM package on Angstrom

I'm using an embedded system with the Angstrom distribution on it. Now i'd like to configure a GPRS-Modem for it. So I downloaded the linux-driver from the homepage of the manufacterer to install it ...
2
votes
4answers
286 views

Any way to register source-built software with rpm/yum database?

When I install a software from its binary package using rpm or yum, I can later query for meta-information (rpm -qi PACKAGE, rpm -ql PACKAGE, ...) and can uninstall it (rpm -e PACKAGE). But with the ...
1
vote
1answer
878 views

Why am I gettting errors about unpackaged files while trying to build an rpm?

Trying to package up wget-1.13.tar.gz into a rpm (I am re-learning this process) and I'm running into these errors when I do a dry run. error: Installed (but unpackaged) file(s) found: /etc/wgetrc ...
0
votes
1answer
718 views

install RPM packages using perl

I'm trying to install RPM package using 'yum' through perl. But, the package is prompting to enter 'Y/N' during the install. How can i do a silent install?
10
votes
4answers
538 views

Why using rpm if there's yum?

As we know yum is a package management system which was built on top of rpm. It's also a command line utility which is a(rudely speaking) broader version of rpm, it resolves many problems(the main is ...
2
votes
2answers
454 views

Turn a bash and php script into a distributable rpm

I'm semi unix knowledgeable and I want to be able to call down an rpm from my server, run it with something like rpm -i , and have access to the script anywhere. The script is a combination awk and ...
1
vote
1answer
185 views

rpm and deb fileformat are blocked by my ISP. How to install software?

I have a very peculiar problem, Just be patient with what I am saying and then see what all suggestion you can give me. I have situation where my ISP has blocked .rpm and .deb files to be downloaded. ...
2
votes
1answer
475 views

How to migrate from CentOS to RHEL?

What packages do I need to install to migrate my CentOS 5.7 server to identical version of RHEL. I have RHN subscription but I don't want to create a fresh install and move files.
2
votes
1answer
456 views

Fedora 16 dependency hell

There's a package libvpx-0.9.7 which is required by empathy application. Now I want to install another application which requires libvpx-1.0... Update is not allowed because some applications depend ...
2
votes
1answer
303 views

Install apache2-mod-mono-2.10

I am trying to install mod-mono for apache so that I can run C# asp.net websites from my server. The project I have is a .net 4 project. When I go into yast and select apache2-mod-mono for install ...
1
vote
1answer
112 views

setting up yum in stripped down linux

I have a box that contains minimal binaries needed to run Scientific Linux. What I want to do is to install additional programs. I could get rpm installed and tried to install yum but resolving those ...
4
votes
1answer
320 views

Prelink warning in output of rpm -Va

I have run the following as root on a RHEL 4 box to get a list of the modified files: rpm -Va The output includes lines such as: prelink: /tmp/#prelink#.60m2Jq: Recorded 2 dependencies, now seeing ...
5
votes
3answers
2k views

When importing a key during a yum installation, where is that key stored?

I'm installing a piece of software for which I had to use a third-party repository. After adding the repository with rpm -Uvh http://[site], I installed with yum install [package]. One of the ...
1
vote
1answer
820 views

Problem in installing Google voice and video plugin for Gmail

I just downloaded Google talk plugin for voice and video (for audio/video chat in gmail). I am using RHEL6. I downloaded the plugin (64 bit, rpm format). While installing it an error comes which ...
2
votes
1answer
250 views

Delta rpms and presto with yum

When you use delta rpm's with presto or without even, do they rely on you having the original rpm on hand, or do they download both the original and the difference between the original and then ...
1
vote
0answers
675 views

How to change metadata on an installed rpm

I need to modify information for an rpm which is already installed. E.g. rpm -qi sip-section-call-1.0.19-1.noarch Name : sip-section-call Relocations: (not relocatable) ...
4
votes
2answers
8k views

CentOS yum repository bad Header V4 RSA/SHA1 signature

I was coping with many problems to get stuck with this one. I have installed yum repository on server (CentOS 5.6) with: createrepo -v -s sha yumrepo/ sha is used due to solution to my earlier ...
0
votes
1answer
873 views

Shell script to merge properties file (sed/awk/comm/diff) for rpm upgrade

We're developing a java product that's installed via rpm. We have a set of config files that a user can edit. These config files are java properties files in the form: com.acme.pkg1.setting=something ...
2
votes
1answer
671 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 ...
1
vote
3answers
1k views

How to make a src.rpm unpack the source to whatever directory I want?

I'm trying to make an rpm that will unpack the source to a custom directory, such as /asdf. When I run it, it always errors out saying "cannot create %sourcedir /usr/src/redhat/SOURCES". Is there ...
2
votes
1answer
1k views

Unpacking kernel-source rpm off-system (OpenSuse)?

I'm using OpenSuse 11.2 from a LiveUSB USB flash/stick, which arguably has not much place on it. I need to get the Linux sources for this version of OpenSuse, as they are needed to build a driver for ...
4
votes
1answer
1k views

rpmbuild error: Symlink points to BuildRoot

In the package that I'm building, there are symbolic links within the Buildroot directory. For instance this: /home/sg/impkg/buildroot/dir1/bin/w_be -> /home/sg/impkg/buildroot/dir2/targ/be ...
1
vote
1answer
3k views

“Linux kernel source code directory” requested in Cisco VPN client install

I'm trying to install Cisco's vpn client, and it requests that I provide the directory containing linux kernel source code. Specifically, it reads: In order to build the VPN kernel module, you ...
1
vote
2answers
1k views

rpm --upgrade not upgrading?

Can someone please help me understand the rpm command. From the rpm man pages: rpm {-U|--upgrade} [install-options] PACKAGE_FILE ... This upgrades or installs the package currently installed to a ...
5
votes
2answers
5k views

How to install packages to a custom location in centos6

I have a shared location, let me call it /tp I want to install all my libraries and packages in this location just like the default install. Reason to do this is: I want all the users in the network ...
0
votes
1answer
233 views

Offline documentation of an RPM spec file or how to retrieve an example

I am taking a Red Hat exam that is offline. I am having issues remembering the syntax for an RPM SPEC file. Can anyone suggest how to retrieve an example or some documentation that should already be ...
3
votes
3answers
3k views

List all RPM packages installed from repo “X”

How can I get a list of all of the RPM packages that have been installed on my system from a particular repo (e.g., "epel")?
2
votes
1answer
360 views

Generic RPM that can install on any os - error: RPM is for a different operating system

How can I make a rpm from a spec file that can be installed on any host? Currently I have a spec file but when installing the rpm on other hosts I get this: package my_software-1.0-1dist is for a ...
3
votes
1answer
1k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't arround anymore so i want to downgrade it again. The stupid thing is a lot of programms rely on glibc at the moment. I still have the 2.4 version on the system ...
4
votes
2answers
2k views

How can I verify that a PGP key is imported into RPM?

One can import a key with: rpm --import /path/to/key But how can you tell later if you have already imported this key? Trying to reimport it will fail with an error and I am trying to avoid this ...
3
votes
3answers
388 views

How to “rpm -i” a package only when an older version does not exist?

I wish to install some RPM packages from a shell script. I want to ensure that each package is indeed installed, but I do not want to update a package that would already have an older version ...
2
votes
1answer
863 views

How to convert binary installer into rpm?

There are times when all you have is binary installer. I hate them because once installed it is quite difficult to uninstall such software, and since my distro (openSUSE 11.4) is rpm-based it is hard ...
5
votes
2answers
6k views

How does createrepo work. How does yum understand parse its files. A conceptual explanation

I am not looking for a how-to on creating a repo (createrepo) or using yum. I want to understand how they work together. I want to know what files yum looks at and why, what those files contain. I ...
4
votes
1answer
345 views

RPM dependencies with localinstall

I need to install an rpm package on a system which has no internet access. So, let's say I already have needed dependencies. How do I install them only by running the main rpm package? Do they need to ...
2
votes
1answer
207 views

rpm content compress

My default kernel rpm has 12mb size, for some reasons I compile a custom kernel and make rpm from that(make rpm command). However, my custom kernel rpm size is 96mb. I look inside default rpm, in ...
1
vote
1answer
373 views

RPMs and patching

I have 3 files (from here)that I have been given to install in an attempt to upgrade the compiler: binutils-2.13.2.1-1.mipsel.rpm binutils-2.13.2.1-1.src.rpm binutils-2.13.2.1-r5900-7.diff.gz ...
5
votes
3answers
2k views

How do I tell which GPG key an RPM package was signed with?

The cryptographic signature of an RPM can be verified with the rpm -K command. This returns a string containing gpg (or pgp) and ending in OK if the signature is in RPM's database and is valid. If ...
3
votes
2answers
2k views

How to unpack, modify, rebuild and install a SRPM

I would like to modify a Fedora 15 package (gnome-shell-extensions-alternative-status-menu). It's a small modification (reverting this commit). Using yumdownloader I'm able to download a SRPM ...
6
votes
1answer
844 views

How to create a list of all applications which were manually installed?

I use Fedora and I'd like to have all the package names in a list, but only the ones I installed myself, not the default ones.
8
votes
1answer
1k views

What is the proper way to set SELinux context in an RPM .spec?

I am trying to build an RPM that targets RHEL4 and 5. Right now I call chcon from %post but multiple Google entries say "that's not how you are supposed to do it" with very limited help on the right ...
3
votes
6answers
6k views

Python 2.7 on CentOS 5

Are there any half-official repositories for CentOS 5 with Python 2.7? EPEL provides only Python 2.6