[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug in tetex-bin and patch?



   Hello, 
 
   My name is Pedro Pablo. I'm a spanish person, and my english is not very good, 
sorry about that. 
 
   This is my first bug report, and I'm in fact not very sure about it. 
 
   I've tried to install tetex packages in Debian unstable, but I get the next error: 
 
# apt-get install tetex-bin 
.. more things ... 
dpkg: error processing tetex-bin (--configure) 
   the post-installation subprocess return the next error result: 1 
Some problems were found processing 
   tetex-bin 
 
(I get the messages in spanish, and I've translated them, so I guess they are not 
specially correct). 
 
   I've been looking for the problem, and I solved it changing /usr/sbin/update-texmf 
(i'm sorry; i have not diff file because I don't know how to build it). 
My change is minor. Near the end of the file the next line appears: 
 
cp -a ${MD5SUMS} ${TMPTXMF}.md5sum.d 
 
I got the error: 
 
cp: preserving permissions for `/tmp/tmp.wRmhQA/texmfXZdf7VA.md5sum.d': invalid 
argument 
 
So, i've just change the line with: 
 
cp -R ${MD5SUMS} ${TMPTXMF}.md5sum.d 
 
and now it seems to work correctly (using dpkg --configure tetex-bin). 
 
My cp version is 5.0.91 (in coreutils package, 5.0.91-2 version). 
 
I hope this message will be useful. 
 
Once again, excuse my bad English. 
 
Thank you very much for your work. 
   Pedro Pablo 




Reply to: