dpkg: Do not fail when removing non-existent files on read-only filesystems
Trying to rmdir(2) or unlink(2) a non-existent pathname on at least Linux returns with EROFS. Handle this case specifically to check if the pathname exists with access(2). Closes: #838877
Loading
Please register or sign in to comment