<div dir="ltr"><div>Thanks.</div><div><br></div><div>I have run updates multiple times a day for the past week hoping what you are suggesting would transpire, but things are not getting fixed through a simple update.</div><div><br></div><div>Here is the information requested:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">$ dpkg -l libelf1 libelf1t64
</span><br>dpkg-query: no packages found matching libelf1t64
<br>Desired=Unknown/Install/Remove/Purge/Hold
<br>| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
<br>|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
<br>||/ Name           Version      Architecture Description
<br>+++-==============-============-============-===================================
<br>ri  libelf1:amd64  0.190-1+b1   amd64        library to read and write ELF files<br>
<br></span></div><div><div>An attempt to install the 64 bit version of the library fails:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">$ sudo apt-get install libelf1t64
</span><br>Reading package lists... Done
<br>Building dependency tree... Done
<br>Reading state information... Done
<br>Some packages could not be installed. This may mean that you have
<br>requested an impossible situation or if you are using the unstable
<br>distribution that some required packages have not yet been created
<br>or been moved out of Incoming.
<br>The following information may help to resolve the situation:
<br>
<br>The following packages have unmet dependencies:
<br> plasma-workspace : Depends: gdb-minimal but it is not going to be installed or
<br>                             gdb
<br>                    Recommends: qml-module-org-kde-pipewire but it is not going to be installed
<br>E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.<br>
</span></div><div><div><br></div><div>Incidentally, I get the same error when I try to install the kernel
 headers for kernel 6.7.7-amd64 (so I am not upgrading the kernel 
either). I was trying that as a possible solution hoping that the newer kernel may have fixed any problems of compatibility between nvidia-kernel and linux-headers. No joy:<br></div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">$ sudo apt-get install linux-headers-6.7.7-amd64
</span><br>Reading package lists... Done
<br>Building dependency tree... Done
<br>Reading state information... Done
<br>Some packages could not be installed. This may mean that you have
<br>requested an impossible situation or if you are using the unstable
<br>distribution that some required packages have not yet been created
<br>or been moved out of Incoming.
<br>The following information may help to resolve the situation:
<br>
<br>The following packages have unmet dependencies:
<br> plasma-workspace : Depends: gdb-minimal but it is not going to be installed or
<br>                             gdb
<br>                    Recommends: qml-module-org-kde-pipewire but it is not going to be installed
<br>E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.<br></span></div><div><br></div>The above error has also been persistent for the past 4-5 days.<br></div><div><br></div><div>Use of aptitude -f install for installation of kernel headers suggests that I uninstall libelf:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">The following actions will resolve these dependencies:
</span><br>
<br>     Keep the following packages at their current version:
<br>1)     linux-headers-6.7.7-amd64 [Not Installed]           <br>
<br>
<br>Accept this solution? [Y/n/q/?] n
<br>The following actions will resolve these dependencies:
<br>
<br>      Remove the following packages:                <br>1)      libcurl3-gnutls [8.6.0-3 (now, unstable)]   <br>2)      libdebuginfod1 [0.190-1+b1 (now, unstable)]
<br>3)      libdw1 [0.190-1+b1 (now, unstable)]         <br>4)      libelf1 [0.190-1+b1 (now, unstable)]        <br>5)      libnettle8 [3.9.1-2+b1 (now, unstable)]     <br>
<br>      Install the following packages:               <br>6)      libcurl3t64-gnutls [8.6.0-3.2 (unstable)]   <br>7)      libdebuginfod1t64 [0.190-1.1+b1 (unstable)]
<br>8)      libdw1t64 [0.190-1.1+b1 (unstable)]         <br>9)      libelf1t64 [0.190-1.1+b1 (unstable)]        <br>10)     libnettle8t64 [3.9.1-2.2 (unstable)]        <br>11)     linux-kbuild-6.7.7 [6.7.7-1 (unstable)]     <br>
<br>Accept this solution? [Y/n/q/?] <br>
<br></span><div>So, I have a cluster of broken packages that are keeping me from fixing up the situation through an update. From what you mention, maybe I have a broken installation, but I have never seen a Debian installation break like this through regular upgrades (I used to use Testing, but moved to Sid 3 years ago).<br></div><div><br><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 12, 2024 at 6:31 PM Andreas Beckmann <<a href="mailto:anbe@debian.org">anbe@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">That's the actual culprit:<br>
<br>
On 12/03/2024 13.33, JON Tauri wrote:<br>
> # LD [M]  /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.o<br>
>    ld -m elf_x86_64 -z noexecstack --no-warn-rwx-segments   -r -o<br>
> /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.o<br>
> @/var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.mod  ;<br>
> ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake<br>
> --ibt --orc --retpoline --rethunk --sls --static-call --uaccess --prefix=16<br>
>   --link  --module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.o<br>
> ./tools/objtool/objtool: error while loading shared libraries: libelf.so.1:<br>
> cannot open shared object file: No such file or directory<br>
> make[4]: ***<br>
> [/usr/src/linux-headers-6.6.15-common/scripts/Makefile.build:443:<br>
> /var/lib/dkms/nvidia-current/525.147.05/build/nvidia.o] Error 127<br>
> make[4]: *** Deleting file<br>
> '/var/lib/dkms/nvidia-current/525.147.05/build/nvidia.o'<br>
> make[4]: *** Waiting for unfinished jobs....<br>
<br>
This is not a bug in nvidia-kernel-dkms.<br>
I assume this is a temporary breakage due to the ongoing 64-bit time_t <br>
transition which involves a huge amount of package renames.<br>
<br>
I cannot reproduce it in an up-to-date sid chroot with <br>
linux-headers-6.6.15-amd64 installed (which has been superseded by 6.7.* <br>
btw).<br>
<br>
Updating your system again should probably fix the issue.<br>
<br>
In case it persists: Which variant and version of the libelf.so.1 <br>
library do you have installed?<br>
<br>
dpkg -l libelf1 libelf1t64<br>
<br>
<br>
Andreas<br>
</blockquote></div>