Displaying 11 results from an estimated 11 matches for "postuninstall".
2017 Sep 30
2
yum repo issue
hi johnny,
>> anyone any hints how to debug this or some clues what could be going
>> wrong here.
>
> Do you have an exclude in /etc/yum.conf for ibutils-libs?
how embarassing. there was indeed an exclude on ibutils-libs. (this must
be some leftover from using mlnx ofed. we are switching from c73+mlnx
ofed 3.4 to c74 stock ib (there's no mlnxofed3.4 for c74, and our old
2017 Mar 13
2
How do I confirm importing repo key without user intervention?
...or the
$selinuxvariant variant"
/usr/sbin/semodule -s ${selinuxvariant} -i \
/usr/share/selinux/${selinuxvariant}/passenger.pp || :
fi
done
/sbin/fixfiles -R passenger restore || :
/sbin/restorecon -R /usr/lib64/passenger/support-binaries || :
fi
postuninstall scriptlet (using /bin/sh):
if [ $1 -eq 0 ] ; then
actual_selinux_variants=;
for selinux_policy_file in /etc/selinux/*/policy; do
selinux_policy_dir=$(dirname ${selinux_policy_file});
actual_selinux_variants="$actual_selinux_variants $(basename
${selinux_policy_dir})&qu...
2017 Sep 30
0
yum repo issue
hi all,
in case someone else runs into it, it is the opfed-scripts rpm that has
a postinstall and postuninstall script that changes the yum.conf (bad,
mellanox, bad)
for a pure/regular uninstall it works fine, but to swap ibutils from
mlnxofed to ib stack from os, yum obviously doesn't know that the
exclude will be removed.
i've seen worse in vendor-provided rpms, but i guess it caught me
offguard...
2005 Jun 03
0
Re: Reboots -- lsof and SIGHUP, a combination to know ...
From: Ralph Angenendt <ra+centos at br-online.de>
> If you can read binary :)
> The script section of the glibc RPM is a very simple one:
> [angenenr at shutdown dict]$rpm -q --scripts glibc
> postinstall program: /usr/sbin/glibc_post_upgrade.i686
> postuninstall program: /sbin/ldconfig
> And I cannot find Documentation for glibc_post_upgrade at the moment, a
> "strings" on that binary doesn't really help either.
I'll look through the source. Looks like it may be a bit more involved
than just a simple SIGHUP.
--
Bryan J. Smith...
1999 Dec 04
0
updated SuSE spec file
...I've made some
changes since the copy that went out with pre15, and I've been a
little lax in sending the updates up.
Namely, one of the fixes includes not making symlinks part of the
package itself. They are now done with a postinstall script and are
removed (if found) by a postuninstall script. Some of the messages
output by these scripts are now more user-oriented. (Why bother
saying that we're creating a new host key if one already exists and we
aren't going to make one?) I've also marked manual pages as %doc.
Damien, I'll be sending you up the whole...
2008 Dec 12
3
Error on Samba 3.2.6 installation
When I installed Samba 3.2.6 from Sernet, I got the following error:
/var/tmp/rpm-tmp.54116: line 2: fg: no job control
error: %postun(samba3-3.0.32-36.i386) scriptlet failed, exit status 1
The error happens when installing the samba and winbind RPMs.
I got the same error when installing the previous version 3.2.5 and
perhaps 3.2.4. The "rpm-tmp.number" was different in those cases,
2014 Mar 13
1
Are the "centos.org" AMIs in the EC2 marketplace "official"? locale breakage in 6.4 AMI
...ing /bin/sh):
# Register the snvserve service
/sbin/chkconfig --add svnserve 2>&1
/sbin/ldconfig
preuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
/sbin/service svnserve stop > /dev/null 2>&1 || :
/sbin/chkconfig --del svnserve > /dev/null 2>&1 || :
fi
postuninstall program: /sbin/ldconfig
[root at dns-east svn]#
--
Dan Pritts
ICPSR Computing & Network Services
University of Michigan
+1 (734)615-7362
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20140313/91b8...
2017 Mar 12
2
How do I confirm importing repo key without user intervention?
> what about importing the key beforehand
> rpm --import keyfile
That's what I do. But when I try to install a package from that
(passenger) repository manually, yum wants my confirmation:
# curl --fail -sSLo /etc/yum.repos.d/passenger.repo
https://oss-binaries.phusionpassenger.com/yum/definitions/el-passenger.repo
# grep gpgkey /etc/yum.repos.d/passenger.repo
2007 Apr 04
1
seamonkey on Centos 2.1 deletes itself!
...sr/lib/mozilla-seamonkey-1.0.8/mozilla-rebuild-databases.pl
fi
preuninstall scriptlet (through /bin/sh):
# is a final removal?
if [ "$1" == "0" ]; then
/bin/rm -rf /usr/lib/mozilla-seamonkey-1.0.8/chrome/overlayinfo
/bin/rm -f /usr/lib/mozilla-seamonkey-1.0.8/chrome/*.rdf
fi
postuninstall scriptlet (through /bin/sh):
/sbin/ldconfig >/dev/null 2>/dev/null
# was this an upgrade?
if [ "$1" == "2" ]; then
if [ -f /usr/lib/mozilla-seamonkey-1.0.8/mozilla-rebuild-databases.pl ];
then
/usr/lib/mozilla-seamonkey-1.0.8/mozilla-rebuild-databases.pl
fi
fi
[...
2005 Jun 02
2
Re: Reboots -- lsof and SIGHUP, a combination to know ...
From: Simon Perreault <nomis80 at lqt.ca>
> Sure, theoretically it would be possible, but how would you restart this one?
> [nomis80 at poste10-153 ~]$ sudo lsof | grep libc | grep init
> init 1 root mem REG 253,0 1521500 999437 /lib/tls/libc-2.3.5.so
I need to verify the post-install script for the glibc RPM, but
I believe it SIGHUPs the process -- and
2006 Nov 08
2
Problems with yum/rpm and %pre scriptlet error 255
I am running xen (2.6.16-xen3_86.1_rhel4.1) on top of a stock CentOS-4.4
installation. I have not added any additional virtual machines however.
When trying to install (as root) acrobat reader 7 for Linux from the adobe
rpm (AdobeReader_enu.i386 7.0.8-1) I get the following errors:
error: %pre(AdobeReader_enu-7.0.8-1.i386) scriptlet failed, exit status 255
error: install: %pre scriptlet