fslint icon indicating copy to clipboard operation
fslint copied to clipboard

Installation on Ubuntu 20.04 LTS broken due to obsolete dependencies

Open juozaspo opened this issue 4 years ago • 18 comments

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.

juozaspo avatar Apr 25 '20 04:04 juozaspo

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

N0rbert avatar May 01 '20 07:05 N0rbert

Related #147

darkdragon-001 avatar May 12 '20 16:05 darkdragon-001

Same here, dependencies are broken

dougglenn avatar Jun 15 '20 23:06 dougglenn

Thanks so much! I just installed fslint on my HPELITEBook under Ubuntu 20.04. All well :>)

raywillis avatar Sep 28 '20 15:09 raywillis

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.

l49fks avatar Dec 15 '20 20:12 l49fks

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

N0rbert avatar Dec 15 '20 21:12 N0rbert

Thank You

swamykankipati avatar Dec 16 '20 17:12 swamykankipati

@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 avatar Jan 06 '21 21:01 mixpc

@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.

stuaxo avatar Jan 13 '21 14:01 stuaxo

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 avatar Feb 26 '21 15:02 Valtarien

@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

N0rbert avatar Feb 26 '21 15:02 N0rbert

@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!

Valtarien avatar Feb 26 '21 15:02 Valtarien

There is a working tool named Czkawka, that is a reimplementation of fslint written in rust ( https://qarmin.github.io/czkawka/ )

MilamberValheru avatar Apr 16 '21 13:04 MilamberValheru

@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 avatar May 30 '21 11:05 igor-cali

@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

pixelb avatar May 30 '21 22:05 pixelb

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

bugith avatar May 22 '22 08:05 bugith

Thanks, the https://snapcraft.io/fslint-unofficial looks theoretically good. I see removable-media plug in place, so it is viable.

N0rbert avatar May 22 '22 08:05 N0rbert

https://github.com/pixelb/fslint/issues/173#issuecomment-1426932965

Fr-Dae avatar Feb 12 '23 03:02 Fr-Dae