33

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?

2
  • Your link is 404 (not found). May 1, 2020 at 0:08
  • now the link has been fixed
    – stason
    Nov 2, 2020 at 0:48

5 Answers 5

32

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.

14
  • 3
    Is there an alternative to fslint that doesn't require depreciated dependencies? May 24, 2020 at 17:48
  • 2
    Is installing obsolete dependencies likely to conflict with other packages in 20.04, or is it safe to do so? Aug 12, 2020 at 11:29
  • 1
    It is safe way to use.
    – N0rbert
    Aug 12, 2020 at 15:48
  • 2
    There is nothing special here. All these packages are regular deb-packages. So they can be removed using apt, apt-get, aptitude or Synaptic. In Aptitude and Synaptic these packages will be marked as obsolete or locally installed. So you can sort them from others.
    – N0rbert
    Jan 1, 2021 at 21:21
  • 3
    Any educated guess when this workaround will no longer be necessary (e.g. is anyone working on updating fslint) ? Jan 10, 2021 at 20:20
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

1
  • 1
    I love the way that issue points right back here...
    – Potherca
    Nov 27, 2020 at 12:45
8

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

2
  • I installed the snap for Ubuntu: it looks nice but the action buttons do not perform any action
    – am70
    May 3 at 8:43
  • I only installed the deb from their ppa, which works flawlessly. Maybe it is a permission issue related to snap?
    – Force
    May 3 at 12:05
0

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
0

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.