search for: scriptlet

Displaying 20 results from an estimated 159 matches for "scriptlet".

2006 Apr 02
2
yum update error
...=================== Install 2 Package(s) Update 5 Package(s) Remove 0 Package(s) Total download size: 24 M Is this ok [y/N]: y Downloading Packages: Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction error: %pre(hal-0.4.2-3.EL4.x86_64) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping hal-0.4.2-3.EL4 error: %pre(diskdumputils-1.2.8-2.x86_64) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping diskdumputils-1.2.8-2 error: %pre(squid-2.5.STABLE6-3.4E.12.x86_64) scriptl...
2016 Apr 28
4
About mysql upgrade
Hi, I've found some issues upgrading mysql, some people recommends run mysql_upgrade. I wonder why such a script is not run from scriptlet of mysql-server rpm. Thanks in advance -- -- Sergio Belkin LPIC-2 Certified - http://www.lpi.org
2019 Feb 14
0
possible issue in Anaconda WRT processing %posttrans scriptlets?
...1.noarch (324/432) 15:42:35,743 INFO packaging: creating admin smbpasswd ... 15:42:35,743 INFO packaging: pdbedit: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: No such file or directory 15:42:35,745 INFO packaging: error: %pre(uid-admin-1-1.noarch) scriptlet failed, exit status 127 15:42:35,745 INFO packaging: ==== end rpm scriptlet logs ==== To rewind this: - in my uid-admin RPM's %pre scriptlet, I invoke /usr/bin/pdbedit. - /usr/bin/pdbedit is provided by samba-common-tools. - samba-common-tools requires libwbclient. and we can see they...
2017 Jul 17
2
Messages during update 'yum update' at CentOS 6 VM
Hello, at the last update (Kernel updated from 2.6.32-696.3.2.el6.x86_64 to 2.6.32-696.6.3.el6.x86_64) I got these messages Updating : ipv6calc-1.0.0-20.el6.x86_64 6/25 /var/tmp/rpm-tmp.yi7R81: line 1: /usr/sbin/ldconfig: No such file or directory 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, exi...
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 mode=0x42 D: read h# 1071 He...
2016 Apr 28
1
About mysql upgrade
On 28.04.2016 17:58, Lamar Owen wrote: > On 04/28/2016 08:45 AM, Sergio Belkin wrote: >> I've found some issues upgrading mysql, some people recommends run >> mysql_upgrade. I wonder why such a script is not run from scriptlet of >> mysql-server rpm. > Back in the Dark Ages of the PostgreSQL RPMset (PostgreSQL 6.5), early > in my time as RPM maintainer for the community PostgreSQL.org RPMset, I > asked a very similar question of some folks, and I got a canonical > answer from Mr. RPM himself, Jeff Johns...
2016 Apr 28
0
About mysql upgrade
On 04/28/2016 08:45 AM, Sergio Belkin wrote: > I've found some issues upgrading mysql, some people recommends run > mysql_upgrade. I wonder why such a script is not run from scriptlet of > mysql-server rpm. Back in the Dark Ages of the PostgreSQL RPMset (PostgreSQL 6.5), early in my time as RPM maintainer for the community PostgreSQL.org RPMset, I asked a very similar question of some folks, and I got a canonical answer from Mr. RPM himself, Jeff Johnson. The answer is no...
2006 Aug 31
1
centos 4.4: up2date rpm post scriptlet fail ?
Hi, I got this in yum update process : /var/tmp/rpm-tmp.43939: line 12: restorecon: command not found error: %post(up2date-4.4.69-25.centos4.5.i386) scriptlet failed, exit status 127 "restorecon" is from package "policycoreutils", this last one has never been installed on my system ... Any ideas ? -- Martin
2015 Dec 10
0
rpm scriptlet failed
Hello, While trying to install a rpm package in a Linux image under guestifish, the following error message is returned: sh "rpm -ivh --nodeps sympl.rpm" error: install: %pre scriptlet failed (2), skipping sympl If I boot the same image in QEMU and run the same command, no error message is returned and the package is correctly installed. The script contents is only a single "exit 0". I don't what could be the cause of this error. Please I would like to know whethe...
2005 May 27
2
rpm problem after recent yum update
After a yum update (yesterday), I am now unable to install any rpm package. An example of the error message is duplicated below: %pre(VMwareWorkstation-5.0.0-13124.i386) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping VMwareWorkstation-5.0.0-13124 Could anyone help? Thanks in advance.
2015 Jun 21
2
Trying to re-install ZFS drivers
...l6 will be an update 22:07:16 : INFO - YUM: ---> Package zfs-test.x86_64 0:0.6.4.1-1.el6 will be an update 22:07:16 : INFO - YUM: ---> Package spl-dkms.noarch 0:0.6.4.1-1.el6 will be an update 22:07:18 : INFO - spl-dkms-0.6.4.1-1.el6.noarch is installed 22:07:26 : INFO - YUM: Non-fatal POSTIN scriptlet failure in rpm package spl-dkms-0.6.4.1-1.el6.noarch 22:07:26 : INFO - RPM Scriptlet: Removing old spl-0.6.4.1 DKMS files... 22:07:26 : INFO - YUM: ------------------------------ 22:07:26 : INFO - YUM: Deleting module version: 0.6.4.1 22:07:26 : INFO - YUM: completely from the DKMS tree. 22:07:26 :...
2016 May 09
2
CentOS-6.7 problem updating kernel
...2.6.32-573.26.1.el6.noarch installed ** Updated kernel-headers-2.6.32-573.22.1.el6.x86_64 @updates Update 2.6.32-573.26.1.el6.x86_64 installed ** Updated perf-2.6.32-573.22.1.el6.x86_64 @updates Update 2.6.32-573.26.1.el6.x86_64 installed Scriptlet output: 1 error: %posttrans(kernel-2.6.32-573.26.1.el6.x86_64) scriptlet failed, signal 1 2 /sbin/dracut: line 1: 7063 Hangup ! ( umask 077; cd "$initdir"; find . | cpio -R 0:0 -H newc -o --quiet | $gzip -9 > "$outfile" ) history info Any ideas as to...
2009 Sep 21
1
NetworkManager invalid numeric argument
Got the following error running the latest yum update, any thoughts? useradd: invalid numeric argument 'avahi-autoipd' error: %pre(NetworkManager-0.7.0-4.el5_3.i386) scriptlet failed, exit status 3 error: install: %pre scriptlet failed (2), skipping NetworkManager-0.7.0-4.el5_3 Brian
2006 Nov 08
2
Problems with yum/rpm and %pre scriptlet error 255
...3_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 failed (2), skipping AdobeReader_enu-7.0.8-1 This occurs whether I use yum or rpm directly to effect installation and whether or not setenforce is 0 or 1 for SELinux. I have looked for similar errors on google but none of the remedies that...
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 versions of...
2009 Apr 09
3
mock %post(pam) failure
...ing the following error: ------ /var/tmp/rpm-tmp.77062: line 6: cat: command not found /var/tmp/rpm-tmp.77062: line 7: rm: command not found /var/tmp/rpm-tmp.77062: line 22: install: command not found /var/tmp/rpm-tmp.77062: line 25: install: command not found error: %post(pam-0.99.6.2-4.el5.i386) scriptlet failed, exit status 127 ------ Googling has revealed that Fedora had a similar problem about a year ago, but doesn't reveal what to do about it. Apparently there is a circular dependency between pam and coreutils. For some reason yum has recently decided to install pam before coreutils. Has a...
2020 Aug 05
2
Centos 7 shim fix failed
On 8/4/2020 11:20 AM, Jonathan Billings wrote: >> Running transaction >> Installing : kernel-3.10.0-1127.el7.x86_64 1/1 >> >> at which point the process appeared to hang. No further output happened for >> five minutes. I opened a different terminal and entered "shutdown -r now". >> The result is an unbootable system. >> >> >>
2010 Nov 26
1
rsyslog as default syslog daemon?
...I switched from sysklogd to rsyslog simply using chkconfig --del syslog chkconfig --add rsyslog chkconfig rsyslog on service syslog stop service rsyslog start but this seems not to be "bullet-proof" solution - when yum automaticaly install updates, sysklogd rpm package runs postinstall scriptlet which unfortunately returns sysklogd back to game (and breaks logging based on regex). # rpm -q --scripts sysklogd postinstall scriptlet (using /bin/sh): if [ "$1" -ge 1 ]; then /sbin/chkconfig --add syslog <<HERE for n in /var/log/{messages,secure,maillog,spooler}...
2007 Nov 17
1
Segmentation Faults on DomU
.../12] Updating : glibc-common ####################### [ 2/12] Updating : glibc ####################### [ 3/12] /usr/sbin/glibc_post_upgrade: While trying to execute /usr/sbin/iconvconfig.i686 child terminated abnormally error: %post(glibc-2.5-18.fc6.i686) scriptlet failed, exit status 115 Installing: cpp ####################### [ 4/12] error: %post(cpp-4.1.2-13.fc6.i386) scriptlet failed, signal 11 error: %pre(glibc-headers-2.5-18.fc6.i386) scriptlet failed, signal 11 error: install: %pre scriptlet failed (2), skipping glibc-heade...
2015 Jun 21
0
Trying to re-install ZFS drivers
...> 22:07:16 : INFO - YUM: ---> Package zfs-test.x86_64 0:0.6.4.1-1.el6 will be an update > 22:07:16 : INFO - YUM: ---> Package spl-dkms.noarch 0:0.6.4.1-1.el6 will be an update > 22:07:18 : INFO - spl-dkms-0.6.4.1-1.el6.noarch is installed > 22:07:26 : INFO - YUM: Non-fatal POSTIN scriptlet failure in rpm package spl-dkms-0.6.4.1-1.el6.noarch > 22:07:26 : INFO - RPM Scriptlet: Removing old spl-0.6.4.1 DKMS files... > 22:07:26 : INFO - YUM: ------------------------------ > 22:07:26 : INFO - YUM: Deleting module version: 0.6.4.1 > 22:07:26 : INFO - YUM: completely from the D...