[BUG]cannot install it in Sparky OS (debian)
*enter this in terminal:
sudo add-apt-repository ppa:christian-boxdoerfer/fsearch-stable
I get this 👍
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 361, in
also got this same thing on 2 other os's: Emmabuntus and Peppermint.
sudo add-apt-repository ppa:christian-boxdoerfer/fsearch-stable
Works fine here (Ubuntu 22.04).
Simple workaround: download the corresponding .deb-file from launchpad and install it via dpkg.
Hello again,
forget my posting above. Won't work, cause Debian != Ubuntu, so you'll run into trouble using the .deb-file from launchpad. Instead use the official Debian backport of fsearch. Just tested it successfully on a fresh Sparky VM-installation.
Also keep in mind, that you're aforementioned issue is not directly related to fsearch, but rather to the python-script (add-apt-repository). As far as I know it works with Ubuntu-based distribution only.
Happy (f)searching! ;-)
So how to install this on stable Debian (12)?
According to: https://wiki.debian.org/Backports#Using_the_command_line
sudo apt edit-sources
sudo apt update
add:
deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware
run:
sudo apt show fsearch -a
sudo apt install fsearch/bookworm-backports
fsearch
fsearch: error while loading shared libraries: libicuuc.so.67: cannot open shared object file: No such file or directory
apt info -a fsearch/bookworm-backports
Package: fsearch
Version: 0.2.3-3~bpo12+1
Priority: optional
Section: utils
Maintainer: Debian QA Group <[email protected]>
Installed-Size: 1,148 kB
Depends: libc6 (>= 2.34), libcairo2 (>= 1.2.4), libgdk-pixbuf-2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.59.2), libgtk-3-0 (>= 3.21.5), libicu72 (>= 72.1~rc-1~), libpango-1.0-0 (>= 1.14.0), libpcre2-8-0 (>= 10.22)
Homepage: https://cboxdoerfer.github.io/fsearch/
Download-Size: 241 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian bookworm-backports/main amd64 Packages
Description: Fast graphical file search utility
FSearch is a fast file search utility, based on GTK3.
It supports regular expressions, wildcards, fast sorting,
instant results with millions of files and more.
lsb_release -d
Description: Debian GNU/Linux 12 (bookworm)
Why so complicated? Downloading the deb-file is easier. `
fsearch: error while loading shared libraries: libicuuc.so.67: cannot open shared object file: No such file or directory
` That's odd. fsearch 0.2.3-3 depends on libicu72. Remove your installation of fsearch, remove the repository, make a system update, check if libicu72 is installed and try the deb-file instead.
So I have uninstalled fsearch and removed backports repo and apt update.
Then ran:
apt list --installed|grep -E "fse|libicu"
libicu-dev/stable,now 72.1-3 amd64 [installed]
libicu72/stable,now 72.1-3 amd64 [installed,automatic]
wget http://ftp.pl.debian.org/debian/pool/main/f/fsearch/fsearch_0.2.3-3~bpo12+1_amd64.deb
sudo dpkg -i fsearch_0.2.3-3~bpo12+1_amd64.deb
fsearch
`fsearch: error while loading shared libraries: libicuuc.so.67: cannot open shared object file: No such file or directory`
locate libicuuc.so.67
..no output..
find /etc /var /usr -name libicuuc.so.67 2>/dev/null
..no output..
apt search libicu67
Sorting... Done
Full Text Search... Done
ldd /usr/bin/fsearch|grep libic
libicuuc.so.72 => /lib/x86_64-linux-gnu/libicuuc.so.72 (0x00007f788fc16000)
libicudata.so.72 => /lib/x86_64-linux-gnu/libicudata.so.72 (0x00007f788d200000)
Linking 72 to 67:
sudo ln -s /usr/lib/x86_64-linux-gnu/libicuuc.so.72 /usr/lib/x86_64-linux-gnu/libicuuc.so.67
ends in crash when one type something into the fsearch search field: fsearch: symbol lookup error: fsearch: undefined symbol: ucasemap_open_67
What to try?
Do you have any third party ppa linked to your system? Perhaps ppa:christian-boxdoerfer/fsearch-stable? If so, remove them, update your system and retry installing the deb-file.
Out of curiosity: Did you make a fresh installation of Bookworm or did you upgrade from a previous Debian Installation (Bullseye)? Because libicuuc.so.67 belongs to the Bullseye repos. Whatever, seems your system is a little bit messy.
Do you have any third party ppa linked to your system?
$ grep -v "^#" /etc/apt/sources.list /etc/apt/sources.list.d/*|grep -E "fsearch|boxdoerfer"
/etc/apt/sources.list.d/home:cboxdoerfer.list:deb http://download.opensuse.org/repositories/home:/cboxdoerfer/Debian_12/ /
$ grep -Rial boxdo /etc/apt/
/etc/apt/trusted.gpg.d/home_cboxdoerfer.gpg
/etc/apt/sources.list.d/home:cboxdoerfer.list
If you want to see entire output, then it is here (password is your username).
I have tried to trash that two files:
sudo gio trash /etc/apt/sources.list.d/home:cboxdoerfer.list /etc/apt/trusted.gpg.d/home_cboxdoerfer.gpg
and:
sudo apt update
sudo dpkg -i fsearch_0.2.3-3~bpo12+1_amd64.deb
but it ends with same error: fsearch: error while loading shared libraries: libicuuc.so.67: cannot open shared object file: No such file or directory
should i undo the trashing?
Yes, this mine Bookworm system is result of a Bullseye upgrade...
Sounds very odd. Instead of further fiddling around, maybe a clean system-installation would be preferable. And I wouldn't use any third party ppa at all. Instead I would install the corresponding deb-files.
The official repository for Debian should be up again. See:
https://software.opensuse.org//download.html?project=home%3Acboxdoerfer&package=fsearch#manualDebian