On Mon, Oct 31, 2011 at 2:44 AM, Paul Howarth <paul(a)city-fan.org> wrote:
On Sun, 30 Oct 2011 08:57:41 -0500
Richard Shaw <hobbes1069(a)gmail.com> wrote:
> I'm trying to build a F16 package under mock on my F15 system and I'm
> getting the following error:
>
> Non-fatal POSTUN scriptlet failure in rpm package python-libs
> /sbin/ldconfig: relative path `1' used to build cache
> warning: %postun(python-libs-2.7.2-4.fc16.x86_64) scriptlet failed,
> exit status 1
> Traceback (most recent call last):
> File "/usr/lib/python2.7/site-packages/yum/rpmtrans.py", line 395,
> in callback File "/usr/lib/python2.7/site-packages/yum/rpmtrans.py",
> line 499, in _unInstStop
> File "/usr/lib/python2.7/site-packages/yum/rpmtrans.py", line 246,
> in _scriptout
> File "/usr/lib/python2.7/site-packages/yum/history.py", line 863, in
> log_scriptlet_output
> File "/usr/lib/python2.7/site-packages/yum/sqlutils.py", line 168,
> in executeSQLQmark
> sqlite3.OperationalError: disk I/O error
> error: python callback <bound method RPMTransaction.callback of
> <yum.rpmtrans.RPMTransaction instance at 0x36f6bd8>> failed, aborting!
>
> Anyone else have this problem or is it only exposed under mock? I just
> installed F16 on my laptop and don't remember having any issues.
>
> I went into the mock shell to see what the scripts were doing but I
> didn't see anything out of the ordinary...
>
> $ rpm -q --scripts python-libs
> postinstall program: /sbin/ldconfig
> postuninstall program: /sbin/ldconfig
>
> Richard
ISTR seeing this before, and deleting the mock root cache fixed it for
me.
I'll give it a try but I think I did a --scrub=all already...
Richard