Thanks for the instructions. 

Partly successful, but still troubles.

> 1. find out which tex packages are installed, according to the Fink tools:

I find the lists with the following flags:

iU  texlive        0.20080816-1  
iF  texlive-base   0.20080816-1 
ii  texlive-texmf  0.20080822-1 
in  tetex-texmf    3.0-2          
ii  libkpathsea4   3.5.7-1      
ii  libkpathsea4-s 3.5.7-1    

[Btw, what does these flags mean?]

> 2. Then remove all these packages

I got a message that 
"ignoring request to remove tetex-texmf which isn't installed."

I could remove texlive and texlive-texmf

But not texlive-base.
It complained about a command update-alternatives:-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Removing texlive-base ...
/sw/var/lib/dpkg/info/texlive-base.prerm: line 8: 
update-alternatives: command not found
/sw/bin/dpkg: error processing texlive-base (--purge):
 subprocess pre-removal script returned error exit st
atus 127
/sw/var/lib/dpkg/info/texlive-base.postinst: line 7: 
update-alternatives: command not found
dpkg: error while cleaning up:
 subprocess post-installation script returned 
error exit status 127
Errors were encountered while processing:
 texlive-base
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

However, when I did dpkg -l again, I only could see tetex-texmf, 
 texlive-base was not present.

Similarly, I could remove libkpathsea4, but not libkpathsea4-s, 
which dpkg ignored like tetex-texmf 
(confusing -- the flags aren't same for both). 

[Snowflake:~]% dpkg -l \*libkpathsea4\* | egrep '^i'
ii  libkpathsea4-s 3.5.7-1    
[Snowflake:~]% dpkg -l \*texlive\* \*tetex\* | egrep '^i'
in  tetex-texmf    3.0-2        

> 3. Finally reinstall texlive:
>    fink install texlive texlive-texmf libkpathsea4

So I am not sure whether the cleaning up was complete. 
If not I do not know how to go pass these error messages.

Nevertheless I tried to install texlive using the above command, 
and it returned with the same error message on 
fmtutil.cnf and dpkg-lock. 



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to