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)

tito farmatito at tiscali.it
Sun Nov 21 06:57:26 GMT 2021


On Sun, 21 Nov 2021 02:09:55 +0100
Axel Beckert <abe at debian.org> wrote:

> Hi,
> 
> On Wed, Nov 10, 2021 at 05:48:38PM +0000, Matthew Vernon wrote:
> > 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!
> 
> Seems to have worked for me, but now I get the same error for /etc/init.d/nftables:
> 
> Setting up orphan-sysvinit-scripts (0.10) ...
> /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
> /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
> Not replacing deleted config file /etc/init.d/nftables
> update-rc.d: error: initscript does not exist: /etc/init.d/nftables
> dpkg: error processing package orphan-sysvinit-scripts (--configure):
>  installed orphan-sysvinit-scripts package post-installation script subprocess returned error exit status 1
> 
> Shall I open a new bug or is this considered the same issue?
> 
> Hmm, after reading the changelog entry for this fix:
> 
>   * Check for scripts still owned by another package (Closes: #998893)
> 
> This sounds like a quite generic fix.
> 
> > > 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
> 
> So I tried this for nftables as well, but it seems to have made things
> worse:
> 
> # ln -s /usr/share/orphan-sysvinit-scripts/nftables /etc/init.d/nftables
> # dpkg --pending --configure
> Setting up orphan-sysvinit-scripts (0.10) ...
> /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
> /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
> cp: '/usr/share/orphan-sysvinit-scripts/nftables' and '/usr/share/orphan-sysvinit-scripts/nftables' are the same file
> dpkg: error processing package orphan-sysvinit-scripts (--configure):
>  installed orphan-sysvinit-scripts package post-installation script subprocess returned error exit status 1
> Errors were encountered while processing:
>  orphan-sysvinit-scripts
> 
> Any adivce here?
> 
> 		Regards, Axel

Hi,
couldn't renaming the scripts in the orphan-sysvinit-scripts package be a solution to solve this?
E.g from nftables to nftables-sv or nftables.sh or nftables-s5i or nftables-orphan.
Just my 0,2 cents.
Ciao,
Tito



More information about the Debian-init-diversity mailing list