![]() |
2010-01-25
, 12:39
|
Posts: 138 |
Thanked: 59 times |
Joined on Jun 2007
|
#22
|
~ $ sudo dpkg --purge tex-common (Reading database ... 27630 files and directories currently installed.) Removing tex-common ... Purging configuration files for tex-common ... /var/lib/dpkg/info/tex-common.postrm: line 88: ucf: not found dpkg: error processing tex-common (--purge): subprocess post-removal script returned error exit status 127 Errors were encountered while processing: tex-common
![]() |
2010-01-25
, 12:46
|
Posts: 946 |
Thanked: 1,650 times |
Joined on Oct 2009
@ Germany
|
#23
|
I tried your latest fixes and it still didn't work for me.
I can't even purge tex-common any more:
The Following User Says Thank You to titan For This Useful Post: | ||
![]() |
2010-01-25
, 13:12
|
Posts: 134 |
Thanked: 91 times |
Joined on Nov 2009
@ Imperial College London
|
#24
|
ok, it doesn't make sense to work around the broken ucf on the N900.
attached is my fixed version of /usr/bin/ucf
(uncompress before copying)
![]() |
2010-01-25
, 13:15
|
Posts: 138 |
Thanked: 59 times |
Joined on Jun 2007
|
#25
|
update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing. Exiting. dpkg: error processing tex-common (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: tex-common
![]() |
2010-01-25
, 13:17
|
Posts: 134 |
Thanked: 91 times |
Joined on Nov 2009
@ Imperial College London
|
#26
|
Thanks to your UCF binary I was able to purge tex-common. However a new installation according to your first post was still unsuccessful, there's something missing:
Code:update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing. Exiting. dpkg: error processing tex-common (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: tex-common
![]() |
2010-01-25
, 13:21
|
Posts: 138 |
Thanked: 59 times |
Joined on Jun 2007
|
#27
|
I think you need to change the UCF variable in the postinst script back to the original. I'm still having a slight problem but I think I'm past this step now. Might be worth waiting for more info on the missing docs before continuing though...
mv: cannot rename '/usr/share/doc/tex-common': No such file or directory
![]() |
2010-01-25
, 13:29
|
Posts: 134 |
Thanked: 91 times |
Joined on Nov 2009
@ Imperial College London
|
#28
|
Cheers, now I'm up with you. I thought the --purge would have taken care of my changes to the postinst file.
Now it quits with this error message:
Which is the same you've got, I guess.Code:mv: cannot rename '/usr/share/doc/tex-common': No such file or directory
![]() |
2010-01-25
, 13:37
|
Posts: 134 |
Thanked: 91 times |
Joined on Nov 2009
@ Imperial College London
|
#29
|
![]() |
2010-01-25
, 13:45
|
Posts: 134 |
Thanked: 91 times |
Joined on Nov 2009
@ Imperial College London
|
#30
|
Just had a look in /usr/share/doc and the only file in there is a README that says:
Purged by docpurge
I'm going to take that to mean that the docs have all been deleted, and so don't need to be optified. And so I'm commenting out those optify lines that reference /usr/share/doc. Wish me luck!
Cheers,
Jan
apt-get remove --purge tex-common
and then reinstall with the same fixes
the second seems to be more difficult