search for: postun

Displaying 20 results from an estimated 61 matches for "postun".

2009 Apr 25
3
Bug in sernet RPM's postun?
Hi, I was just wondering whether this possible bug with the Sernet Samba3 RPMs for CentOS 5 is known, since it has not yet been fixed. When uninstalling the Sernet RPMs for Samba3 (in this case Samba 3.2.x) the %postun scriptlet fails every time with: # rpm -e samba3-3.2.0-36 /var/tmp/rpm-tmp.56356: line 2: fg: no job control error: %postun(samba3-3.2.0-36.x86_64) scriptlet failed, exit status 1 Consequently, yum reports an constantly increasing number of unfinished transactions and cannot uninstall outdated ve...
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
...pped > 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: erase skipped > 20 error: Couldn't fork %preun(microcode_ctl-2:2.1-53.3.el7_7.x86_64): Cannot allocate memory > 21 error: microcode_ctl-2:2.1-53.3.el7_7.x8...
2020 Jan 22
0
yum update / kernal update failed - remove or repair
...mi.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: erase skipped 20 error: Couldn't fork %preun(microcode_ctl-2:2.1-53.3.el7_7.x86_64): Cannot allocate memory 21 error: microcode_ctl-2:2.1-53.3.el7_7.x86_64: erase fai...
2020 Jan 23
0
yum update / kernal update failed - remove or repair
....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: erase skipped >> 20 error: Couldn't fork %preun(microcode_ctl-2:2.1-53.3.el7_7.x86_64): >> Cannot allocate memory >> 21 error: mic...
2011 Nov 05
1
[YUM] - Issue on package removal order on CentOS 5
...S 5. I am trying to package an application for CentOS. So I wrote my own specfile which is composed of declaration of various packages (main application and plugins for this applications). In that the configuration, the plugins RPM depends on the main application RPM because. Moreover, in all %postun blocks I execute a script which is provided my the main app RPM. My issue is that when I try to remove the packages with the yum remove command, the main app RPM is erased before the plugin RPM and in that case the postun scriptlets for the plugin fails because my script is not available anymo...
2017 Jul 17
2
Messages during update 'yum update' at CentOS 6 VM
...tory warning: %post(ipv6calc-1.0.0-20.el6.x86_64) scriptlet failed, exit status 127 Non-fatal POSTIN scriptlet failure in rpm package ipv6calc-1.0.0-20.el6.x86_64 Cleanup : ipv6calc-0.99.2-17.el6.x86_64 25/25 /var/tmp/rpm-tmp.i7G3si: line 1: /usr/sbin/ldconfig: No such file or directory warning: %postun(ipv6calc-0.99.2-17.el6.x86_64) scriptlet failed, exit status 127 Non-fatal POSTUN scriptlet failure in rpm package ipv6calc after this a ipv6calc -A conv6to4 77.88.99.111 works ... what does the messages should say to me ... Walter
2010 Mar 03
1
Update to 3.5 failed
I changed my Sernet Samba repos from 3.4 to 3.5 and updated the Sernet Packages on my CentOS Server with yum. During the installation I got %postun errors. The command "rpm -qa | grep -i samba" lists the following packages as installed: samba3-3.5.0-41.el5 samba3-3.2.11-40.el5 samba3-client-3.5.0-41.el5 samba3-3.2.8-38 samba3-winbind-3.5.0-41.el5 When I want to remove the useless packages samba3-3.2.8-38 and samba3-3.2.11-40.el5...
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, of course. Does anyone here know w...
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
2016 Oct 06
2
porting spec files
An rpm intended for a bleeding edge Fedora builds perfectly for me when I comment two macros apparently not in CentOS 7 - %transfiletriggerin and %transfiletriggerun Looks like they operate similar to %post and %postun but are different. Is a simple way to do what they do in CentOS 7 or do I have to change the packaging logic to build in CentOS 7 and have things work properly? -- -=- Sent my from my laptop, may not be able to respond timely
2017 Jul 17
0
Messages during update 'yum update' at CentOS 6 VM
...l6.x86_64) scriptlet failed, exit status > 127 > Non-fatal POSTIN scriptlet failure in rpm package > ipv6calc-1.0.0-20.el6.x86_64 > > Cleanup : ipv6calc-0.99.2-17.el6.x86_64 25/25 > /var/tmp/rpm-tmp.i7G3si: line 1: /usr/sbin/ldconfig: No such file or > directory > warning: %postun(ipv6calc-0.99.2-17.el6.x86_64) scriptlet failed, exit > status 127 > Non-fatal POSTUN scriptlet failure in rpm package ipv6calc > > after this a > ipv6calc -A conv6to4 77.88.99.111 > works ... > > what does the messages should say to me ... Looks like ipv6calc is provided b...
2015 Jul 06
0
Can't install gmime22
...a20 repository it is reported as installed but with these errors: Error unpacking rpm package filesystem-3.2-19.fc20.x86_64 error: unpacking of archive failed on file /bin: cpio: rename Cleanup : glibc-common-2.12-1.149.el6_6.9.x86_64 7/10 Cleanup : bash-4.1.2-29.el6.x86_64 8/10 Non-fatal POSTUN scriptlet failure in rpm package bash warning: %postun(bash-4.1.2-29.el6.x86_64) scriptlet failed, exit status 127 Cleanup : glibc-2.12-1.149.el6_6.9.x86_64 9/10 warning: /etc/localtime saved as /etc/localtime.rpmsave ...and also the system hang on shutdown and won't boot again Could you p...
2005 Jan 24
1
Error when updating centos-3.3 to 3.4
The following error appeared and I'm wondering if it's important enough to file a bug report: /var/tmp/rpm-tmp.8817: line 2: gdk-pixbuf-query-loaders: command not found error: %postun(librsvg2-2.2.3-2) scriptlet failed, exit status 127 Also /etc/sysconfig/rhn/rhn-applet.rpmnew got created; the difference is that the uuid has changed from a hex key to "UNSPECIFIED". I don't recall where that hex key came from -- was it in a previous CentOS release, or could it...
2008 Nov 03
1
rpm spec question
...a bunch of files so that i can deploy them with rpm - Its prtty much just a case of dumping some files on the filesystem. I achieve this with rpm without issue however when i remove the rpm from the system it also removes the dir that contains the files, even though i dont specify this in the %postun. Is there a way to tell rpm to NOT remove files/dir's that it creates unless i request it? thanks
2001 Mar 28
1
PATCH: buglet in vorbis-tools.spec
The attached typo results in error on uninstall of vorbis-tools: error: execution of %postun scriptlet from vorbis-tools-1.0beta4-1 failed, exit status 2 cheers/d -- nuclear cia fbi spy password code president bomb 8D97 F297 CA0D 8751 D8EB 12B6 6EA6 727F 9B8D EC2A <HR NOSHADE> <UL> <LI>text/plain attachment: vorbis-tools.spec.diff </UL> -------------- next p...
2008 Apr 08
3
Ruby RRDtool bindings and CentOS 5
...ool, ruby BuildRequires: ruby, gcc, rrdtool-devel %define debug_package %{nil} %description RRD bindings for Ruby. %prep %setup -q %build ruby extconf.rb make %install install -D -m0644 RRDtool.so %{buildroot}/usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so %clean rm -rf %{buildroot} %post %postun %files %defattr(-, root, root) /usr/lib/ruby/site_ruby/1.8/i386-linux/RRDtool.so --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@google...
2016 Oct 07
1
porting spec files
...t;> An rpm intended for a bleeding edge Fedora builds perfectly for me when >> I comment two macros apparently not in CentOS 7 - >> >> %transfiletriggerin >> >> and >> >> %transfiletriggerun >> >> Looks like they operate similar to %post and %postun but are different. >> >> Is a simple way to do what they do in CentOS 7 or do I have to change >> the packaging logic to build in CentOS 7 and have things work properly? >> > > These are file triggers, they trigger scripts to run when specific files > are added or r...
2009 Jul 28
1
[PATCH ovirt-node] Removed subpackages, stateful, stateless, logos, and selinux for inclusuion in Fedora
...ff BuildRequires: checkpolicy, selinux-policy-devel, hardlink %if "%{selinux_policyver}" != "" Requires: selinux-policy >= %{selinux_policyver} %endif -Requires: %{name} = %{version}-%{release} Requires(post): /usr/sbin/semodule, /sbin/restorecon Requires(postun): /usr/sbin/semodule, /sbin/restorecon -%description selinux -SELinux policy module supporting ovirt-node +ExclusiveArch: %{ix86} x86_64 + +%define app_root %{_datadir}/%{name} + +%description +Provides a series of daemons and support utilities to allow an +oVirt Node to interact with the oVirt...
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