LM21 and python2

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
AndyMH
Level 21
Level 21
Posts: 13736
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

LM21 and python2

Post by AndyMH »

Looks like it is dead, with LM20 it was on life support.

Some applications disappeared from the repos for LM20 and some external applications would not install. Problem - dependency on python2 libraries - LM20 dropped support. You could get round this problem by wgetting the relevant package from ubuntu 18.04 repos. Typically gtk - python-gtk2_2.24.0-5.1ubuntu2_amd64.deb and glade - python-glade2_2.24.0-5.1ubuntu2_amd64.deb. Doing this I was able to install fslint and crossover 18 in LM20 and maybe a couple of others. Not anymore...

Running my LM19 to LM20 install script for LM20 to LM21:

GTK:

Code: Select all

intalling python gtk2 libraries...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'python-gtk2' instead of '/home/andy/setup/python/python-gtk2_2.24.0-5.1ubuntu2_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 (< 2.8) but it is not installable
               Depends: python (>= 2.7) but it is not installable
               Depends: python:any (>= 2.6.6-7~) but it is not installable
               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.
and glade:

Code: Select all

intalling python glade2 libraries...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'python-glade2' instead of '/home/andy/setup/python/python-glade2_2.24.0-5.1ubuntu2_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-glade2 : Depends: python (< 2.8) but it is not installable
                 Depends: python (>= 2.7) but it is not installable
                 Depends: python-gtk2 (= 2.24.0-5.1ubuntu2) but it is not installable
E: Unable to correct problems, you have held broken packages.
Looks like I will need to run a later version of crossover (problem is office 2013 insists it needs to be re-validated, think I've used my 4 licences) and I'll have to find an alternative to fslint.
Last edited by LockBot on Tue Feb 07, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
xenopeek
Level 25
Level 25
Posts: 29606
Joined: Wed Jul 06, 2011 3:58 am

Re: LM21 and python2

Post by xenopeek »

The fslint website has you covered:
[Update: Please see the czkawka project, a rust reimplementation,
which is more actively maintained, and easier to install on modern systems.]

[Update: Please also see the snap distribution of fslint,
which is now the easiest way to install on modern systems.]
I'd go with czkawka, they seem to have every option from AppImage to flatpak to PPA: https://qarmin.github.io/czkawka/instru ... ation.html
Image
User avatar
AndyMH
Level 21
Level 21
Posts: 13736
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM21 and python2

Post by AndyMH »

Thanks, added to the 'to do' list, but I'm not going anywhere near snaps.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
xenopeek
Level 25
Level 25
Posts: 29606
Joined: Wed Jul 06, 2011 3:58 am

Re: LM21 and python2

Post by xenopeek »

czkawka = hiccups in Polish just looked up. I was going to say, fslint was a much easier name to remember than "czkawka" but maybe having to remember just "Polish for hiccups" will help me remember this tool exists :)
Image
Locked

Return to “Software & Applications”