[WEB] FC5 apt fails on post-scripts

Dag Wieers dag at wieers.com
Tue Jun 20 04:42:32 PDT 2006


On Tue, 20 Jun 2006, Pablo Endres wrote:

> On Tue, 20 Jun 2006, Dag Wieers wrote:
> > On Mon, 19 Jun 2006, Pablo Endres wrote:
> > > On Mon, 19 Jun 2006, Dag Wieers wrote:
> > > > On Sun, 18 Jun 2006, Pablo Endres wrote:
> > > > 
> > > > > Thanks for the reply here is the info you asked for:
> > > > > 
> > > > > Checking GPG signatures...
> > > > > ########################################### [100%]
> > > > > Committing changes...
> > > > > Preparing...
> > > > > ########################################### [100%]
> > > > >    1:imlib2
> > > > > ########################################### [33%]
> > > > > error: %post(imlib2-1.2.2-1.fc5.rf.i386) scriptlet failed, exit status 255
> > > > >    2:a52dec
> > > > > ########################################### [67%]
> > > > >    3:ffmpeg
> > > > > ########################################### [100%]
> > > > > error: %post(ffmpeg-0.4.9-0.5.20060317.fc5.i386) scriptlet failed, exit status 255
> > > > > W: Some errors occurred while running transaction
> > > > > 
> > > > > [root at keymaker SOURCES]# rpm -qp --scripts /var/cache/apt/archives/imlib2_1.2.2-1.fc5.rf_i386.rpm
> > > > > postinstall scriptlet (using /bin/sh):
> > > > > /sbin/ldconfig 2>/dev/null
> > > > > postuninstall scriptlet (using /bin/sh):
> > > > > /sbin/ldconfig 2>/dev/null
> > > > > 
> > > > > [root at keymaker SOURCES]# rpm -qp --scripts /var/cache/apt/archives/ffmpeg_0.4.9-0.5.20060317.fc5_i386.rpm
> > > > > postinstall scriptlet (using /bin/sh):
> > > > > /sbin/ldconfig
> > > > > chcon -t textrel_shlib_t /usr/lib/libav{codec,format,util}.so.*.*.* \
> > > > >     &>/dev/null || :
> > > > > postuninstall program: /sbin/ldconfig
> > > > > 
> > > > > My box is running FC5 with apt-0.5.15lorg3.1
> > > > > 
> > > > > Need anything else?
> > > > 
> > > > Yes, apparently your system has a problem running ldconfig. Try to run it
> > > > as root and then fix whatever it outputs. This is not related to our
> > > > packages, but to your system.
> > >
> > > DAG, I ran through another package that had the same behavior:
> > > xchat.  I think it is basically anything with a postscript.  I could be
> > > my box (I started off using livna) but I checked and I think I got
> > > rid of all those pkgs.
> > 
> > More specific, it was anything with a postinstall script that used
> > ldconfig. Could you tell us what was wrong with ldconfig ?
> 
> I ran ldconfig and ldconfig -v as root and found no
> errors or warnings (just the usual dir listing).
> I'm not sure if I told you guys before, but if I install the
> same rpm manually (not using apt, but with rpm -Uvh) I don't get
> the postscript errors.

Pablo,

I'm putting the apt mailinglist in copy as this seems to be apt related 
and I don't know how to help you any further. I have no clue how apt could 
cause this behaviour.

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]



More information about the Apt-Rpm mailing list