27

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). – WinEunuuchs2Unix May 1 '20 at 0:08
  • now the link has been fixed – stason Nov 2 '20 at 0:48
28

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? – Patrick Conwell May 24 '20 at 17:48
  • 2
    Is installing obsolete dependencies likely to conflict with other packages in 20.04, or is it safe to do so? – Jon Bentley Aug 12 '20 at 11:29
  • 1
    It is safe way to use. – N0rbert Aug 12 '20 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 at 21:21
  • 2
    Any educated guess when this workaround will no longer be necessary (e.g. is anyone working on updating fslint) ? – nutty about natty Jan 10 at 20:20
9

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
  • I love the way that issue points right back here... – Potherca Nov 27 '20 at 12:45
0

To run it after you install fslint AND follow the obsolete dependencies (...168) link and install those, you should just type "fslint" in the application starter, else, to run from a terminal window enter fslint-gui.

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