Agreed that error handling should generally be more graceful. For instance, one is informed when adding a PPA that it is possible to cancel the addition by pressing Ctrl-C, but the result is:
Press [ENTER] to continue or ctrl-c to cancel adding it
^CTraceback (most recent call last):
File "/usr/bin/apt-add-repository", line 158, in <module>
sys.stdin.readline()
KeyboardInterrupt
Why not catch the interrupt and simply print an "installation aborted" message?
Agreed that error handling should generally be more graceful. For instance, one is informed when adding a PPA that it is possible to cancel the addition by pressing Ctrl-C, but the result is:
Press [ENTER] to continue or ctrl-c to cancel adding it apt-add- repository" , line 158, in <module> stdin.readline( )
^CTraceback (most recent call last):
File "/usr/bin/
sys.
KeyboardInterrupt
Why not catch the interrupt and simply print an "installation aborted" message?