diff options
author | Guillem Jover <guillem@debian.org> | 2016-11-04 05:28:26 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-11-05 12:34:55 +0100 |
commit | 4daaec6bb83c65bc7b83022dd241b5d6bbf83b86 (patch) | |
tree | f0b3d6f97941ee77187c3e772bb411d4ffcdaba7 /debian | |
parent | 1e3658185caf8de4034fb3648b32674970ce6cce (diff) | |
download | dpkg-4daaec6bb83c65bc7b83022dd241b5d6bbf83b86.tar.gz |
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
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index dbc88cea0..6fcc88191 100644 --- a/debian/changelog +++ b/debian/changelog @@ -67,6 +67,8 @@ dpkg (1.18.11) UNRELEASED; urgency=medium - Hook it into the dpkg-buildpackage machinery. Based on a patch by Jérémy Bobbio <lunar@debian.org>. Closes: #138409 * Enable dpkg-buildpackage -Jauto by default. Closes: #842845 + * Fix dpkg to not fail when removing non-existent backup files on read-only + filesystems. Closes: #838877 * Architecture support: - Add support for AIX operating system. - Add a version pseudo-field to the arch tables. |