Hot answers tagged

4

In fact, most RPM packages you will find are not relocatable. The Fedora Packaging Guidelines have this to say: The use of RPM's facility for generating relocatable packages is strongly discouraged. It is difficult to make work properly, impossible to use from the installer or from yum, and not generally necessary if other packaging guidelines are ...


3

each rpm specifies a list of files and directories that it installs. Two rpms cannot install the same files or directories. In your spec file (or whatever file you use to describe the rpm you build) you should not install the /etc/systemd/ and /etc/systemd/system/ directories. In a spec file; you should NOT use: %files /etc/systemd/ but %files ...


2

that will work perfectly for "noarch" rpms; but for any other rpm; I would strongly recommend building rpms on the same machine as the one where you will install it. Consider downloading the source rpms and rebuilding the rpms yourself (using rpmbuild --rebuild)


1

Use reposync from the yum-utils package. man page. I think it still works with dnf if your yum got replaced by that. reposync is a python script. We can see it does # Lock if they've not given an explicit cachedir ... my.doLock() and if we look at pydoc yum.YumBase there is doLock(self, lockfile='/var/run/yum.pid') Acquire the yum lock. so it seems ...


1

Apparently (no experience since I am not a yum user), yum keeps a history of transactions, which you can list using yum history or yum history list to get a list of transactons and then yum history info <transaction id> which will tell you what was installed/updated etc and you can undo transactions using yum history undo <transaction ...


1

I had this problem with CentOS 7.2 and ImageMagick 6.9.3-9. After much trial and error I discovered that 6.9.3-8 works, while 6.9.3-9 has dependencies that fail to resolve. Fortunately http://rpm.pbone.net/ found a repository with the older version. IMAGEMAGICK_VERSION=6.9.3-8 # Be warned, 6.9.3-9 does not work; dependencies fail to resolve ...



Only top voted, non community-wiki answers of a minimum length are eligible