37

I tried to install fslint

:~# apt install fslint

and I received

Package fslint is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'fslint' has no installation candidate

Well, fslint was avaliable in Ubuntu 19.10.

In the fslint website http://www.pixelbeat.org/fslint/ shows it is available for Ubuntu.

What happened?
Was it removed from the 20.04 repository?
Or they substituted for another package or name?

stason
  • 661

5 Answers5

36

It is not presented in 20.04 LTS repositories because Python 2 deprecated stuff, but you can install it manually:

mkdir -p ~/Downloads/fslint
cd ~/Downloads/fslint
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-glade2_2.24.0-6_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/f/fslint/fslint_2.46-1_all.deb

sudo apt-get install ./*.deb

and enjoy using it by running fslint-gui executable.


For 20.10 the solution is a bit longer

mkdir -p ~/Downloads/fslint
cd ~/Downloads/fslint
wget http://archive.ubuntu.com/ubuntu/pool/main/libf/libffi/libffi7_3.3-4_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygobject-2/python-gobject-2_2.28.6-14ubuntu1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pycairo/python-cairo_1.16.2-2ubuntu2_amd64.deb

wget http://old-releases.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb wget http://old-releases.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-glade2_2.24.0-6_amd64.deb wget http://old-releases.ubuntu.com/ubuntu/pool/universe/f/fslint/fslint_2.46-1_all.deb

sudo apt-get install ./*.deb


There's also unofficial Snap package created recently, which just packs latest fslint version available in Ubuntu 18.04.

sudo snap install fslint-unofficial

To work with files in external media use snap connect fslint-unofficial:removable-media.

N0rbert
  • 103,263
14

czkawka is a modern clone written in Rust, which has the same UI and some more features. I can definitely recommend that one.

According to their own benchmarks it is even 10 times faster than fslint

Force
  • 303
  • 3
  • 11
12

An issue has been opened about it on the official github. Looks like obsolete dependencies are the cause here.

https://github.com/pixelb/fslint/issues/168

lejun
  • 121
1

The following worked again today for me to get the very ultimate fslint 2.47 in a fresh 20.04.4 (from forum.ubuntu-fr.org don't worry with errors, we fix them on the walk):

mkdir -p ~/Documents/fslint/pygtk
cd ~/Documents/fslint/pygtk
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
sudo dpkg -i python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
sudo apt install -f
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-glade2_2.24.0-5.1ubuntu2_amd64.deb
sudo dpkg -i python-glade2_2.24.0-5.1ubuntu2_amd64.deb
sudo apt install -f

cd .. sudo apt install git git clone https://github.com/pixelb/fslint.git fslint-2.47 cd fslint-2.47 sudo apt install debhelper dpkg-buildpackage -I.git -rfakeroot -tc sudo dpkg -i ../fslint_2.47-1_all.deb

cd ../.. sudo apt purge git debhelper sudo apt clean sudo apt update sudo apt full-upgrade sudo apt-get clean sudo apt-get autoclean sudo apt autoremove --purge

Then once done and tested with fslint-gui you can:

rm -rf ~/Documents/fslint
useful
  • 1,927
  • 6
  • 26
  • 32
0

There is a package named rmlint in the repo of letest Ubuntu releases. Its also having a gui to find duplicate files.

Basil K Y
  • 286
  • 2
  • 7