Notices


Reply
Thread Tools
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#21
Originally Posted by Big Phat Jan View Post
Still broken for me, I think due to the section under:
rather I could find
/etc/texmf/fmt.d/10texlive-base.cnf.dpkg-new
and
/etc/texmf/fmt.d/10texlive-latex-base.cnf-dpkg-new.
maybe try again with
apt-get remove --purge tex-common

and then reinstall with the same fixes
There was no reference to luatex in the former, I commented out two references to it in the latter.
ok, the first occurence is fixed in the new texlive-base,
the second seems to be more difficult
 
Posts: 138 | Thanked: 59 times | Joined on Jun 2007
#22
I tried your latest fixes and it still didn't work for me.

I can't even purge tex-common any more:

Code:
~ $ 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
 
Posts: 946 | Thanked: 1,650 times | Joined on Oct 2009 @ Germany
#23
Originally Posted by borghal View Post
I tried your latest fixes and it still didn't work for me.
I can't even purge tex-common any more:
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)
Attached Files
File Type: gz ucf.gz (8.1 KB, 108 views)
 

The Following User Says Thank You to titan For This Useful Post:
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#24
Originally Posted by titan View Post
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)
Thanks Titan.

After downloading your ucf binary (and forgetting to make it executable... Oops!), and changing the postinst script $UCF back to the original (which I assume is "ucf -d --debconf-ok --verbose") it seems to get stuck much later, and now it is complaining about the absence of /usr/share/doc/tex-common (which looks like it's at the very end of the postinst script).

If the full output would be helpful then please ask. I'm not doing this from my N900 as it seems to constantly drop keypresses on tmo...

Cheers,
Jan

Last edited by Big Phat Jan; 2010-01-25 at 13:15.
 
Posts: 138 | Thanked: 59 times | Joined on Jun 2007
#25
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
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#26
Originally Posted by borghal View Post
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
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...

Cheers,
Jan
 
Posts: 138 | Thanked: 59 times | Joined on Jun 2007
#27
Originally Posted by Big Phat Jan View Post
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...
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:

Code:
mv: cannot rename '/usr/share/doc/tex-common': No such file or directory
Which is the same you've got, I guess.
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#28
Originally Posted by borghal View Post
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:

Code:
mv: cannot rename '/usr/share/doc/tex-common': No such file or directory
Which is the same you've got, I guess.
I think maybe Titan has changed $UCF in the package?

Anyway, it seems like none of the docs are present (or at least I can't find them). I tried commenting out the optify from the tex-common postinst file (which is maybe a bit silly as I'm not sure what I'm doing!) but this just leads to the same problem in texlive-base, and I haven't wanted to continue on this path without input from Titan.

Cheers,
Jan
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#29
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
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#30
Originally Posted by Big Phat Jan View Post
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
Well that seems to have worked! Haven't tested yet, but no complaints during install. Will edit to confirm it's all functional.

It seems to work rather well. See attached test.pdf. I tried to include an equation but that took us just above the maximum allowed attachment size.

Now to see if it can compile my thesis!

Cheers,
Jan
Attached Images
File Type: pdf test.pdf (10.3 KB, 182 views)

Last edited by Big Phat Jan; 2010-01-25 at 14:00.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:46.