You are not logged in.

#1 2024-07-11 13:07:17

koenichiwa
Member
Registered: 2024-07-11
Posts: 1

Laptop froze in the middle of installing `dnsutils`

I tried to install `dnsutils` but my laptop became completely unresponsive to any input during the installation.

I did a hard reboot, and tried to do the installation again. First I got an error about the database lock file, which I removed.

Then I got a lot of errors like:

 bind: /usr/share/man/man8/rndc.8.gz exists in filesystem

(like a whole lot)

I responded by running

sudo pacman -S --overwrite "*" dnsutils

This installed nslookup, but when I ran nslookup I got a new error

$ nslookup --help
nslookup: error while loading shared libraries: /usr/lib/libjemalloc.so.2: file too short

It seems that /usr/lib/libjemalloc.so.2 is now 0 bytes long:

$ ls -la /usr/lib/libjemalloc.so.2
-rwxr-xr-x 1 root root 0  1 mei 22:19 /usr/lib/libjemalloc.so.2

How do I start to fix this?

Last edited by koenichiwa (2024-07-11 13:07:41)

Offline

#2 2024-07-11 13:21:38

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 782
Website

Re: Laptop froze in the middle of installing `dnsutils`

I think you can also just reinstall the package owning "/usr/lib/libjemalloc.so.2":

$ pacman -Qqo /usr/lib/libjemalloc.so.2            
jemalloc

https://wiki.archlinux.org/title/Pacman … ed_upgrade and the section after it could also be of interest.

Also someone wrote a tool for this problem, but I don't know how well it works: https://github.com/Edu4rdSHL/archlinux-pkgrecover

Last edited by gromit (2024-07-11 13:22:17)

Offline

Board footer

Powered by FluxBB