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

NAME
yum-utils - tools for manipulating repositories and extended package management SYNOPSIS
debuginfo-install - install debuginfo packages and their dependencies find-repos-of-install - report which repository the package was installed from needs-restarting - report process ids that started running before they or some component they use were updated package-cleanup - manage package cleanup, duplicates, orphaned packages and outstanding dependency problems repo-graph - outputs a full package dependency list in dot format repo-rss - generates an RSS feed from one or more repositories repoclosure - reads metadata of repositories, checks dependencies and displays list of unresolved dependencies repodiff - takes two or more repositories, returns a list of added, removed or changed packages repomanage - manages a directory of rpm packages, returns a list of newest or oldest packages in a directory repoquery - query yum repositories and get additional information on the them reposync - synchronize a remote yum repository to a local directory using yum to retrieve packages repotrack - track packages and its dependencies and downloads them show-changed-rco - list of changes to a package Requires, Conflicts and Obsoletes data from installed to a specified rpm file show-installed - gives a compact description of packages installed and makes use of comps groups in repositories verifytree - verify that a local yum repository is consistent yum-builddep - installs missing dependencies to build a specified package yum-complete-transaction - finds incomplete or aborted yum transactions and attempts to complete them yum-config-manager - toggle yum repositories, add new repositories and set main yum configuration options yum-debug-dump - creates gzipped file containing information for debugging problems yum-debug-restore - replays any transactions captured in gzipped file in yum shell yum-groups-manager - create and edit yum's group metadata yum-installed - print a compact package list making use of comps groups yumdb - query or alter the yum database yumdownloader - downloads packages from yum repositories including source RPMs DESCRIPTION
yum-utils is a collection of tools and programs for managing yum repositories, installing debug packages, source packages, extended infor- mation from repositories and administration. NOTES
See respective tools for additional help for commands without a manual page SEE ALSO
debuginfo-install(1), package-cleanup(1), repodiff(1), repoquery(1), reposync(1), repo-rss(1), show-changed-rco(1), show-installed(1), yum- downloader(1), yum-builddep(1), yum-debug-dump(1), yum-groups-manager(1), yumdb(8), yum-complete-transaction(8) AUTHOR
Shawn Starr <shawn.starr@rogers.com> yum-utils August 2011 yum-utils(1)
All times are GMT -4. The time now is 04:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy