Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on Ubuntu 20.04 LTS broken due to obsolete dependencies #168

Open
juozaspo opened this issue Apr 25, 2020 · 18 comments
Open

Installation on Ubuntu 20.04 LTS broken due to obsolete dependencies #168

juozaspo opened this issue Apr 25, 2020 · 18 comments

Comments

@juozaspo
Copy link

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 juozaspo changed the title No longer able to install on Ubuntu 20.04 LTS due to obsolete dependencies Installation on Ubuntu 20.04 LTS broken due to obsolete dependencies Apr 25, 2020
@N0rbert
Copy link

N0rbert commented May 1, 2020

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

@darkdragon-001
Copy link

Related #147

@dougglenn
Copy link

Same here, dependencies are broken

@raywillis
Copy link

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

@l49fks
Copy link

l49fks commented Dec 15, 2020

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.

@N0rbert
Copy link

N0rbert commented Dec 15, 2020

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

@swamykankipati
Copy link

Thank You

@mixpc
Copy link

mixpc commented Jan 6, 2021

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

@stuaxo
Copy link

stuaxo commented Jan 13, 2021

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

@Valtarien
Copy link

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.

@N0rbert
Copy link

N0rbert commented Feb 26, 2021

@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
Copy link

Valtarien commented Feb 26, 2021

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

@MilamberValheru
Copy link

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

@igor-cali
Copy link

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

@pixelb
Copy link
Owner

pixelb commented May 30, 2021

@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

@bugith
Copy link

bugith commented May 22, 2022

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

@N0rbert
Copy link

N0rbert commented May 22, 2022

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

@Fr-Dae
Copy link

Fr-Dae commented Feb 12, 2023

#173 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests