Merge pull request #927 from tryfunc/fix_apt_mark