Re: [DNG] nvidia-persistenced can't be installed

2021-12-31 Thread Haines Brown
I wondered why I needed nvidia-parsistenced when someone said
thet solved the proboem by doing without it, I decided I could 
as well. Deleting the application seems to have done no harm.
Proble not solved but worked around.  

-- 
Haines Brown  
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] nvidia-persistenced can't be installed

2021-12-31 Thread Haines Brown
On Fri, Dec 31, 2021 at 11:25:48AM +, Marjorie Roome via Dng wrote:
> Hi,
> 
> On Thu, 2021-12-30 at 15:26 -0500, Haines Brown wrote:
> > When I try to do an upgrade, I'm told nvidia-persistenced is not
> > configured. When I reinstall it I get:

> > I'm runing Chimaera with fluxbox but no desktop environment. I
> > reinstalled xord and fluxbox. Syslog does not report an error.  
 
> I had to deal with what may be the same problem on updating from Ascii
> to Beowulf.
> 
> The problem I found is caused by the nvidia-persistenced init not
> checking for an existing running copy of nvidia-persistenced.
> 
> i) if you don't use CUDA then you can simply get rid of nvidia-
> persistenced.

Marjorie, Thanks! I don't know how nvidia-persistenced got (partially) 
installed, but see it is optional. Following  your advice I simply 
deleted it.

-- 
Haines Brown  
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] nvidia-persistenced can't be installed

2021-12-31 Thread Marjorie Roome via Dng
Hi,

On Thu, 2021-12-30 at 15:26 -0500, Haines Brown wrote:
> When I try to do an upgrade, I'm told nvidia-persistenced is not
> configured. When I reinstall it I get:
> 
> ...
> Need to get 0 B of archives. After unpacking 0 B will be used.
> Setting up nvidia-persistenced (460.32.03-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)
> Setting up nvidia-persistenced (460.32.03-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
> 
> I'm runing Chimaera with fluxbox but no desktop environment. I
> reinstalled xord and fluxbox. Syslog does not report an error.
> 
> $ lspci -nn | egrep  -i "3d|display|vga"
> 00:02.0 VGA compatible controller [0300]: Intel Corporation
> RocketLake-S GT1 [UHD Graphics 750] [8086:4c8a] (rev 04)
> 00:17.0 SATA controller [0106]: Intel Corporation Device [8086:43d2]
> (rev 11)
> 
> I ran # apt install -f
> 
> I ran # aptitude reinstall nvidia-persistenced
> E: Internal Error, No file name for nvidia-persistenced:amd64
> 
> Help would be much appreciated.
>  

I had to deal with what may be the same problem on updating from Ascii
to Beowulf.

The problem I found is caused by the nvidia-persistenced init not
checking for an existing running copy of nvidia-persistenced.

i) if you don't use CUDA then you can simply get rid of nvidia-
persistenced.

ii) if you want CUDA then you can patch /etc/init.d/nvidia-persistenced

My dev1galaxy forum posts might be of some help: 

https://dev1galaxy.org/viewtopic.php?pid=20903#p20903
 - my fixed version of /etc/init.d/nvidia-persistenced.

and
https://dev1galaxy.org/viewtopic.php?pid=20917#p20917

 - which explains that you can probably also get away with simply 
removing or disabling nvidia-persistenced as for most use cases it's
not needed unless you want to use CUDA.

If you can't access these I can send you the patched init.

-- 
Marjorie




___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] nvidia-persistenced can't be installed

2021-12-31 Thread fraser kendall
On Thu, 30 Dec 2021 15:26:51 -0500
Haines Brown  wrote:

> When I try to do an upgrade, I'm told nvidia-persistenced is not
> configured. When I reinstall it I get:
> 
> ...
> Need to get 0 B of archives. After unpacking 0 B will be used.
> Setting up nvidia-persistenced (460.32.03-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)
> Setting up nvidia-persistenced (460.32.03-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
> 
> I'm runing Chimaera with fluxbox but no desktop environment. I
> reinstalled xord and fluxbox. Syslog does not report an error.
> 
> $ lspci -nn | egrep  -i "3d|display|vga"
> 00:02.0 VGA compatible controller [0300]: Intel Corporation
> RocketLake-S GT1 [UHD Graphics 750] [8086:4c8a] (rev 04) 00:17.0 SATA
> controller [0106]: Intel Corporation Device [8086:43d2] (rev 11)
> 
> I ran # apt install -f
> 
> I ran # aptitude reinstall nvidia-persistenced
> E: Internal Error, No file name for nvidia-persistenced:amd64
> 
> Help would be much appreciated.

I have had several instances of this problem.  I posted a workaround 

https://lists.dyne.org/lurker/message/20210122.105344.eab549d1.en.html

I have been doing this for over a year every time it crops up: the list
of affected packages has grown since that post, and the workaround seems
to be without consequences. Perhaps someone who knows stuff could
comment. There is mention of this issue here:

https://stackoverflow.com/questions/11274290/why-is-my-debian-postinst-script-not-being-run

Best 

fraser
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] nvidia-persistenced can't be installed

2021-12-30 Thread tito via Dng
On Thu, 30 Dec 2021 15:26:51 -0500
Haines Brown  wrote:

> When I try to do an upgrade, I'm told nvidia-persistenced is not configured. 
> When I reinstall it I get:
> 
> ...
> Need to get 0 B of archives. After unpacking 0 B will be used.
> Setting up nvidia-persistenced (460.32.03-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)
> Setting up nvidia-persistenced (460.32.03-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
> 
> I'm runing Chimaera with fluxbox but no desktop environment. I reinstalled 
> xord and
> fluxbox. Syslog does not report an error. 
> 
> $ lspci -nn | egrep  -i "3d|display|vga"
> 00:02.0 VGA compatible controller [0300]: Intel Corporation RocketLake-S GT1 
> [UHD Graphics 750] [8086:4c8a] (rev 04)
> 00:17.0 SATA controller [0106]: Intel Corporation Device [8086:43d2] (rev 11)
> 
> I ran # apt install -f
> 
> I ran # aptitude reinstall nvidia-persistenced
> E: Internal Error, No file name for nvidia-persistenced:amd64
> 
> Help would be much appreciated.
>  

Hi,
if I recall correctly rebooting and 

apt install --reinstall nvidia-persistenced

did help.

Ciao,
Tito
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng