Sponsored Content
Operating Systems Linux Difference in binary file sizes after deploying package via yum/rpm Post 302716429 by gazza-o on Tuesday 16th of October 2012 12:23:05 PM
Old 10-16-2012
Thanks Jim.

Both seem not be stripped which surprised me - I was expecting the smaller one to be stripped.

large file
cybAgent.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
small file
cybAgent.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped

---------- Post updated at 05:23 PM ---------- Previous update was at 03:39 PM ----------

Hi Guys,

I put the following at the top of my spec file and the rpm deploys the binaries at the exact same size as they were at source.

%global __os_install_post %{nil}

Not entirely sure why this compressions occurs by default but this entry deployed the files at the exact same size.

Thanks,
Gary
 

10 More Discussions You Might Find Interesting

1. Linux

Converting source rpm to binary rpm

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

how to restore original package after uninstalling the upgraded package using rpm

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

Remote installation of rpm package (Using YUM)

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

How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

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

Creating rpm package file

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

Can't install rpm package with --prefix in new path.Error: package is not relocatable

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

Problem when trying to remove a package using rpm command - error: package is not installed

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

How to install .rpm file from a directory using yum?

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

Difference in file sizes being copied by scp. HELP!

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

Difference in conflict resolving between yum and rpm installs

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
yum-list-data(1)														  yum-list-data(1)

NAME
yum list data plugin SYNOPSIS
yum [options] [command] [package ...] DESCRIPTION
This plugin extends yum for some commands that give aggregate package data based on lists of packages added yum commands are: * list-vendors * info-vendors * list-rpm-groups * info-rpm-groups * list-packagers * info-packagers * list-licenses * info-licenses * list-arches * info-arches * list-committers * info-committers * list-buildhosts * info-buildhosts * list-baseurls * info-baseurls * list-package-sizes * info-package-sizes * list-archive-sizes * info-archive-sizes * list-installed-sizes * info-installed-sizes * list-groups * info-groups all of which take the same arguments as the list and info yum commands. The difference between the list and info varieties is that the info versions lists all the packages under each aggregation. list-vendors, info-vendors Is used to list the aggregate of the vendor attribute on the packages, examples are "Fedora Project" and "Red Hat, Inc.". list-rpm-groups, info-rpm-groups Is used to list the aggregate of the group attribute on the packages, examples are "Applications/System", "Development/Tools" and "System Environment/Base" list-packagers, info-packagers Is used to list the aggregate of the packager attribute on the packages, examples are "Fedora Project" and "Red Hat, Inc.". list-licenses, info-licenses Is used to list the aggregate of the license attribute on the packages, examples are "GPL" and "MIT" list-arches, info-arches Is used to list the aggregate of the arch attribute on the packages, examples are "i386" and "x86_64" list-committers, info-committers Is used to list the aggregate of the committer attribute on the packages, this is taken from the most recent changelog entry of the package. list-buildhosts, info-buildhosts Is used to list the aggregate of the buildhost attribute on the packages, examples are "mybuilder.example.com" and "xen- builder1.fedora.redhat.com" list-baseurls, info-baseurls Is used to list the aggregate of the url attribute on the packages after discarding the path of the URL, examples are "http://yum.baseurl.org/" and "http://www.and.org/" list-package-sizes, info-package-sizes Is used to list the aggregate of specified ranges the packagesize attribute on the packages, examples are "[ 1B - 10KB ]" and "[ 750KB - 1MB ]". list-archive-sizes, info-archive-sizes Is used to list the aggregate of specified ranges the archivesize attribute on the packages, examples are "[ 1B - 10KB ]" and "[ 750KB - 1MB ]". list-installed-sizes, info-installed-sizes Is used to list the aggregate of specified ranges the installedsize attribute on the packages, examples are "[ 1B - 10KB ]" and "[ 750KB - 1MB ]". list-groups, info-groups Is used to list the aggregate of the yum groups that the packages are in, examples are in "yum grouplist". Note that in yum groups a package can be in more than one group at a time. It is worth noting that some of the above data can be "unknown", to yum, at which point a separate aggregation called "-- Unknown --" is listed. EXAMPLES
To list all the groups that have an update, along with the number of packages in each group, use: yum list-rpm-groups updates To list all the committers to packages that have yum in their name, use: yum list-committers 'yum*' To list ranges of the sizes of packages installed or available, use: yum list-package-sizes To list yum groups that have an update, use: yum list-groups SEE ALSO
yum-filter-data (1) yum (8) yum.conf (5) AUTHORS
James Antill <james.antill@redhat.com>. James Antill 04 February 2008 yum-list-data(1)
All times are GMT -4. The time now is 06:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy