On 2-Jan-09, at 03:47 , M. Singh wrote:

> I just installed a package from unstable that necessitated the
> compilation of gcc43. On this slow machine, this process tool half a  
> day.
>
> Is there a way I can prevent this from occurring again when I issue  
> fink
> update-all or anything like that ?

M. Singh,

I had a similar need, so I hacked together a python script:

http://www.kilohotel.com/fink/fink_update_most.py

You would need to make it executable ("chmod +x fink_update_most.py")  
save it somewhere that is in your machine's PATH.  Edit line 28 to  
point to a text file that lists all packages that should not be  
updated, one package per line.  Then, instead of doing "fink update- 
all", do "fink_update_most.py".  The script identifies all out of date  
packages, removes the ones you don't want to update, then it creates a  
fink command line, and asks you to confirm before it runs it.

I am a very amateur programmer, so this comes with no warrantees, and  
I am sure there are 100 better ways to do the job.  But it works for me.

Good luck,
--
Kevin Horton
Ottawa, Canada




------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to