fslint
fslint copied to clipboard
Installation on Ubuntu 20.04 LTS broken due to obsolete dependencies
After building fslint for Ubuntu using the method described in the site I cannot install the package any more since it requires packages named python-gtk2
& python-glade2
that are no longer available as they depends on obsolete python packages already removed from repositories. You should fix the dependencies or provide an alternate method to run and/or install fslint.
Related issue on LP - https://pad.lv/1785845 . Temporary installation fix from AskUbuntu:
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
Related #147
Same here, dependencies are broken
Thanks so much! I just installed fslint on my HPELITEBook under Ubuntu 20.04. All well :>)
404's on the deb packages listed in N0rbert's solution.
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb --2020-12-15 13:53:58-- http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.88.152, 91.189.88.142, 2001:67c:1360:8001::23, ... Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.88.152|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2020-12-15 13:53:58 ERROR 404: Not Found.
Thanks!
Update is below:
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
Thank You
@N0rbert thank you for providing a workaround. Any estimated date when fslint will be available in Ubuntu 20.10? Or at least ported to python3? Thank you and regards,
@mixpc python2 -> python3 isn't too much of an issue when it comes to porting.
Porting from Gtk2 -> Gtk3 is more of a painful (and you may as well just skip straight to Gtk4 so there is longevity).
The other dependency is Glade. Gtk Builder is now in favour instead of Glade, so going forward it would make sense to port to GtkBuilder as well.
Using the updated workaround provided by @N0rbert above, I get the following result:
. . .
apt-get install ./*.deb
Reading package lists... Done Building dependency tree
Reading state information... Done Note, selecting 'fslint' instead of './fslint_2.46-1_all.deb' Note, selecting 'python-glade2' instead of './python-glade2_2.24.0-6_amd64.deb' Note, selecting 'python-gtk2' instead of './python-gtk2_2.24.0-6_amd64.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:The following packages have unmet dependencies: python-gtk2 : Depends: python:any (>= 2.6.6-7~) Depends: python-cairo (>= 1.0.2-1.1) but it is not installable Depends: python-gobject-2 (>= 2.21.3) but it is not installable E: Unable to correct problems, you have held broken packages.
@Valtarien check your repositories first, if it is 20.10 - then use:
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
@Valtarien check your repositories first, if it is 20.10 - then use:
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
I actually just tried this after referencing it from your post on https://askubuntu.com/a/1233818. Using:
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
. . . worked! Thanks!
There is a working tool named Czkawka, that is a reimplementation of fslint written in rust ( https://qarmin.github.io/czkawka/ )
@pixelb I wonder if Fslint is still maintained (last commit on early 2019). I really like it and using for years. Is there any chance to have it migrated to active dependencies?
Thanks!
@igor-cali I don't really have time for it TBH. https://qarmin.github.io/czkawka/ is a more modern port (using rust) that looks promising
For the ones who find czkawka is too difficult to pronounce and do not like one changes their coffee flavour and are faithful to Pádraig's job we now have a snap: https://github.com/tgagor/fslint-snap
Thanks, the https://snapcraft.io/fslint-unofficial looks theoretically good. I see removable-media plug in place, so it is viable.
https://github.com/pixelb/fslint/issues/173#issuecomment-1426932965