On Thu, Nov 30, 2006 at 09:48:04PM -0500, Koen van der Drift wrote:
> 
> On Nov 30, 2006, at 9:23 PM, Alexander Hansen wrote:
> 
> >> Same output in the terminal, but not sure if it is still related to
> >> xml-sax-pm:
> >>
> >> ...
> >> Preparing to replace xml-sax-expat-pm586 0.37-2 (using .../xml-sax-
> >> expat-pm586_0.37-2_darwin-powerpc.deb) ...
> >> Unpacking replacement xml-sax-expat-pm586 ...
> >> Setting up xml-sax-expat-pm586 (0.37-2) ...
> >> /sw/var/lib/dpkg/info/xml-sax-expat-pm586.postinst: line 6: /sw/bin/
> >> update-perl586-sax-parsers: No such file or directory
> >> /sw/bin/dpkg: error processing xml-sax-expat-pm586 (--install):
> >> subprocess post-installation script returned error exit status 1
> >> Errors were encountered while processing:
> >> xml-sax-expat-pm586
> >> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> >> Failed: can't install package xml-sax-expat-pm586-0.37-2
> >> ...
> >>
> >
> > It seems to be.  update-perl586-sax-parsers is installed by xml-sax- 
> > pm586.
> >
> 
> The info file for xml-sax-expat contains:
> 
> PostInstScript: <<
> %p/sbin/update-perl%type_pkg[perl]-sax-parsers --add XML::SAX::Expat
> %p/sbin/update-perl%type_pkg[perl]-sax-parsers --update
> <<
> 
> What I don't understand is why the error above shows  /sw/bin/update- 
> perl586-sax-parsers instead of /sw/sbin/update-perl586-sax-parsers as  
> defined in the PostInstScript. Because /sw/sbin/update-perl586-sax- 
> parsers does exist on my HD.

Good weirdness-detection! Check the .deb for the package with:

  dpkg-deb -I /sw/fink/whatver/xml-sax-expat-pm581_whatever.deb postint

to see if the problem (bin instead of sbin) is in the .deb itself vs a
problem with how dpkg it handling it. If the .deb doesn't match the
.info, try 'fink rebuild'ing the package.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to