Ubuntu devices are setup with a read-only root file system so this is a supported use case and software-properties should not crash in this situation. I seem to recall it being fixed but couldn't find anything in the software-properties changelog supporting that.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to software-properties in Ubuntu. https://bugs.launchpad.net/bugs/1365759 Title: /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt- repository@163:add_source_from_shortcut:set_modified_sourceslist:save_sourceslist:backup:copy:copyfile Status in “software-properties” package in Ubuntu: Confirmed Bug description: The Ubuntu Error Tracker has been receiving reports about a problem regarding software-properties. This problem was most recently seen with version 0.92.37.1, the problem page at https://errors.ubuntu.com/problem/2b8bba9b95a33d09f53d20dbb0664e85d407d788 contains more details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1365759/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp