10-16-2012
Thanks for such a quick response fpmurphy. I am not entirely sure how to find that out but I googled and seen that rpmbuild strips binaries. One forum advises to set the following at the top of the spec file -
# Turn off strip'ng of binaries
%global __strip /bin/true
Would that be your recommendation to ensure that the binary sizes match those that were in source?
Thanks again,
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 CENTOS
applydeltarpm
APPLYDELTARPM(8) System Manager's Manual APPLYDELTARPM(8)
NAME
applydeltarpm - reconstruct an rpm from a deltarpm
SYNOPSIS
applydeltarpm [-v] [-p] [-r oldrpm] deltarpm newrpm
applydeltarpm -c|-C deltarpm
applydeltarpm [-c|-C] -s sequence
applydeltarpm -i deltarpm
DESCRIPTION
applydeltarpm applies a binary delta to either an old rpm or to on-disk data to re-create a new rpm. The old rpm can be specified with the
-r option, if no rpm name is provided on-disk data is used. You can use -p to make applydeltarpm print the percentage of completion, or -v
to make it more verbose about its operation.
The second an third form can be used to check if the reconstruction is possible. It may fail if the on-disk data got changed (deltarpms are
created in a way that config file changes do not matter) or the deltarpm does not match the rpm the delta was generated with. The -c option
selects full (i.e. slow) on-disk checking, whereas -C only checks if the filesizes have not changed.
Instead of a full deltarpm a sequence id can be given with the -s sequence option. Such an id contains all the information that is needed
to do reconstruction checking.
Finally information about a deltarpm can be printed with the -i option.
MEMORY CONSIDERATIONS
applydeltarpm was written to work on systems with limited memory. It uses a paging algorithm to keep the size of in-core data low and not
bring the system in an out-of-memory situation.
EXIT STATUS
applydeltarpm returns 0 if the rpm could be recreated or the checking succeeded, it returns 1 and prints an error message to stderr if
something failed.
SEE ALSO
makedeltarpm(8), rpm(8)
AUTHOR
Michael Schroeder <mls@suse.de>
Feb 2005 APPLYDELTARPM(8)