pixelb / fslint

Linux file system lint checker/cleaner
314 stars 74 forks source link

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

Open juozaspo opened 4 years ago

juozaspo commented 4 years ago

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.

N0rbert commented 4 years ago

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 commented 4 years ago

Related #147

dougglenn commented 4 years ago

Same here, dependencies are broken

raywillis commented 3 years ago

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

l49fks commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Thank You

mixpc commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

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 commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

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

igor-cali commented 3 years ago

@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 commented 3 years ago

@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 commented 2 years ago

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 commented 2 years ago

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

Fr-Dae commented 1 year ago

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