On Thu, Nov 17, 2005 at 10:55:35PM +0100, Andreas Dittrich wrote: > Am 17.11.2005 um 16:38 schrieb Daniel Macks: > >>Am 14.11.2005 um 23:24 schrieb Andreas Dittrich: > >> > >>>Failed: can't install package shared-mime-info-0.16-1 > >>> > >>>This is on 10.4.3, Xcode 2.2 and fink 0.8.0/0.24-10 > > > >The post-installation script for shared-mime-info is pretty > >trivial...not sure how it could fail without any error message at all. > > > >Could you make the following edit to that script so we can get some > >more information? Edit the file > >/sw/fink/dists/unstable/main/finkinfo/gnome/shared-mime-info.info > >and adjust the PostInstScript section to read as follows: > > > >PostInstScript: << > > echo "beginning" > > . %p/bin/init.sh > > echo "XDG:"; env | grep XDG > > %p/bin/update-mime-database %p/share/mime > > echo "done" > ><< > > > >then rebuild the package, attempt to install it, and show us the > >output. > > doesn't say much, seems like even the first line in the > postinitscript exits abnormally. > > # fink install shared-mime-infoReading package info... > Updating package index... done. > Information about 5180 packages read in 22 seconds. > The following package will be installed or updated: > shared-mime-info > /sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/main/binary-darwin- > powerpc/gnome/shared-mime-info_0.16-1_darwin-powerpc.deb > (Reading database ... 148816 files and directories currently installed.) > Preparing to replace shared-mime-info 0.16-1 (using .../shared-mime- > info_0.16-1_darwin-powerpc.deb) ... > Unpacking replacement shared-mime-info ... > Setting up shared-mime-info (0.16-1) ... > beginning > /sw/bin/dpkg: error processing shared-mime-info (--install): > subprocess post-installation script returned error exit status 1 > Errors were encountered while processing: > shared-mime-info > ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 > Failed: can't install package shared-mime-info-0.16-1
Whoa, that's weird. Okay, one more edit to shared-mime-info.info to try to diagnose this: PostInstScript: << set -x . %p/bin/init.sh %p/bin/update-mime-database %p/share/mime << then rebuild and reinstall. Note that the output may be about 150 lines or so...you can redirect it to a file: fink reinstall shared-mime-info > out.txt 2>&1 and either starting a tracker item on SourceForge or placing it on a webserver somewhere so we don't flood people's mailboxes. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
