Control: tags -1 - patch On 2021-01-12 18:46 +0100, наб wrote:
> Package: dpkg > Version: 1.20.7.1 > Severity: normal > Tags: patch > > Dear Maintainer, > > When upgrading the kernel on one of my machines I got hit with > Preparing to unpack .../linux-image-5.10.0-1-amd64_5.10.5-1_amd64.deb ... > Unpacking linux-image-5.10.0-1-amd64:amd64 (5.10.5-1) over (5.10.4-1) ... > dpkg: error processing archive > /var/cache/apt/archives/linux-image-5.10.0-1-amd64_5.10.5-1_amd64.deb > (--unpack): > unable to make backup link of './boot/System.map-5.10.0-1-amd64' before > installing new version: Operation not permitted > dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) > Errors were encountered while processing: > /var/cache/apt/archives/linux-image-5.10.0-1-amd64_5.10.5-1_amd64.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > > I have /boot on FAT, which does not support more than one link per file; Don't do that. > please consider the attached patch, > based on b0c80a72a9a32e17953483e1fb6b66dcfd8d0096, > that falls back to rename(2). That risks rendering your system unbootable if it crashes at the wrong moment. For further reading, I recommend the links below. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825945 https://wiki.debian.org/Teams/Dpkg/FAQ#Q:_What_are_the_filesystem_requirements_by_dpkg.3F Cheers, Sven