On Tue, 24 Jun 2025 04:45:40 -0400
Haines Brown via Dng <dng@???> wrote:
> Tito, thank you for your reply.
>
> I tried to correct the partial confiuration error for libc-bin. I tried
>
> # dpkg --configure -a
> # apt-get install -f
>
> # apt-get reinstall --reinstall libc-bin
Hi,
apt-get install --reinstall libc-bin should be enough to reinstall it correctly
you don't need to remove it first.
apt-get install --reinstall libc-bin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 608 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1
http://deb.devuan.org/merged daedalus/main amd64 libc-bin amd64 2.36-9+deb12u10 [608 kB]
Fetched 608 kB in 2s (376 kB/s)
(Reading database ... 650848 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.36-9+deb12u10_amd64.deb ...
Unpacking libc-bin (2.36-9+deb12u10) over (2.36-9+deb12u10) ...
Setting up libc-bin (2.36-9+deb12u10) ...
Processing triggers for man-db (2.11.2-2) ...
>
> # apt-get install -f libc-bin
>
> and finally:
>
> # dpkg --remove --force-remove-reinstreq --dry-run libc-bin
> dpkg: error processing package libc-bin (--remove):
> this is an essential package; it should not be removed
> Errors were encountered while processing:
> libc-bin
>
> My fear is that if I purge the package and attenpt to reinstall it,
> my system will be dead in the water and in need of reinstallation
Yes so it is.
> $ ls -ls /etc/ld.so.conf.d/
> total 24
> drwxr-xr-x 2 root root 4096 May 20 09:49 .
> drwxr-xr-x 115 root root 12288 Jun 23 15:05 ..
> -rw-r--r-- 1 root root 44 Sep 22 2022 libc.conf
> -rw-r--r-- 1 root root 100 Jul 13 2023 x86_64-linux-gnu.conf
>
> Should there be a fakeroot-x86_64-linux-gnu.conf here?
Only if you have installed the fakeroot package.
> # ldconfig
> ldconfig: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or
> directory
>
> Indeed I do not have it.
>
> # lsconfig -v
> /lib/x86_64-linux-gnu: (from /etc/ld.so.conf.d/x86_64-linux-gnu.conf:3)
> libnss_compat.so.2 -> libnss_compat.so.2
> ld-linux-x86-64.so.2 -> ld-linux-x86-64.so.2
> [dozens of lines like this in which a file has symlink itself]]
> /usr/lib/x86_64-linux-gnu: (from /etc/ld.so.conf.d/x86_64-linux-gnu.conf:4)
> libavformat.so.59 -> libavformat.so.59.27.100
> [again, dozens of these recursive links]
> /lib: (from <builtin>:0)
> /usr/lib: (from <builtin>:0)
>
> ---
>
> Haines Brown
> _______________________________________________
> Dng mailing list
> Dng@???
> Manage your subscription: https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> Archive: https://lists.dyne.org/lurker/list/dng.en.html