You are not logged in.
Hi
devuan chimaera
Due to a crash libunistring.so.2 /usr/lib/x86_64-linux-gnu/libunistring.so.2.1.0 is missing
this is needed from various apps needed for maintaining the system.
aptitude (and similar maintenance tools) run into an infinite loop complaining about the missing file.
How do I reinstall the package (and maybe others) in rescue mode ?
apt-file search libunistring.so
libunistring2: /usr/lib/x86_64-linux-gnu/libunistring.so.2
libunistring2: /usr/lib/x86_64-linux-gnu/libunistring.so.2.1.0
rescue mode
no apt, no apt-get , no aptitude !
edit:
no dpkg in rescue mode!
wget relies on libunistring.so.2
a multitude of packages rely directly or indirectly on libunistring2 !
Last edited by bai4Iej2need (2023-02-28 13:50:56)
The devil you know is better than the angel you don't know. by a British Citizen, I don't know too good.
One generation abandons the enterprises of another like stranded vessels. By Henry David Thoreau, WALDEN, Economy. Line 236 (Gutenberg text Version)
Offline
If you have acess to other computer, you can download the file and install it with dpkg. Or, in your computer, using a live system booting it off an USB drive.
Last edited by PedroReina (2023-02-28 12:04:04)
Offline
Goto pkginfo.devuan.org and search for the appropriate package, then select the deb download link next to "Filename".
You can then try to install the deb with dpkg --install FILENAME, if you can't boot or dpkg doesn't work, you can manually copy the appropriate file into the right location - you can get the file by opening the deb with any archive tool that supports "ar" format, then looking inside data.tar for the relevant file. (If you're using a Live USB to do this, make sure you've mounted the appropriate filesystem in a suitable location, and are not copying into the Live OS's filesystem.)
Also worth pointing out that, if you didn't also know the package name (e.g. if apt-file isn't installed or dpkg-query -S FILENAME fails), pkginfo.devuan.org allows search by file by changing "Package pattern" to "File pattern" - despite looking like text it is a drop-down.
3.1415P265E589T932E846R64338
Offline
When this happens to me and my system I generally download the package if I haven't already got it.
Boot into single-user mode and use dpkg -i to install the package.
Offline