Thanks for replying,
What does the previous warning mean?Is that going to cause me any problem?
That is normal. Configuration files are normally saved and given a .rpmsave extension.
Quote:
However, when i executed the following command, i didn't see anything in the output, the output was empty.Was that ok?
Again that is normal. Linux follows the Unix philosophy of not outputting anything unless error or required.
Quote:
But what about the location of the ".rpm" contents of the package?
Can i define in the rpm command where i would like the package to be installed?
Cause i have downloaded it in the /usr/test directory.
And i noticed that the package was installed in the /usr directory
and not in /usr/test directory
Why does this happen?
And how can i define the location of the installation of an rpm package?
Read the rpm manpage. Especially section detailing --prefix.
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)
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)
Hi,
I have built one RPM last year. now we have another version of that RPM. in previous release we had few extra files then now. so when user upgrade it those files get deleted by RPM package. We want to retain those files.
now for workaround i thought of backing up those file during... (0 Replies)
Hi,
can someone help me with this?
How do we apply a new version of s/w package without disrupting the processes & daemons running with the old version?
Thanks (1 Reply)
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)
Dear all,
I would like to install a new version of package without remove old version on Centos and vice versa.
Please give me advice!
thanks much, (2 Replies)
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)
Hello!,
I can't remove a rpm package with rpm -e net-snmp
Nothing happened, and the process returns D status when i see with ps aux | grep rpm. When i say "Nothing Happened", the terminal don't return any message, and not remove the package.
What can I do to remove?
Ps: I work with Red... (1 Reply)
Hi Everybody,
I would like to know how to build an RPM package. Could you please let me know how to do it with the procedure.
Regards,
Mastan (1 Reply)
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 CENTOS
rpmsign
RPMSIGN(8) System Manager's Manual RPMSIGN(8)NAME
rpmsign - RPM Package Signing
SYNOPSIS
rpm --addsign|--resign PACKAGE_FILE ...
rpm --delsign PACKAGE_FILE ...
DESCRIPTION
Both of the --addsign and --resign options generate and insert new signatures for each package PACKAGE_FILE given, replacing any existing
signatures. There are two options for historical reasons, there is no difference in behavior currently.
rpm --delsign PACKAGE_FILE ...
Delete all signatures from each package PACKAGE_FILE given.
USING GPG TO SIGN PACKAGES
In order to sign packages using GPG, rpm must be configured to run GPG and be able to find a key ring with the appropriate keys. By
default, rpm uses the same conventions as GPG to find key rings, namely the $GNUPGHOME environment variable. If your key rings are not
located where GPG expects them to be, you will need to configure the macro %_gpg_path to be the location of the GPG key rings to use. If
you want to be able to sign packages you create yourself, you also need to create your own public and secret key pair (see the GPG manual).
You will also need to configure the rpm macros
%_gpg_name
The name of the "user" whose key you wish to use to sign your packages.
For example, to be able to use GPG to sign packages as the user "John Doe <jdoe@foo.com>" from the key rings located in /etc/rpm/.gpg using
the executable /usr/bin/gpg you would include
%_gpg_path /etc/rpm/.gpg
%_gpg_name John Doe <jdoe@foo.com>
%__gpg /usr/bin/gpg
in a macro configuration file. Use /etc/rpm/macros for per-system configuration and ~/.rpmmacros for per-user configuration. Typically it's
sufficient to set just %_gpg_name.
SEE ALSO popt(3),
rpm(8),
rpmdb(8),
rpmkeys(8),
rpm2cpio(8),
rpmbuild(8),
rpmspec(8),
rpmsign --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 RPMSIGN(8)