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

Bug#284469: "cp -a" fails on some filesystems, causing postinst failure



Package: tetex-bin
Version: 2.0.2-23
Tags: +patch


Setting up tetex-bin (2.0.2-23) ...
Merging information from /etc/texmf/texmf.d/ into /etc/texmf/texmf.cnf ...
cp: preserving times for
`/tmp/tmp.LUR0Hq/texmfXFQ9vvu.md5sum.d/1.0.7+20011202-7.1': Operation not
permitted
cp: preserving times for `/tmp/tmp.LUR0Hq/texmfXFQ9vvu.md5sum.d/2.0.2-13':
Operation not permitted
cp: preserving times for `/tmp/tmp.LUR0Hq/texmfXFQ9vvu.md5sum.d': Operation
not permitted
dpkg: error processing tetex-bin (--configure):
 subprocess post-installation script returned error exit status 1



In /usr/sbin/update-texmf , line 88,

cp -a ${MD5SUMS} ${TMPTXMF}.md5sum.d

may be made into 

cp -dr --preserve=mode,ownership ${MD5SUMS} ${TMPTXMF}.md5sum.d

...leaving out "archive", which may cause "cp" to fail.



Reply to: