Devuan bug report logs - #700
Subject: package nvidia-persistenced "not fully installed"

Package: nvidia-persistenced; Reported by: [email protected]; Keywords: debian; Forwarded to https://bugs.debian.org/928497; Maintainer for nvidia-persistenced is (unknown).
Set bug forwarded-to-address to 'https://bugs.debian.org/928497'. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 700) by bugs.devuan.org; 11 Jan 2023 18:33:04 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 11 Jan 2023 18:33:04 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id f/sMMZ8Av2MIDgAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Wed, 11 Jan 2023 18:31:59 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id B814DB85; Wed, 11 Jan 2023 18:31:59 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id B96A22A8
	for <[email protected]>; Wed, 11 Jan 2023 18:31:54 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1pFftB-0003u0-7m; Wed, 11 Jan 2023 18:31:53 +0000
Received: (nullmailer pid 16127 invoked by uid 1000);
	Wed, 11 Jan 2023 18:31:53 -0000
Date: Wed, 11 Jan 2023 18:31:53 +0000
From: Mark Hindley <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: bug#700: Subject: package nvidia-persistenced "not fully
 installed"
Message-ID: <[email protected]>
References: <trinity-b3860550-e626-437a-a8f2-73b885a5df28-1660078388237@3c-app-gmx-bap28>
 <trinity-b3860550-e626-437a-a8f2-73b885a5df28-1660078388237@3c-app-gmx-bap28>
 <YvPc31tYsE6qjt/[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <YvPc31tYsE6qjt/[email protected]>
X-Debbugs-No-Ack: No Thanks

Control: forwarded -1 https://bugs.debian.org/928497

This looks like it may be the same as Debian #928497.

Mark

Information forwarded to [email protected], [email protected]:
bug#700; Package nvidia-persistenced. Full text available.
Added tag(s) debian. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 700) by bugs.devuan.org; 10 Aug 2022 16:30:14 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 10 Aug 2022 16:30:14 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id 691B766188C
	for <[email protected]>; Wed, 10 Aug 2022 18:29:22 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1oLoa8-0005Ha-No; Wed, 10 Aug 2022 17:29:20 +0100
Received: (nullmailer pid 14066 invoked by uid 1000);
	Wed, 10 Aug 2022 16:29:19 -0000
Date: Wed, 10 Aug 2022 17:29:19 +0100
From: Mark Hindley <[email protected]>
To: [email protected], [email protected]
Subject: Re: bug#700: Subject: package nvidia-persistenced "not fully
 installed"
Message-ID: <YvPc31tYsE6qjt/[email protected]>
References: <trinity-b3860550-e626-437a-a8f2-73b885a5df28-1660078388237@3c-app-gmx-bap28>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <trinity-b3860550-e626-437a-a8f2-73b885a5df28-1660078388237@3c-app-gmx-bap28>
X-Debbugs-No-Ack: No Thanks
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS,
	URIBL_BLOCKED autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org

Control: tags -1 debian

Tom

On Tue, Aug 09, 2022 at 10:53:08PM +0200, [email protected] wrote:
> Package: nvidia-persistenced
> Version: 470.129.06-1

Thanks for this. However, nvidia-persistenced is not forked in Devuan and we use
Debian's packages directly without recompilation. Please report directly to
Debian's BTS.

Thanks.

Mark

Information forwarded to [email protected], [email protected]:
bug#700; Package nvidia-persistenced. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 9 Aug 2022 20:54:15 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [141.95.83.167]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Tue, 09 Aug 2022 20:54:15 +0000 (UTC)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mail.dyne.org (Postfix) with ESMTPS id 224336618A7
	for <[email protected]>; Tue,  9 Aug 2022 22:53:10 +0200 (CEST)
Authentication-Results: mail.dyne.org;
	dkim=pass (1024-bit key; secure) header.d=gmx.net [email protected] header.b="gE/s0USM";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
	s=badeba3b8450; t=1660078388;
	bh=eKEeMRNmH8OOohwYHH2boU7Q5Fga1FTc/pyuMDbLnhI=;
	h=X-UI-Sender-Class:From:To:Subject:Date;
	b=gE/s0USM+SJ2G/eZRk3u8Ql1pB5ESVi3a6J3748F56mlGg2WR43qJ7Toes0YlHmb4
	 MYNJrf/UBq1+FzMcLupFCKrcKfvYtAQQr+dcMiicofmHoCpZ8mMMqLnyLIaBb25PLA
	 pN0y5S7Cs3nHokgOiEZE6erF3N+q/ol+dHF4pLuA=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [91.47.27.50] ([91.47.27.50]) by web-mail.gmx.net
 (3c-app-gmx-bap28.server.lan [172.19.172.98]) (via HTTP); Tue, 9 Aug 2022
 22:53:08 +0200
MIME-Version: 1.0
Message-ID: <trinity-b3860550-e626-437a-a8f2-73b885a5df28-1660078388237@3c-app-gmx-bap28>
From: [email protected]
To: [email protected]
Subject: Subject: package nvidia-persistenced "not fully installed"
Content-Type: text/plain; charset=UTF-8
Date: Tue, 9 Aug 2022 22:53:08 +0200
Importance: normal
Sensitivity: Normal
X-Priority: 3
X-Provags-ID: V03:K1:ddRQIyuLInLzKNY7JZzFnbM4b2NymrccE5h9SPSO7aO1YyAfFEfdRnFXC6U4uXIHQmHEW
 FxS9Bp8qkQQKVVGdt10a97XfYqsOC3onoTeB+Xq9zEETvzt/aQSKHMjemRpOAHnJwerubM/uZFIm
 B3ReNP1Y3/gy2BVkP65peOyYPYeVw2kyH18YYMQDm3MMaduEbAuVy5RapEJ6/qvlMByq6F2nUkDh
 sog8ygpsSGGbuPrlSL9+jd3eEg+sbhKzt8T3F3MkIxvtcrIcRs0+XSX4mCpGZxALMbZvaGYa26XK
 ro=
X-UI-Out-Filterresults: notjunk:1;V03:K0:uaiAfO4dbag=:b42pESHIKQf4wX6zvU4pTM
 BJi3J4w7extaDHxL/ckzMGuPlOusx8nZMtMtdbhnBSPFn+V/tq/EaC8m7wWXjb6zKrUyqilHj
 DKw6XDav5p00lZMHH/ujE1j0oL8HJanoSlW0loNxhq8DIYf23l4i1+Bsf1aHrYxSA8Sk7zwEF
 hN3aOtdG9awueGGbL3ceEx1CgL12faMsD2uTzNXlK+ag0EoOwINEHpPyyksUVLIBUviTecOB6
 Y10K0bo1DqA4b7L2+E6Yh2BLUFHURb5PMiB0dUOB7H4Z9wMCTqCzCH+FuY7a/R3kCimtVh5AW
 VOV+EjpvtJCC/q0eEj9drJKTYairuqJtImmrdLaI4JSInbv08sf6EUhWy5a1P4UOxXkYbJOvc
 ZkMwM9Eu09YFBljRdgh0CfR0xW81rp+Udxl4CaWumGFk+TYb//fAzdHQfNQaZmJ75+3JI64yP
 0+8StH13Fzf1JIv01Qq2fL24wiD2o5gi8mcKc77dQMT8g/VUmX010lJ/HKvfiOw/VGkxgriMe
 bK41tNw63qWSEBdNirN3dHv3aWLBCspj+m5OdSruteeTbC+u2SbHUZzmNpPHIkdDUkJC7HKhz
 3QjdKuC/kZN4dI6Wrpd/lyWpIAG8CP4BNJdpuQQJmh60Xx7b4hqnkh3yncjtKCekDPemLDfJ0
 yyoaTP86DABOHgVb3/r2k0Mb4OCyxAWn5z3q5vs9VtmrML85LD6LZ8kJT8AfmqUc6calms303
 05Z+GHQ/5Zge8JQ+k2WGby4BB4KmPeLfTBbf1Twkew6KiBWlzHil/AOYwTBHcq6S5/0SdPEj+
 XGuEtOa
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED,
	DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dyne.org

Package: nvidia-persistenced
Version: 470.129.06-1

date: 2022-06-16 (did not find the time to complete the report)
System: devuan version is daedalus/ceres
kernel: Linux 5.18.0-2-amd64

Abstract: There is no other error than the package's "not fully installed"=
 status.
Traced to a "/etc/init.d/nvidia-persistenced start|restart" issue.
(Possibly, this happens only on the initial installation of nvidia driver =
and kernel. don't know)

* Description
The package status can be fixed without an update (see log below):
  Stop nvidia-persistenced, then call apt. Done.
  $ sudo /etc/init.d/nvidia-persistenced stop && sudo apt upgrade
Diving deeper:
During installation: First call of "/etc/init.d/nvidia-persistenced start"=
 will exit(1).
  This is to expect and not an error (if nvidia-kernel not booted yet).
  But interpreted as "install failure".
After reboot, at any further apt invocation:
  "/etc/init.d/nvidia-persistenced start" is fired again.
  But now /usr/bin/nvidia-persistenced is already running, and returns exi=
t(1).

* Fix proposal:
Figured out two ways - not sure which one to use:
a) $ "/usr/bin/nvidia-persistenced start" may exit(0) in case nvidia-persi=
stenced is running
OR
b) DEBIAN/postinst may always fire "restart"

#-------------------------------------------------------------------------=
----#
# Patch for: /etc/init.d/nvidia-persistenced
# (recycled test condition, as used in section "stop")
#
# $ diff /etc/init.d/nvidia-persistenced  /etc/init.d/nvidia-persistenced.=
original
66c66
<       [ ! -z "${NVPD_PID}" ] || ${NVPD_BIN} --user ${NVPD_USER}
=2D--
>       ${NVPD_BIN} --user ${NVPD_USER}

#-------------------------------------------------------------------------=
----#
# Patch for: DEBIAN/postinst  -  NOT tested
# In case patch for /etc/init.d/nvidia-persistenced is a bad idea.
#
# $ diff DEBIAN/postinst DEBIAN/postinst.original
19c19,24
< 		invoke-rc.d --skip-systemd-native nvidia-persistenced restart || exit =
1
=2D--
> 		if [ -n "$2" ]; then
> 			_dh_action=3Drestart
> 		else
> 			_dh_action=3Dstart
> 		fi
> 		invoke-rc.d --skip-systemd-native nvidia-persistenced $_dh_action || e=
xit 1

#-------------------------------------------------------------------------=
----#
# log (from reverted disk image)
#-------------------------------------------------------------------------=
----#
# daedalus box with multiarch i386 enabled
# initial installation of proprietary nvidia drivers
$ sudo apt-get install nvidia-driver nvidia-kernel-dkms nvidia-alternative=
 nvidia-xconfig nvidia-settings nvidia-modprobe
$ sudo reboot

$ ps ax | grep nvidia-persistenced
 1277 ?        Ss     0:00 /usr/bin/nvidia-persistenced --user nvpd
 2432 pts/0    S+     0:00 grep nvidia-persistenced

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up nvidia-persistenced (470.129.06-1) ...
Starting NVIDIA Persistence Daemon
nvidia-persistenced failed to initialize. Check syslog for more details.
invoke-rc.d: initscript nvidia-persistenced, action "start" failed.
dpkg: error processing package nvidia-persistenced (--configure):
 installed nvidia-persistenced package post-installation script subprocess=
 returned error exit status 1
Errors were encountered while processing:
 nvidia-persistenced
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ sudo /etc/init.d/nvidia-persistenced stop
Stopping NVIDIA Persistence Daemon

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up nvidia-persistenced (470.129.06-1) ...
Starting NVIDIA Persistence Daemon


=3D=3D> when the daemon is stopped, apt succeeded
I do not know exactly how to adopt that into "postinst"
apt upgrade - to trigger package management

#-------------------------------------------------------------------------=
----#
# Possibly useful : daemon start and stop with extended status output
# Alternative to the patch above
# /etc/init.d/nvidia-persistenced
#
#       # start
       [ ! -z "${NVPD_PID}" ] || ${NVPD_BIN} --user ${NVPD_USER}  && echo =
"NVIDIA Persistence Daemon was already running"
#       # stop
       [ ! -z "${NVPD_PID}" ] && kill ${NVPD_PID} &> /dev/null    || echo =
"NVIDIA Persistence Daemon was not running"
#-------------------------------------------------------------------------=
----#


Dear maintainer,
feel free to contact me for additional information / testing / reversing. =
I'm not a software developer.
Regards, Thomas


Acknowledgement sent to [email protected]:
New bug report received and forwarded. Copy sent to [email protected]. Full text available.
Report forwarded to [email protected], [email protected]:
bug#700; Package nvidia-persistenced. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Sat, 18 Jan 2025 04:39:02 UTC