Bug#998893: closed by Debian FTP Masters <ftpmaster at ftp-master.debian.org> (reply to Matthew Vernon <matthew at debian.org>) (Bug#998893: fixed in orphan-sysvinit-scripts 0.09)
Matthew Vernon
matthew at debian.org
Wed Nov 10 17:48:38 GMT 2021
On 10/11/2021 16:51, Adam Borowski wrote:
> On Wed, Nov 10, 2021 at 12:21:09PM +0000, Debian Bug Tracking System wrote:
>> #998893: orphan-sysvinit-scripts: fails to configure: "not replacing deleted config file /etc/init.d/rsyslog"
>> It has been closed by Debian FTP Masters <ftpmaster at ftp-master.debian.org> (reply to Matthew Vernon <matthew at debian.org>).
>
> Alas, systems that were affected by this bug still fail to upgrade:
Yes, I'm afraid that's expected (because ucf still "knows" that the user
deleted /etc/init.d/rsyslog). Sorry!
> dpkg-query: no path found matching pattern /etc/init.d/rsyslog
> Not replacing deleted config file /etc/init.d/rsyslog
> update-rc.d: error: initscript does not exist: /etc/init.d/rsyslog
> dpkg: error processing package orphan-sysvinit-scripts (--configure):
> installed orphan-sysvinit-scripts package post-installation script subprocess returned error exit status 1
> Processing triggers for man-db (2.9.4-2) ...
> Errors were encountered while processing:
> orphan-sysvinit-scripts
> E: Sub-process /usr/bin/dpkg returned an error code (1)
I think the easiest fix is:
ln -s /usr/share/orphan-sysvinit-scripts/rsyslog /etc/init.d/rsyslog
And then dpkg --pending --configure should work OK
Regards,
Matthew
More information about the Debian-init-diversity
mailing list