Colin Cotter wrote:
> (Fink user running on MacBook)
>
> Dear list,
>    I have a problem with "apt-get upgrade". It appears to be caused  
> by some post install scripts failing to run. The output I get is
>
> localhost:~/Documents/svn_repo/papers/VPM colincotter$ sudo apt-get  
> upgrade
> Reading Package Lists... Done
> Building Dependency Tree... Done
> 0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
> 2 packages not fully installed or removed.
> Need to get 0B of archives. After unpacking 0B will be used.
> Do you want to continue? [Y/n] y
> Setting up ipython-py23 (0.6.15-1) ...
> /sw/var/lib/dpkg/info/ipython-py23.postinst: line 6: update- 
> alternatives: command not found
> /sw/bin/dpkg: error processing ipython-py23 (--configure):
> subprocess post-installation script returned error exit status 127
> Setting up libgnomeui2 (2.6.1.1-1011) ...
> /sw/var/lib/dpkg/info/libgnomeui2.postinst: line 6: update- 
> alternatives: command not found
> /sw/bin/dpkg: error processing libgnomeui2 (--configure):
> subprocess post-installation script returned error exit status 127
> Errors were encountered while processing:
> ipython-py23
> libgnomeui2
> E: Sub-process /sw/bin/dpkg returned an error code (1)
>
> Has anybody seen this before or can work out what is going on?
>
> all the best
> --Colin
>
>   
The update-alternatives command isn't in your PATH for some reason.  
It's installed as part of dpkg, so it should be around.  I'd guess your 
PATH is missing /sw/sbin , but you can confirm this by running

printenv PATH

-- 
Alexander K. Hansen
Fink User Liaison/Documenter
akh AT finkproject DOT org


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to