02-07-2013
You can adjust the RPM database contents via a number of undocumented APIs but unless you really know what you are doing I would strongly advise you not to attempt to do so.
Why not rebuild the package without the particular unwanted file and install that custom package instead?
10 More Discussions You Might Find Interesting
1. 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
2. Ubuntu
Hi All,
I just recently installed UBUNTU 2.6.24-16 and i installed my phone software which is a RPM package (it's a similiar package with MSN).
The software called MXIE.
I managed to install it successfully but i can't run the software.
When i try to run it, i received... (8 Replies)
Discussion started by: c00kie88
8 Replies
3. Shell Programming and Scripting
The title says it all. I have a upnp server running fuppes that is connected to my xbox360. In order to see the files on the xbox360 i have to manually update and rebuild the database anytime i add or remove files. I have tried cron jobs to do it every 20 min which works, but if I am streaming... (0 Replies)
Discussion started by: tr6699
0 Replies
4. Shell Programming and Scripting
How to make RPM not write to RPM database if RPM fails to deploy?
IE I create an rpm spec file that contains the following
if
then
exit 1
fi
My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies
5. 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
6. 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
7. 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
8. 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
9. Linux
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... (4 Replies)
Discussion started by: gazza-o
4 Replies
10. AIX
Hi Guys
I got this error when I try to install perl-5.24.0-1.aix6.1.ppc.rpm package
rpm -ivh perl-5.24.0-1.aix6.1.ppc.rpm
error: perl-5.24.0-1.aix6.1.ppc.rpm does not appear to be a RPM package (4 Replies)
Discussion started by: khaled_ly84
4 Replies
LEARN ABOUT DEBIAN
gpt-install
GPT-INSTALL(8) User Contributed Perl Documentation GPT-INSTALL(8)
NAME
gpt-install - Installs GPT packages.
SYNOPSIS
gpt-install [options] [packages or bundles]
Options:
-verbose Print copious output
-help Print usage
-man Print man page.
-version Print GPT version.
-force Replace package no matter what.
-loose Replace a broader range of packages.
-installdir=PATH Override $GLOBUS_LOCATION.
-tmpdir=PATH Path to tmp disk space
[packages or bundles] List of binary packages and bundles to install.
DESCRIPTION
gpt-install takes a GPT described package or bundle and installs it. The program can install either RPM's or GPT packages.
OPTIONS
-force forces all action to be taken, regardless of state.
-tmpdir Place to unpack bundles.
-installdir
Directory to which files shall be written. Default is $GLOBUS_LOCATION
-loose pgm packages can replace a pgm_static package (and vice versa) or a pgm package with a different flavor.
-help Print a brief help message and exits.
-man Prints the manual page and exits.
-version
Prints the version of GPT and exits.
EXAMPLES
For the command:
gpt-install foo-2.1-gcc32-pgm.tar.gz
foo-1.1-gcc32-pgm will be replaced.
foo-2.2-gcc32-pgm will B<not> be replaced. It is newer.
foo-1.1-vendorcc32-pgm will B<not> be replaced. Wrong flavor.
foo-1.1-gcc32-pgm_static will B<not> be replaced. Wrong package type
foo-2.2-gcc32-pgm_static will B<not> be replaced. Wrong package type
For the command:
gpt-install -force foo-2.1-gcc32-pgm.tar.gz
foo-1.1-gcc32-pgm will be replaced.
foo-2.2-gcc32-pgm will be replaced.
foo-1.1-vendorcc32-pgm will B<not> be replaced. Wrong flavor
foo-1.1-gcc32-pgm_static will B<not> be replaced. Wrong package type
foo-2.2-gcc32-pgm_static will B<not> be replaced. Wrong package type
For the command:
gpt-install -loose foo-2.1-gcc32-pgm.tar.gz
foo-1.1-gcc32-pgm will be replaced.
foo-2.2-gcc32-pgm will B<not> be replaced. It is newer.
foo-1.1-vendorcc32-pgm will be replaced.
foo-1.1-gcc32-pgm_static will be replaced.
foo-2.2-gcc32-pgm_static will B<not> be replaced. It is newer.
For the command:
gpt-install -force -loose foo-2.1-gcc32-pgm.tar.gz
foo-1.1-gcc32-pgm will be replaced.
foo-2.2-gcc32-pgm will be replaced.
foo-1.1-vendorcc32-pgm will be replaced.
foo-1.1-gcc32-pgm_static will be replaced.
foo-2.2-gcc32-pgm_static will be replaced.
BUGS
gpt-install currently does not honor static build numbers. Instead it will replace any pgm_static package that is the same version or
older. For example:
gpt-install -force foo-2.1-2-gcc32-pgm_static.tar.gz
foo-1.1-5-gcc32-pgm_static will be replaced.
foo-2.1-1-gcc32-pgm_static will be replaced.
foo-2.1-5-gcc32-pgm_static will be replaced.
foo-2.2-1-gcc32-pgm_static will not be replaced.
foo-2.1-gcc32-pgm will not be replaced.
SEE ALSO
gpt-uninstall(1) gpt-query(1) gpt-verify(1)
AUTHOR
Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <eblau.ncsa.uiuc.edu>
perl v5.14.2 2012-04-30 GPT-INSTALL(8)