Try this: sudo -s cd /usr/lib/python3/dist-packages/ patch --dry-run -p1 <paste the diff, from the === line to the "def get_profile..." line -- including both> hit ^D
If that worked, re-run the patch command without --dry-run, then start testing. If it didn't work, then edit /usr/lib/python3/dist- packages/apparmor/aa.py, look about 583 lines into the file, and try making the edits by hand. Note that Python is very picky about whitespace, it'd be best to use something like vim's :set list feature to make sure you use the same tabs or spaces as surrounding code. (Which is why I suspect the patch will fail. Web browsers aren't very good at whitespace.) Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1319829 Title: aa-genprof will crash when select scan on Ubuntu 14.04 server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1319829/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
