On Sunday, 23 October 2016 03:23:12 UTC-6, Jan Groenewald wrote:
>
> 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')
>

Looks like the same problem as in 
https://groups.google.com/d/topic/sage-devel/5GXnV4tlMXw/discussion with a 
fix for some situations already created. 


> 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.

Reply via email to