Hi I'm preparing the PPA for sage 7.4. In the postinst script I run sage once as root to set hardcoded paths (which may have been replaced by replocate-once.py??).
It fails to run under apt or dpkg --configure with /usr/lib/sagemath/local/lib/python2.7/site-packages/prompt_toolkit/terminal/vt100_input.pyc in __init__(self=<prompt_toolkit .terminal.vt100_input.raw_mode object>, fileno=0) --> 409 self.attrs_before = termios.tcgetattr(fileno) error: (25, 'Inappropriate ioctl for device') But I can run sage in a terminal. Is it safe to remove 'running sage once as root to set hardcoded paths' from the postinst? Regards, Jan -- .~. /V\ Jan Groenewald /( )\ www.aims.ac.za ^^-^^ -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.