10-16-2012
Difference in binary file sizes after deploying package via yum/rpm
Hi Guys,
I have an issue whereby I package up an rpm and when I deploy it, the binary filesizes differ from what I packaged up from the SOURCE directory.
from source - -rwxrwxr-x 1 user group 685156 Sep 26 15:50 cybAgent.bin
after install - -rwxr-xr-x 1 user group 683388 Oct 16 11:10 cybAgent.bin
Other than the file sizes differing, I had no reason to believe there was an issue but it seems that all the binaries differ in size from what I packages up. Is tried deploying via yum and rpm and the sizes differ in both cases. Is this a known feature?
Thanks,
Gary.
10 More Discussions You Might Find Interesting
1. Linux
Hi,
I need to install an rpm file,but I only have '.src.rpm' version of it. I want to convert it to a binary rpm.
so I tried this
rpm --rebuild somethin.src.rpm
But I am gettin '--rebuild:Invalid option' as output
Is there another way to rebuild source rpm.?
Thanks in... (2 Replies)
Discussion started by: eamani_sun
2 Replies
2. Linux
have following package installed
rpm -qa |grep ADMIN
It will give the following package installed:
ADMIN-4.0.0.1
Now I will upgrade the ADMIN package using the following command.
rpm --upgrade ADMIN-4.1.0.1
It will upgrade the ADMIN packagge to ADMIN-4.1.0.1
Now I want that... (0 Replies)
Discussion started by: amitpansuria
0 Replies
3. Red Hat
Hi,
I have configured YUM repository on a server and we have 10 linux machine (clients).
Is there any way we can install a package on all the 10 machines from YUM repository server?
Please help me. (7 Replies)
Discussion started by: uday123
7 Replies
4. UNIX for Advanced & Expert Users
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies
5. Red Hat
Hi,
I have a binary file ans some scripts which copy the binary file to a location and create some files and then add a entry to cron .
I want to create a rpm package file for all these.So that if a user run:
rpm -i my.rpm
the binary is copied and scripts are run.
Can anyone help me in... (1 Reply)
Discussion started by: kailash19
1 Replies
6. UNIX for Dummies Questions & Answers
Hello,
i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm"
in /usr/local/ directory.
I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't.
I did:
1st try: Didn't work
sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies
7. Emergency UNIX and Linux Support
Hello,
i have installed a package by using the command
sudo rpm -i filepackage.rpm
package filepackage is already installed
when i try to remove it, i get an error saying "is not installed":
sudo rpm -e filepackage.rpm
error: package filepackage is not installed
How can... (4 Replies)
Discussion started by: g_p
4 Replies
8. UNIX for Advanced & Expert Users
Hello Everybody,
I am having a cluster which is not connected to internet. I want to check its performance do I downloaded required packages from the internet and copied them in a particular folder. As per the instructions given at
http:... (6 Replies)
Discussion started by: albertspade
6 Replies
9. Red Hat
Hello All,
I am transfering a gzipped file from LINUX to LINUX using scp -C comand.
It is a nightly job, called by crontab. After copy finishes, the file sizes are different between source and destination. Say .gz file is 14782805941 bytes on source and 13496172544 bytes on destination. When I... (20 Replies)
Discussion started by: NotALinuxGirl
20 Replies
10. Red Hat
Hi Guys,
I am trying to test installation of a local rpm to my RHEL5 server. I am expecting it to fail as a previous version of the same package name exists. On using rpm -i this behaves as expected but yum install does not pick up the conflict. Here is the element of my SPEC file with the... (5 Replies)
Discussion started by: gazza-o
5 Replies
LEARN ABOUT XFREE86
rpmspec
RPMSPEC(8) System Manager's Manual RPMSPEC(8)
NAME
rpmspec - RPM Spec Tool
SYNOPSIS
QUERYING SPEC FILES:
rpmspec {-q|--query} [select-options] [query-options] SPEC_FILE ...
select-options
[--rpms]
[--srpms]
query-options
[--qf,--queryformat QUERYFMT]
[--target TARGET_PLATFORM]
QUERY OPTIONS
The general form of an rpm spec query command is
rpm {-q|--query} [select-options] [query-options]
You may specify the format that the information should be printed in. To do this, you use the
--qf|--queryformat QUERYFMT
option, followed by the QUERYFMT format string. See rpm(8) for details.
SELECT OPTIONS
--rpms Operate on the binary package header(s).
--srpm Operate on the source package header(s).
SEE ALSO
popt(3),
rpm(8),
rpmdb(8),
rpmkeys(8),
rpmsign(8),
rpm2cpio(8),
rpmbuild(8),
rpmspec --help - as rpm supports customizing the options via popt aliases it's impossible to guarantee that what's described in the manual
matches what's available.
http://www.rpm.org/ <URL:http://www.rpm.org/>
AUTHORS
Marc Ewing <marc@redhat.com>
Jeff Johnson <jbj@redhat.com>
Erik Troan <ewt@redhat.com>
Panu Matilainen <pmatilai@redhat.com>
Red Hat, Inc 29 October 2010 RPMSPEC(8)