RPM Package Manager is a package management system intended primarily for Linux distributions.
3
votes
3answers
42 views
How to programmatically determine the highest version kernel RPM installed?
What I want to script is something along the lines of:
if [ uname -r is not == highest version of kernel RPM installed ]
then
echo "You need to reboot to use the latest kernel"
fi
The problem is, ...
2
votes
2answers
35 views
How can a version of a package conflict with itself?
I want to install fillup and get:
rpm -i fillup-1.42-268.1.x86_64.rpm
file /usr/bin/fillup conflicts between attempted installs of \
fillup-1.42-268.1.x86_64 and fillup-1.42-268.1.x86_64
...
1
vote
1answer
230 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 ...
3
votes
1answer
194 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 ...
74
votes
12answers
20k views
What are the pros/cons of deb vs. rpm?
For whatever reasons, I've always used RPM based distros (Fedora, Centos and currently openSUSE). I have often heard it stated that deb is better than rpm, but when asked why, have never been able to ...
6
votes
4answers
564 views
Is there a pbuilder-like environment for RedHat?
I would like to know if is there any utility like Debian's pbuilder, to build RPM packages on RedHat using a clean environment (chroot).
I've found mach which has support for something like this but ...
0
votes
1answer
150 views
How to install RPM based Packages on OpenFiler
We bought One SuperMicro Server that will be used for Storage purposes and then we install the openfiler on it.
The thing is that we need to install RAID controller and Im not familiar with OpenFiler ...
1
vote
1answer
97 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 ...
1
vote
2answers
59 views
Where can I find mailfromd RPM's for CentOS 6?
I have been trying to locate an RPM for GNU Mailfromd and it's dependencies and have been quite surprised to find it absolutely nowhere on the 'net. Only place I could find any RPM's were for ...
2
votes
2answers
41 views
rpmbuild: Is there a way to specify recommended packages
So, search as I might, I can't find anything about specifying recommended packages in a spec file.
I wouldn't even consider it possible if I hadn't seen it in the spec file for Mono 2.10.9. It reads ...
2
votes
2answers
34 views
rpmbuild: How can I 'Require' one package *or* another
So, I'm trying to fix a spec file right now for rpmbuild.
On Suse, it looks like the X11 library development package is named "xorg-x11-libX11-devel" while on CentOS it seems to be named ...
6
votes
2answers
88 views
Installing a package locally to a user - best practices?
I want to install Git locally to a user on a RHEL server (I don't have root access)
What would be your cleanest/ most organized way of installing software to a local user account?
Installing ...
2
votes
1answer
109 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 ...
2
votes
1answer
150 views
Missing dependency during rpm install
When I install CodeAnalsyt, i get a failed dependency on libbfd-2.20.51 on Centos 6.3.
Binutils is installed on my system and the failed dependency does exists at
...
1
vote
1answer
80 views
AIX apache rpm dependencies
I am evaluating the Crowd SSO by Atlassian. Now to get apache to use CROWD for authentication, there is a connector available by the vendor.
Problem
Unfortunately they do not provide anything for ...
3
votes
1answer
24 views
RPM subpackage name
Is it possible to make a subpackage without the inherited prefix from the master package?
I have a project that has a single install and need to split this into multiple packages, but the subpackages ...
6
votes
3answers
425 views
Download ALL rpms for a product
I have two CentOS machines, one 6.3 box (A), and another CentOS 6.1. (B)
6.3 box is with internet connection, 6.1 box is without internet connection.
I want to download ALL dependencies of a product ...
0
votes
1answer
51 views
Does yum use package buildtime to decide if a package is newer?
Say I have installed mypkg-1.2.3-4567.noarch.rpm from some yum repo.
Is it valid for the rpm publisher to re-publish mypkg with the same version and release and just run createrepo --update? Is it ...
0
votes
0answers
81 views
How to install cpp in RHEL 6.3?
I want to install gcc in RHEL 6.3, but it has cpp dependencies.
So I go to cpp rpm download page, but it has no rpm for 6.3 version:
Is there any other way to install cpp in RHEL 6.3?
0
votes
1answer
50 views
Why doesn't build of net-snmp 5.7.2. provide /etc/rc.d/init.d/snmptrapd?
I am packaging an RPM for RHEL6, built from net-snmp-5.7.2.tar.gz. I see that the file /etc/rc.d/init.d/snmpd gets created and packaged but I do not see the init file for /etc/rc.d/init.d/snmptrapd. ...
1
vote
2answers
58 views
How to list RPM packages installed in order of installation date
I'd like to see a list of software installed in the order of the date they were installed. The order doesn't matter (newest to oldest & vice-versa) as long as they're arranged by date.
I'm mainly ...
3
votes
2answers
2k 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 ...
2
votes
2answers
5k views
How do I get UUENCODE to work?
I have a server that I have inherited that has an older version of Redhat installed due to software requirements and now there is a need to use UUENCODE to allow email attachments. The uuencode and ...
-1
votes
1answer
90 views
unrar for centos 5.7 needs unrar-4.20-2.mga3.nonfree.x86_64.rpm which causes an error
I'm trying to install unrar package for my cpanel. as some people suggested that I need this package unrar-4.20-2.mga3.nonfree.x86_64.rpm . So when I run rpm -ivh unrar-4.20-2.mga3.nonfree.x86_64.rpm ...
0
votes
1answer
1k views
64bit rpm can not resolve 32bit dependencies
Problem
I'm having a RPM that contains mixed 64bit and 32bit binaries. One of the binaries depends on 32bit i686 packages. When I try to install the package yum gives me an error, noting that the ...
2
votes
1answer
63 views
What is the corresponding freebsd command of these rpm commands?
I know about rpm, but I am newbie about freebsd packaging system. I learnt about how to create package and know I want learn how to get some information about packages or files. Can somebody give me ...
2
votes
2answers
91 views
RPM skipping files on install
I am installing an rpm package and it appears to be skipping certain files without giving me any notice as to what the issue is.
When I execute
rpm -ivh package_name.rpm
the rpm provides me with ...
3
votes
1answer
70 views
reposync exclude subdirs from mirror
Is there a way to make the reposync command ignore a subdir of a public repo when mirroring it ?
It seems to only want to sync on the url that has the /repodata/ & /repoview/ dirs, but i'm ...
2
votes
1answer
278 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 ...
3
votes
1answer
1k views
Is it stable to use epel and rpmforge in the same time?
So after a fresh Scientific Linux 6.3 Desktop install, I:
yum install rpmforge-release && yum update
and
yum install epel-release.noarch
then:
yum install wine gparted cups-pdf ...
0
votes
1answer
486 views
What is the easiest way to install Meld on RedHat Linux RHEL 5.4?
My company has RedHat RHEL 5.4 on the Linux box, and I need to install Meld on it. How can it be done?
$ sudo yum install meld
No package meld available.
Nothing to do
$ sudo yum search meld
No ...
4
votes
2answers
2k views
getting error “Can't create transaction lock” with rpm
I am slowly making progress on installing Fedora into a Logical Volume for a DomU using Package Management. I have (with the help of the wonderful people at Unix & Linux) resolved a number of ...
1
vote
2answers
500 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 ...
2
votes
2answers
187 views
Install from RPM, then files change. How can I see the differences?
This is a RedHat Enterprise 5.5 system. I ran a verification check against an RPM, and it looks like two files have changed:
# rpm --verify shadow-utils
S.5....T c /etc/default/useradd
S.5....T c ...
2
votes
2answers
236 views
yum install in user home for non-admins
I am a non-admin user on a large computer system. I need some up to date packages that are not installed on the system. I want to use yum to install them. As a user without sudo, admin, or root ...
0
votes
1answer
440 views
Public key not found for RPM
I am trying to install package on Redhat 5.5 using YUM but it always give me this error
[root@redhat64 Desktop]# yum install perl-Net-Server-0.97-1.el5.rf.noarch.rpm Loaded plugins: rhnplugin, ...
1
vote
1answer
78 views
Files in RPM packages
There is something strange with RPM packages. The listed contents, enumerated by rpm -ql differ from the actually presented files. For instance, I downloaded a openldap-servers-2.4.26-8.fc16.i686.rpm ...
1
vote
2answers
2k views
Error on application install: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
When I executed a command to install an application, the following error occurred
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
I was not aware on how to fix this problem. I ...
2
votes
0answers
90 views
recommended procedure to create a user/group during RPM install
after trying hard to search for RPM best practices guides and finding virtually none, to my surprise, I resort to the community -
I need to ensure that some users and groups exist after the ...
1
vote
2answers
344 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 ...
3
votes
2answers
4k views
Remove unused packages - Fedora
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 ...
1
vote
0answers
251 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)
...
1
vote
1answer
42 views
What to include in an RPM created from python packages
I'm looking to create a rpm for this tarball and couldn't figure out which files needed to be included in the package after the install. I am used to compiling some code and including the binary ...
1
vote
0answers
49 views
How do I install additional modules when building an Apache RPM?
We've been compiling and installing Apache under /usr/local/apache2 and in turn would tar the folder up to distribute to our other servers. I would like to convert this into an RPM package for easier ...
0
votes
0answers
353 views
How to automatically resolve dependencies on CentOS?
For example, I need to compile some software from sources, build rpm-packages from it, and install them.
The question is - how to automatically resolve (install corresponding packages) dependencies ...
4
votes
1answer
165 views
How to make an rpm package that installs a Java environment if needed
I'm very new to RPM packaging and I'm curious if, during the installation of one RPM it is possible to conditionally install another RPM if needed.
In a nutshell.
My RPM requires a particular JRE. ...
1
vote
2answers
101 views
Installing RPMS on Centos
Is generally installing standalone rpms considered 'dangerous'? Are these affected by any system upgrades, package upgrades etc.? How about dependencies and libraries?
1
vote
1answer
521 views
Why did yum-builddep not provide the dependencies to install my rpm?
I am trying to rum my rpm package but getting this dependencies error.
[root@localhost ~]# rpm -ivh /root/x86_64/asterisk-1.8.12.2-1.fc15.x86_64.rpm
error: Failed dependencies:
...
1
vote
1answer
223 views
Automatically install build dependencies prior to building an RPM package
I am trying to build the .rpm package. i have just followed the steps to do that. Till now all step was gone fine but now i just stuck with this step. I just ran the following command and got this ...
0
votes
0answers
28 views
How can i specify directory user & group for files inside an RPM?
I am building RPMs using FPM. When using the --rpm-user and --rpm-group, I notice as advertised that in the specfile that the %defattr(-,user,group,-) is set under %files.
This does indeed set the ...



