Tag Info

New answers tagged

1

There is Copr, more information on the Wiki.


0

With rpmbuild you have 2 options. 1. --noclean You can instruct rpmbuild to not remove these files with this switch when you are --rebuild'ing a package. $ rpmbuild --rebuild --noclean .... NOTE: This is available in most versions that I have access to. $ rpmbuild --help |& grep clean --clean remove build tree when done ...


4

Using RPM Try the following: $ rpm -Uvh --oldpackage pkg1.rpm pkg2.rpm excerpt from rpm man page rpm {-U|--upgrade} [install-options] PACKAGE_FILE ... This upgrades or installs the package currently installed to a newer version. This is the same as install, except all other version(s) of the package are removed after the new package is ...


0

CentOS uses the source packages of RHEL to create the CentOS OS. So OS versions are the same in both the cases. CentOS is the carbon copy version of RHEL with better support for drivers and packages which RHEL cannot support due to its policies. You get a lot of packages from EPEL for CentOS. You can use a rpm package for CentOS, keep in mind your ...


0

try yum update atomic-release if that did not work try wget -q -O - https://www.atomicorp.com/installers/atomic | sh


3

The reason this doesn't work is because each scriptlet (%post, %pre, etc.) is written as an independent script and passed to bash/sh for execution. Thus the shell that executes it is unaware of any function defined in another scriptlet. I'd recommend using RPM macros for this purpose. You can put them in ~/.rpmmacros or /etc/rpm/macros. Something like ...


0

Not sure if this will help you or not but check out this linke: http://serverfault.com/questions/401504/munin-on-centos-6-missing-perl-module-compat-5-8-8 It look to me like you have many perl rpms installed for el5 instead of el6 and this is probably why you are receiving these errors.


4

There's an undocumented --verifydb flag that's been around since at least rpm-4.1. See rpm/rpmdb.c: { "verifydb", '\0', (POPT_ARG_VAL|POPT_ARGFLAG_OR|POPT_ARGFLAG_DOC_HIDDEN), &mode, MODE_VERIFYDB, N_("verify database files"), NULL}, So rpm --verifydb should do exactly what you're looking for.


1

Yup, libpng is a hot mess. Here are a few tips: First, a sanity check: package-cleanup --cleandupes Swap usually works, but may require a bit of experimentation: yum swap -- install libpng12 libpng12-devel -- remove libpng libpng-devel And if you're feeling wily, you can always skip the multilib check: --setopt=protected_multilib=false


8

Assume that you have # at beginning of comment lines, so you can do: yum -y install $(awk '!/^#/' list) !/^#/ cause awk to ignore any lines that start with #, print the rest.



Top 50 recent answers are included