<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic rpm error... in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556045#M17934</link>
    <description>all,&lt;BR /&gt;I am getting an rpm error when trying to un-install a package on redhat advance server 4.  Below is the error:&lt;BR /&gt;D: ========== --- MQSeriesClient-5.3.0-2 i386-Linux 0x0&lt;BR /&gt;D:     erase: MQSeriesClient-5.3.0-2 has 17 files, test = 0&lt;BR /&gt;D: opening  db index       /var/lib/rpm/Name create mode=0x42&lt;BR /&gt;D:  read h#    1399 Header sanity check: OK&lt;BR /&gt;D: opening  db index       /var/lib/rpm/Triggername create mode=0x42&lt;BR /&gt;D:     erase: %preun(MQSeriesClient-5.3.0-2.i386) asynchronous scriptlet start&lt;BR /&gt;D:     erase: %preun(MQSeriesClient-5.3.0-2.i386)       execv(/bin/sh) pid 1302&lt;BR /&gt;D:     erase: waitpid(1302) rc 1302 status ff00 secs 0.000&lt;BR /&gt;error: %preun(MQSeriesClient-5.3.0-2.i386) scriptlet failed, exit status 255&lt;BR /&gt;&lt;BR /&gt;Any idea? Thanks.</description>
    <pubDate>Wed, 01 Jun 2005 13:50:32 GMT</pubDate>
    <dc:creator>K.C. Chan</dc:creator>
    <dc:date>2005-06-01T13:50:32Z</dc:date>
    <item>
      <title>rpm error...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556045#M17934</link>
      <description>all,&lt;BR /&gt;I am getting an rpm error when trying to un-install a package on redhat advance server 4.  Below is the error:&lt;BR /&gt;D: ========== --- MQSeriesClient-5.3.0-2 i386-Linux 0x0&lt;BR /&gt;D:     erase: MQSeriesClient-5.3.0-2 has 17 files, test = 0&lt;BR /&gt;D: opening  db index       /var/lib/rpm/Name create mode=0x42&lt;BR /&gt;D:  read h#    1399 Header sanity check: OK&lt;BR /&gt;D: opening  db index       /var/lib/rpm/Triggername create mode=0x42&lt;BR /&gt;D:     erase: %preun(MQSeriesClient-5.3.0-2.i386) asynchronous scriptlet start&lt;BR /&gt;D:     erase: %preun(MQSeriesClient-5.3.0-2.i386)       execv(/bin/sh) pid 1302&lt;BR /&gt;D:     erase: waitpid(1302) rc 1302 status ff00 secs 0.000&lt;BR /&gt;error: %preun(MQSeriesClient-5.3.0-2.i386) scriptlet failed, exit status 255&lt;BR /&gt;&lt;BR /&gt;Any idea? Thanks.</description>
      <pubDate>Wed, 01 Jun 2005 13:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556045#M17934</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-06-01T13:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: rpm error...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556046#M17935</link>
      <description>Hi KC,&lt;BR /&gt;&lt;BR /&gt;Verify if there is any process running ownning some file that belongs to that software (MQSeries Client). May be that is the problem.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Xyko</description>
      <pubDate>Wed, 01 Jun 2005 14:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556046#M17935</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2005-06-01T14:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: rpm error...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556047#M17936</link>
      <description>xyko is precisely right:&lt;BR /&gt;&lt;BR /&gt;D: erase: waitpid(1302) rc 1302 status ff00 secs 0.000&lt;BR /&gt;&lt;BR /&gt;This is waiting for PID 1302 to finish up cleanly.  For some reason, it fails, causing the error on the next line.&lt;BR /&gt;&lt;BR /&gt;To find out what files are involved, use 'rpm -ql MQSeriesClient'.&lt;BR /&gt;&lt;BR /&gt;If you want to find out what it's actually doing, you can issue 'rpm -q --scripts MQSeriesClient', under the PreUninstall and PostUninstall sections.&lt;BR /&gt;&lt;BR /&gt;From there, stop any services or running programs that match the file list, and try removing the RPM again.&lt;BR /&gt;&lt;BR /&gt;If it still fails, then try removing without running the scripts, then manually walking through the uninstall scripts (rpm -e --noscripts MQSeriesClient).</description>
      <pubDate>Wed, 01 Jun 2005 16:23:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556047#M17936</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-06-01T16:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: rpm error...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556048#M17937</link>
      <description>guys, I am taking another tact to the problem. I am using squid to test out the issue; Can't touch MQ for the moment. So far anything with post and pre-install script is broken. For squid I am getting this:&lt;BR /&gt;&lt;BR /&gt;error: %preun(squid-2.5.STABLE6-3.i386) scriptlet failed, exit status 255. which is the same error.&lt;BR /&gt;&lt;BR /&gt;Taking your suggestion to see what is behind the hood, i dump out the script:&lt;BR /&gt;&lt;BR /&gt;preuninstall scriptlet (using /bin/sh):&lt;BR /&gt;&lt;BR /&gt;'if [ $1 = 0 ] ; then&lt;BR /&gt;service squid stop &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;rm -f /var/log/squid/*&lt;BR /&gt;/sbin/chkconfig --del squid&lt;BR /&gt;fi&lt;BR /&gt;postuninstall scriptlet (using /bin/sh):&lt;BR /&gt;if [ "$1" -ge "1" ] ; then&lt;BR /&gt;service squid condrestart &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;fi'&lt;BR /&gt;&lt;BR /&gt;it is puking on "preuninstall scriptlet (using /bin/sh):". For some reasons it does not recognize that line. Any idea? Thanks.</description>
      <pubDate>Wed, 01 Jun 2005 21:33:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556048#M17937</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-06-01T21:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: rpm error...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556049#M17938</link>
      <description>'/bin/sh' should be a symbolic link to 'bash'.&lt;BR /&gt;&lt;BR /&gt;If it isn't, that will be causing some of your issues.  Other than that though, that seems really odd.  &lt;BR /&gt;&lt;BR /&gt;I'd verify your RPM installations and ensure that you've not corrupted ('rpm -V &lt;PACKAGE&gt;' is your friend) things or have a rootkit installed. (bad).&lt;/PACKAGE&gt;</description>
      <pubDate>Wed, 01 Jun 2005 23:31:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556049#M17938</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-06-01T23:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: rpm error...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556050#M17939</link>
      <description>&lt;BR /&gt;I second stuart's word. check whether /bin/sh link exists and it points to /bin/bash. &lt;BR /&gt;&lt;BR /&gt;second, try executing the specified preuninstall commands manually and see whether they are working as expected. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Thu, 02 Jun 2005 01:16:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556050#M17939</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-02T01:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: rpm error...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556051#M17940</link>
      <description>I am thinking it's RPM.  I am not sure how to interpret the result.  Attached is the result of "-V".  Also, I am getting these warning messages when runnin it:&lt;BR /&gt;&lt;BR /&gt;prelink: /usr/lib/rpm/rpmdb_svc: at least one of file's dependencies has changed since prelinking&lt;BR /&gt;prelink: /usr/lib/rpm/rpmdb_verify: at least one of file's dependencies has changed since prelinking&lt;BR /&gt;prelink: /usr/lib/rpm/rpmi: at least one of file's dependencies has changed since prelinking&lt;BR /&gt;prelink: /usr/lib/rpm/rpmk: at least one of file's dependencies has changed since prelinking&lt;BR /&gt;prelink: /usr/lib/rpm/rpmq: at least one of file's dependencies has changed since prelinking&lt;BR /&gt;&lt;BR /&gt;Any idea?  Thanks.&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jun 2005 11:28:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556051#M17940</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-06-02T11:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: rpm error...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556052#M17941</link>
      <description>BTW, /bin/sh is link to bash</description>
      <pubDate>Thu, 02 Jun 2005 11:29:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556052#M17941</guid>
      <dc:creator>K.C. Chan</dc:creator>
      <dc:date>2005-06-02T11:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: rpm error...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556053#M17942</link>
      <description>&lt;BR /&gt;if you feel this is rpm error then try upgrading rpm to a newer version. and/or try rebuilding rpm database by rpm --rebuilddb&lt;BR /&gt;&lt;BR /&gt;i hope somebody else might have better solution to this.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Thu, 02 Jun 2005 11:34:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/rpm-error/m-p/3556053#M17942</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-02T11:34:52Z</dc:date>
    </item>
  </channel>
</rss>

