All Questions
11
questions
1
vote
1
answer
47
views
Package installation failure and rollback options
I'm trying to understand how the creation of packages (rpm, deb, dpkg) work and what the architecture supports and doesn't.
Right now I struggle figuring out what happens when the installation or ...
1
vote
1
answer
119
views
Could not execute mockbuild: Could not download sources
When writing a .spec file for Fedora, I ran into a problem. I can't seem to be able to do fedpkg mockbuild at all. No matter what source I use, HTTPS or local, I keep running into this error:
Failed ...
3
votes
1
answer
3k
views
If I do not care about debug support in red hat packages, what are the drawbacks of turning build-id support off in the specs file?
As a follow up on this question, what if I am not interested in having these debug features - how do I simply prevent these build-id files (debug info packages?) from being installed ? Ultimately I do ...
0
votes
1
answer
647
views
Same RPM for multiples CentOS major versions
I've created a little bash script and build it into a RPM package.
This little bash script works very well on CentOS 5, CentOS 6 and CentOS 7 (and probably on CentOS 8, not checked)
My question is: Do ...
2
votes
1
answer
1k
views
Build RPM subpackages without a base package
According to a RPM documentation/guide (http://ftp.rpm.org/max-rpm/ch-rpm-subpack.html) one can use subpackages to build multiple RPM packages with a single SPEC file. In the mentioned link the ...
0
votes
1
answer
154
views
How do I get around a transaction check error in an RPM that needs to overwrite a configuration file?
I'm packing something and the upstream provider clobbers a configuration file.
Transaction check error:
file /etc/acme-engine/acme-engine-fpm.conf from install of acme-1-74.1.el7.noarch conflicts ...
1
vote
1
answer
1k
views
How does pkg-config work in RPM specfiles?
In some RPM specfiles, I see lines like:
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libssl)
...
I am not very familiar with pkgconfig but I understand ...
1
vote
2
answers
140
views
Rpmlint "use-tmp-in-%postun" error
rpmlint output:
E: use-tmp-in-%postun
Spec file:
%postun
rm -r /var/aci /tmp/aci_tmp 2> /dev/null
Also, I cant remove package
How I can remove directory in /tmp after or before uninstalling ...
1
vote
0
answers
339
views
How does YUM decide which package is the best install candidate for a dependency when there are several options?
I have a package that I need to be compatible with openjdk 11 and oracle java 11. I'm trying to create a metapackage that can depend on openjdk java 11 or oracle java 11:
My openjdk metapackage spec ...
0
votes
0
answers
306
views
How to create RPM for generic Perl module
I have a generic Perl module that will run on any release of Perl 5. I need to create an RPM for it that will install it into the vendor_perl subdirectory.
I don't want to create different RPMs for ...
1
vote
1
answer
2k
views
CentOS 7 - problem encountered with the set up of spec file during creation of RPM package
I'm aiming to translate a Debian package to an RPM package to install it on a CentOS Linux 7 (Red Hat).
I used alien to accomplish it: alien --to-rpm --scripts --keep-version --generate debian_pkg.deb....