dselect + apt method do not mount /usr ro when removing a package?
Am I correct that dselect apt method does not handle /usr which is mounted ro
correctly when it tries to remove a package?
Although I have
[21:28:22 /tmp]$ grep Pre-Invoke /etc/apt/apt.conf
Pre-Invoke {"mount -o remount,rw /usr";};
[21:28:32 /tmp]$
when trying to remove a package, dselect reports that:
running dpkg --pending --remove ...
(Reading database ... 37918 files and directories currently installed.)
Removing adjtimex ...
rm: cannot unlink `/usr/doc/adjtimex': Read-only file system
dpkg: error processing adjtimex (--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
adjtimex
dpkg --remove returned error exit status 1.
Press RETURN to continue.
Reply to: