module-tools | Helper scripts for developing OTRS modules
kandi X-RAY | module-tools Summary
kandi X-RAY | module-tools Summary
Helper scripts for developing OTRS modules
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of module-tools
module-tools Key Features
module-tools Examples and Code Snippets
Community Discussions
Trending Discussions on module-tools
QUESTION
I'm trying to force rpm
to follow a given install order and it is not working as expected. The Requires
clause I added is not being respected.
I am doing a bare-metal Linux installer (openSUSE 42.2-based). A whole system -- hundreds of packages -- are installed with one RPM command (using --root
). I am having problems with three packages -- pam-config, pam-script, and openssh. The pam-config %post
scriptlet tries to modify files contained in pam-script and openssh but is installed, by default, before them. It does not have dependencies by default, so, having the source, I rectified that by adding:
ANSWER
Answered 2017-Jan-13 at 03:25You can add more explicit sub-fields to the Requires
tag, e.g. Requires(post): openssh-server
or Requires(pre,post): openssh-server
.
A single RPM transaction isn't really atomic, but is treated that way. Without this additional information, it just ensures that the packages are installed by the end of this transaction, which is "good enough" most of the time.
Another option is to put the required configuration into a %triggerin
stanza, which I believe only executes once both packages are installed.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install module-tools
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page