Displaying 20 results from an estimated 70 matches for "preun".
Did you mean:
preen
2010 Apr 22
2
rpm -U query
CentOS, RHEL, all versions.
Suppose I am upgrading a package foo-1.0 to foo-2.0 (assume foo is not
relocatable), and both packages have %preun sections in their .spec files.
It appears that foo-1.0's %preun is run after foo-2.0 has been installed.
So what happens if foo-1.0 needs to run a binary that was provided as part
of foo-1.0 during its %preun stage, and a binary of the same name is
provided with foo-2.0? The installed binar...
2007 Jan 08
2
rpm scriptlet failed
I have a system (Centos 4.4 all packages uptodate) where almost every
rpm or yum operation fails with a message like e.g.:
error: %preun(a2ps-4.13b-41.i386) scriptlet failed, exit status 255
some times the error is on %post()
the last few lines of output from
rpm -e -vv a2ps
are
D: ========== --- a2ps-4.13b-41 i386-linux 0x1
D: erase: a2ps-4.13b-41 has 316 files, test = 0
D: opening db index /var/lib/rpm/Name create mo...
2006 Apr 02
2
yum update error
...pre(kernel-smp-2.6.9-34.EL.x86_64) scriptlet failed, exit status 255
error: install: %pre scriptlet failed (2), skipping kernel-smp-2.6.9-34.EL
error: %pre(kernel-2.6.9-34.EL.x86_64) scriptlet failed, exit status 255
error: install: %pre scriptlet failed (2), skipping kernel-2.6.9-34.EL
error: %preun(initscripts-7.93.20.EL-1.x86_64) scriptlet failed, exit status
255
error: %preun(nscd-2.3.4-2.13.x86_64) scriptlet failed, exit status 255
error: %preun(squid-2.5.STABLE6-3.4E.11.x86_64) scriptlet failed, exit
status 255
error: %preun(diskdumputils-1.1.9-4.x86_64) scriptlet failed, exit status
2...
2020 Jan 22
5
yum update / kernal update failed - remove or repair
I have a VPS running C7. I ran a 'yum update' which included a kernel update. The yum update wasn't a total success because mariadb updates failed. However everything else appeared to work.
However, when I rebooted the server it did not restart. I have managed to get the ISP's support desk to boot the server by selecting the previous kernel, and I now have access to my box again.
2020 Jan 23
2
yum update / kernal update failed - remove or repair
...onf.rpmnew
> 13 error: Couldn't fork %triggerin(microcode_ctl-2:2.1-53.7.el7_7.x86_64): Cannot allocate memory
> 14 error: php-pear-1:1.10.10-2.el7.remi.noarch: erase skipped
> 15 error: MariaDB-server-10.4.10-1.el7.centos.x86_64: erase skipped
> 16 error: Couldn't fork %preun(MariaDB-shared-10.4.10-1.el7.centos.x86_64): Cannot allocate memory
> 17 error: MariaDB-shared-10.4.10-1.el7.centos.x86_64: erase failed
> 18 error: Couldn't fork %postun(MariaDB-compat-10.4.10-1.el7.centos.x86_64): Cannot allocate memory
> 19 error: ca-certificates-2018.2.22-70....
2020 Jan 22
0
yum update / kernal update failed - remove or repair
.../etc/clamd.d/scan.conf.rpmnew
13 error: Couldn't fork %triggerin(microcode_ctl-2:2.1-53.7.el7_7.x86_64): Cannot allocate memory
14 error: php-pear-1:1.10.10-2.el7.remi.noarch: erase skipped
15 error: MariaDB-server-10.4.10-1.el7.centos.x86_64: erase skipped
16 error: Couldn't fork %preun(MariaDB-shared-10.4.10-1.el7.centos.x86_64): Cannot allocate memory
17 error: MariaDB-shared-10.4.10-1.el7.centos.x86_64: erase failed
18 error: Couldn't fork %postun(MariaDB-compat-10.4.10-1.el7.centos.x86_64): Cannot allocate memory
19 error: ca-certificates-2018.2.22-70.0.el7_5.noarch:...
2020 Jan 23
0
yum update / kernal update failed - remove or repair
...t fork
>> %triggerin(microcode_ctl-2:2.1-53.7.el7_7.x86_64): Cannot allocate
>> memory
>> 14 error: php-pear-1:1.10.10-2.el7.remi.noarch: erase skipped
>> 15 error: MariaDB-server-10.4.10-1.el7.centos.x86_64: erase skipped
>> 16 error: Couldn't fork
>> %preun(MariaDB-shared-10.4.10-1.el7.centos.x86_64): Cannot allocate
>> memory
>> 17 error: MariaDB-shared-10.4.10-1.el7.centos.x86_64: erase failed
>> 18 error: Couldn't fork
>> %postun(MariaDB-compat-10.4.10-1.el7.centos.x86_64): Cannot allocate
>> memory
>>...
2011 Dec 08
8
Puppet Dashboard or Forman on SLES?
Hi all,
i planned for a startup to install one of this gui tools. But if i
look in the documentation, or google it, i find no results which
helps.
If i would like to install the rpm package i get the following
dependencies problems
rpm -i puppet-dashboard-1.2.3-1.el6.noarch.rpm
warning: puppet-dashboard-1.2.3-1.el6.noarch.rpm: Header V4 RSA/SHA1
signature: NOKEY, key ID 4bd6ec30
error: Failed
2009 Jul 09
1
[PATCH ovirt-node] add glusterfs-client dependency for ovirt-node
---
ovirt-node.spec.in | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index 746cf3d..2fdf4f5 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -21,7 +21,7 @@ Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
BuildRequires: libvirt-devel >= 0.5.1
BuildRequires: dbus-devel hal-devel
-Requires: libvirt >= 0.5.1
+Requires: libvirt >= 0.6.3
Requires: augeas >= 0.3.5
Requires: libvirt-qpid >= 0.2.14-3
Requires: hal
@@ -31,6 +31,7 @@ Requir...
2009 Aug 12
0
[PATCH node] drop collectd startup reordering hack
...llectd.con
/sbin/chkconfig --add ovirt-firstboot
/sbin/chkconfig --add ovirt
/sbin/chkconfig --add ovirt-post
-# this is ugly; we need collectd to start *after* libvirtd, so we own the
-# /etc/chkconfig.d/collectd file, and then have to re-define collectd here
-/sbin/chkconfig --add collectd
%preun stateless
if [ "$1" = 0 ] ; then
@@ -255,11 +251,6 @@ if [ "$1" = 0 ] ; then
/sbin/chkconfig --del ovirt-post
fi
-%post stateful
-/sbin/chkconfig --add collectd
-
-%preun stateful
-
%post selinux
for selinuxvariant in %{selinux_variants}; do
/usr/sbin/semodule -s ${s...
2000 Mar 06
2
spec file
I have looked into the spec file for the openssh rpm.
In the %preun stanza, I noticed that the currently running sshd is
stopped only when removing the package. On the other hand, it is
theoretically possible that a new version of openssh may install files
which would make the old sshd misbehave.
So I think, it is better to stop sshd every time the package is
u...
2000 Sep 27
2
PATCH: OpenSSH RPM spec file problems
...Hat 5.2; else the spec file is fine. Initscripts requirement (for
the one in RH60) added.
2. If you're upgrading over SSH ltd's ssh-server, the server will be
stopped and sshd removed from chkconfig --list. Obsoleletion doesn't seem
to qualify as "clean" operation, so the %preun will be run
regardless. H.J. Lu <hjl at valinux.com> supplied the patch. Tested.
Similar issues (at least the second) surely apply for the SuSE SPEC file
too.
--
Pekka Savola "Tell me of difficulties surmounted,
Pekka.Savola at netcore.fi not those you stumble...
2009 Jul 28
1
[PATCH ovirt-node] Removed subpackages, stateful, stateless, logos, and selinux for inclusuion in Fedora
.../chkconfig --add ovirt-firstboot
/sbin/chkconfig --add ovirt
@@ -246,55 +180,27 @@ sed '/<Plugin network>/,/<\/Plugin>/d' /etc/collectd.conf.in > /etc/collectd.con
# /etc/chkconfig.d/collectd file, and then have to re-define collectd here
/sbin/chkconfig --add collectd
-%preun stateless
-if [ "$1" = 0 ] ; then
- /sbin/chkconfig --del ovirt-early
- /sbin/chkconfig --del ovirt-firstboot
- /sbin/chkconfig --del ovirt
- /sbin/chkconfig --del ovirt-post
-fi
-
-%post stateful
-/sbin/chkconfig --add collectd
-
-%preun stateful
-
-%post selinux
for selinuxvariant...
2011 Mar 22
13
Foreman 0.2 Release Candidate
Hello All,
I''m happy to announce a new release candidate of Foreman, top highlights
for this release includes:
* New look and feel
* Extended restful API
* Support for New Puppet Reports format
* Full VM/physical host Provisioning
* Powerful template generator ( pxelinux, gpxe, kickstart, preseed, grub
etc..)
* introduce a new service called smart proxy (which can run on remote
2007 Dec 06
2
RPM Spec and subpackage architecture
Are there any RPM wizards out there that know how to specify a
different architecture for a subpackage in a spec file?
I have a package that has a binary component and a non-binary
component that I would like split into 2 packages one, the
binary which is architecture dependant and the other 'noarch'.
I haven't found a spec file that does this yet :-(
Ross S. W. Walker
2015 Sep 08
3
Report on Xen-4.6rc2 from virt7-xen-46-candidate
...ored is
ready
Sep 08 23:13:43 xencen7ws.virtfinity.local systemd[1]: Started The Xen
xenstore.
As you can see, xenstored.service is running, but disabled by the
package installation. This is, because xenstored.service apparently got
overseen in the source-rpm's spec-file's post runtime/preun runtime. See
diff [1] for details.
Also, I think xenstored should write a pidfile. You might consider
adding to /usr/lib/systemd/system/xenstored.service:
PIDFile=/var/run/xenstored.pid
and change
ExecStart=/usr/sbin/xenstored
to
ExecStart=/usr/sbin/xenstored --pid-file /var/run/xenstored.pid
$...
2015 Mar 24
2
error building php spec file
...sable-debug
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_initrddir}
install -Dp -m0755 sapi/fpm/init.d.php-fpm.in
%{buildroot}%{_initrddir}/php-fpm
%{__make} install INSTALL_ROOT="%{buildroot}"
%clean
rm -rf %{buildroot}
%post
%/sbin/chkconfig php-fpm on
%preun
if [ "$1" = 0 ] ; then
/sbin/service php-fpm stop > /dev/null 2>&
/sbin/chkconfig --del php-fpm
fi
exit 0
%postun
if [ "$1" -ge 1 ]; then
/sbin/service php-fpm condrestart > /dev/null 2>&
fi
exit 0
%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_...
2014 Aug 19
0
failure building memcached rpm
...D
Group: System Environment/Daemons
URL: http://memcached.org/
Source: http://memcached.googlecode.com/files/memcached-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: cyrus-sasl-devel
BuildRequires: libevent-devel
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig, /sbin/service
Requires(postun): /sbin/service
%description
memcached is a high-performance, distributed memory object caching system,
generic in nature, but intended for use in speeding up dynamic web
applications by alleviating database load.
%package devel
Group: Development/...
2007 Sep 12
0
Re: [CentOS-devel] Areca RAID drivers
...nment/Kernel
# Need to unzip driver archive and convert to tgz
URL: ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/Linux/DRIVER/CentOS/CentOS-5.0
Source: arcmsr.redhat.%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
Requires: gcc
Requires(post): dkms
Requires(preun): dkms
%description
Driver (Linux kernel module) for Areca RAID Controllers.
%prep
%setup -n arcmsr.redhat.%{version}
%build
%install
%{__rm} -rf %{buildroot}
%define dkms_name arcmsr
%define dkms_vers %{version}-%{release}
%define quiet -q
# Kernel module sources install for dkms
%{__mkdir...
2009 Aug 11
0
[PATCH server] Added support for remote logging with rsyslog-gssapi to server.
...-server.spec.in b/ovirt-server.spec.in
index 0715690..ec18b38 100644
--- a/ovirt-server.spec.in
+++ b/ovirt-server.spec.in
@@ -45,6 +45,7 @@ Requires: ruby-qpid >= 0.5.776856
Requires: qpidc
Requires: qmf
Requires: ruby-qmf
+Requires: rsyslog-gssapi
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
@@ -153,6 +154,7 @@ touch %{buildroot}%{_localstatedir}/log/%{name}/db-omatic.log
%{__cp} -a %{pbuild}/scripts/ovirt-reindex-search %{buildroot}%{_sbindir}
%{__cp} -a %{pbuild}/scripts/ovirt-update-search %{buildroot}%{_sbindir}
%{__cp} -a %{pbui...