Sponsored Content
Top Forums Shell Programming and Scripting How to make RPM not write to RPM database if RPM fails to deploy? Post 302480963 by citaylor on Thursday 16th of December 2010 09:05:24 AM
Old 12-16-2010
And do you run that test from the preinstall section of the rpm spec ?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to use RPM to biuld *.rpm

I have an application for linux writen by me. and before use it, I have to install it. I 've writen a shell program to install it. Now how can I turn it to the *.rpm ? Is this can done by shell command rpm? How to do it? thanks (1 Reply)
Discussion started by: murataht
1 Replies

2. Linux

Failed dependencies of rpm / how does RPM check for ?

Hey, I've a problem installing a package. rpm -ivh brings the errors: libjvm.so is needed by libverify.so is needed by But I have installed the Java SDK like requested and the files are on the disk. But I have no idea how to find out, why rpm cann't find them. I have also... (2 Replies)
Discussion started by: mod
2 Replies

3. Shell Programming and Scripting

Installing database through RPM

Hi everyone I have just joined a software developing team. I am new to unix. Basically we are developing a product, the problem is when the end user will install this package we would like to install the datbase associated with our product using RPM. Can it be done? how secure it is? and... (0 Replies)
Discussion started by: atul.saxena
0 Replies

4. UNIX for Dummies Questions & Answers

How to Write RPM

Hi All, Could anyone here tell me abt RPM? How to use this? I want to write it for making a build ? also tell me how to write installation file? Thanks, Kammy (1 Reply)
Discussion started by: kjannu
1 Replies

5. 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

6. SuSE

How to install .src.rpm ? ( source rpm )

Hi, I have got few RPM's from rpmfind.net ( mainly gcc ). But it seems to be src files instead of the image. so I think we have to build the src files according to target machine using rpmbuild. Can any one help me with 1) Various options of rpm build that have to be taken care 2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies

7. Shell Programming and Scripting

Extract RPM name from path to .rpm file

It's the end of the day and I just can't get my head around this. I'm trying to extract just the name of the RPM from the path to a .rpm file. So from: /home/me/rpm/RPMS/i386/nagios-our-plugins-1.2-6.i386.rpmI need to extract 'nagios-our-plugins'. I can't get the awk syntax right: awk '{... (5 Replies)
Discussion started by: aussieos
5 Replies

8. Programming

Reading rpm database from windows.

Hello, I want to read a rpm database through my program in c ,I searched for it and found there is one library openly available that is rpmlib thorugh which we can access rpm databse but I want to use it from windows is it possible to read one rpm database from windows,I want to read the... (4 Replies)
Discussion started by: pradiptart
4 Replies

9. AIX

Cannot get shared lock on database for rpm on AIX 6.1

Hello, I was trying to install python on aix and it was taking too long and I closed the terminal. Now when i issue the command rpm -qa instead of getting all the rpms installed I'm getting the following error. root:stud -> $ rpm -qa cannot get shared lock on database rpmQuery: rpmdbOpen()... (2 Replies)
Discussion started by: gaugeta
2 Replies

10. AIX

Rpm issue with autoconf-2.63-1.AIX6.1.noarch.rpm

dears i am trying to install the autoconf-2.63-1.aix6.1.noarch.rpm but its shows the below error message . P700_dev/svn/dependencies>rpm -i autoconf-2.63-1.aix6.1.noarch.rpm error: failed dependencies: m4 is needed by autoconf-2.63-1 P700_dev/svn/dependencies> (6 Replies)
Discussion started by: thecobra151
6 Replies
ceve(1) 							   USER COMMANDS							   ceve(1)

NAME
ceve - parse package metadata SYNOPSIS
ceve [-output-type output-type] [-output-file output-file] [-input-type input-type] [-extract-cone package=version] [-cone-dep-types code- dependency-types] [-stop-extraction package=version] [-dose-date yyyy-mm-dd] [-dose-archive archive-name] [-resolve-dependencies] [-rpm- versions] [-debian-versions] [-verbose] [-help] files [-ignore-file-deps file] DESCRIPTION
Ceve is a generalized metadata parser. It reads package specifications, extracts package metadata from them, performs some manipulations, and outputs the package metadata in one of several formats. OPTIONS
-cone-dep-types list A comma-separated list of dependency types to use for dependency closure generation. By default, all dependency types are used. Pos- sible values are: o conflicts o depends o enhances o predepends o recommends o replaces o suggests -debian-versions Force usage of the Debian version numbering scheme, as well as the Debian syntax for virtual packages (dependencies with a version specification cannot be satisfied by a virtual package). -dose-architecture architecture Use architecture as the default Dose architecture. -dose-archive archive Use archive as the default Dose archive name. -dose-date date Set date as the lifetime for the packages to add to a Dose database. -extract-cone package Only output the package package and its dependency closure. The package specification can be either a package name, or a package name and version in the form name=version. This option can be abbreviated as -x. -help Not particularly useful, given that you're already reading this manpage. -input-type input-type The input type. Possible values are: o debian One Debian package (.deb) o debian-pool A Debian pool or cache file o rpm One RPM package o hdlist An uncompressed RPM hdlist file o pkgsrc A pkgsrc pkg_summary file o egraph A n EGraph file (GraphML-based) o synthesis-hdlist An RPM synthesis hdlist (uncompressed) This option can be abbreviated as -p. -output-dir directory Set the directory to output to. This is only useful when using the dose output type. -output-file file Set the file to output to. This option can be abbreviated as -o. -output-type output-type Set the type of output to produce. Possible values are: o prettyprint Pretty printer. o egraph EGraph format (GraphML-based) o dose Dose database format (use the -output-dir option to specify which directory to write to) o oz Oz data structure o graphviz GraphVIZ graph o tart or cnf CNF formula, readable by Tart This option can be abbreviated as -t. -resolve-dependencies If specified, resolve dependencies so that a dependency on a virtual package is replaced by the disjunction of all packages that provide the virtual package. -rpm-versions Force usage of the RPM version numbering scheme, as well as the RPM semantics for virtual packages (all provides have versions). This is default when using the rpm or hdlist input types. -stop-extraction package When computing the dependency closure, stop at package package (i.e. do not take its dependencies into account). Specification is the same as for the -extract-cone option. -verbose Be verbose (mostly useful for debugging). -ignore-file-deps file file should countain a list of file dependencies that are assumed to be available, and thus will not generate a warning during dependency resolution if not provided by any package. Version 1.2 October 28, 2008 ceve(1)
All times are GMT -4. The time now is 09:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy