04-24-2008
User installing a rpm package
Hi,
I have an application to be installed and I want a user to be able to install it.
But I meet the following issues:
Removing MyApp
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
Before that I had
error: can't create transaction lock /var/lock/rpm/transaction
I skipped that by chmod 666 /var/lock/rpm/transaction
Still ... how can I, as user, install/uninstall a rpm ?
Thanks,
Bianca
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear expert,
Suppose I have an application that comes in rpm format.
Let's call it:
my_downloaded_package.rpm
How can I install it in my particular home directory (since I'm not
a root user). Say the directory where I want to install above rpm package is:
~/.my_desired_location... (1 Reply)
Discussion started by: monkfan
1 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. 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
4. UNIX for Dummies Questions & Answers
Is it possible to rollback a package in Redhat ?I don't want to delete any packages.
I have upgraded a package using rpm -Uvh & now i decided to use the old package, is it possible to revert it back to the original package ? (3 Replies)
Discussion started by: sydney2008
3 Replies
5. Linux
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)
Discussion started by: ajayyadavmca
0 Replies
6. 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
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. Shell Programming and Scripting
I was just flirting with the idea of installing one package (bcl2fas2) on my WSL:Ubuntu using alien. However, when I run
sudo alien bcl2fastq2-v2.20.0.422-Linux-x86_64.rpm
I get the following error:
Package build failed. Here's the log:
dh_testdir
dh_testdir
dh_testroot
dh_prep... (0 Replies)
Discussion started by: Xterra
0 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 CENTOS
scap-as-rpm
scap-as-rpm(8) System Administration Utilities scap-as-rpm(8)
NAME
scap-as-rpm - manual page for scap-as-rpm
DESCRIPTION
usage: scap-as-rpm [-h] [--pkg-name PKG_NAME] [--pkg-version PKG_VERSION]
[--pkg-release PKG_RELEASE] [--pkg-summary PKG_SUMMARY] [--pkg-license PKG_LICENSE] [--pkg-scap-location PKG_SCAP_LOCATION]
[--rpm-destination RPM_DESTINATION] [--srpm-destination SRPM_DESTINATION] FILE [FILE ...]
Takes given SCAP input(s) and makes an RPM package that contains them. The result RPM can be installed using # yum install ./pack-
age-name-1-1.rpm which will put the contents into /usr/share/xml/scap. No dependency on openscap or scapworkbench is enforced in the output
package so you can use any SCAP-capable scanner to evaluate the content.
positional arguments:
FILE List of files that should be put into the result package. These should be SCAP XML files but such requirement is not enforced.
optional arguments:
-h, --help
show this help message and exit
--pkg-name PKG_NAME
Name of the RPM package, if none is provided the basename of the first SCAP input is used. Ex.: xyzsecurity-guide
--pkg-version PKG_VERSION
--pkg-release PKG_RELEASE
--pkg-summary PKG_SUMMARY
Optional short description of the package.
--pkg-license PKG_LICENSE
Short name of the license that you want to publish the package under. Ex.: GPLv2+, BSD, ...
--pkg-scap-location PKG_SCAP_LOCATION
Folder where SCAP files are supposed to be installed. Each package will have its own folder inside this folder. RPM variables can
be used and will be expanded as usual. It is recommended to keep the default settings.
--rpm-destination RPM_DESTINATION
The folder (absolute or relative to CWD) where the result RPM shall be saved.
--srpm-destination SRPM_DESTINATION
The folder (absolute or relative to CWD) where the result SRPM shall be saved.
scap-as-rpm November 2013 scap-as-rpm(8)