I need python-gtk2 and python-glade-2 for an old app, but when I run dpkg -i I get this (translated), stating I miss python ???
sudo dpkg -i python-gtk2_2.24.0-5.1ubuntu2_amd64.deb python-glade2_2.24.0-5.1ubuntu2_amd64.deb Selecting packet python-gtk2 previously deselected.(reading database... 364958 files et directories already installed.)Preparation to unpacking python-gtk2_2.24.0-5.1ubuntu2_amd64.deb ...Unpacking python-gtk2 (2.24.0-5.1ubuntu2) ...Selecting packet python-glade2 previously deselected.Preparation to unpacking python-glade2_2.24.0-5.1ubuntu2_amd64.deb ...Unpacking python-glade2 (2.24.0-5.1ubuntu2) ...dpkg: dependencies problems prevent configuration of python-gtk2 : python-gtk2 depends on python (<< 2.8) ; although : Packet python is not installed. python-gtk2 depend on python (>= 2.7) ; although : Package python is not installed. python-gtk2 depend on python:any (>= 2.6.6-7~) ; although : Package python is not installed.dpkg: error when processing python-gtk2 package (--install) : dependencies problems - left unconfigureddpkg: dependencies problems prevent configuration of python-glade2 : python-glade2 depends on python (<< 2.8) ; although : Package python is not installed. python-glade2 depends on python (>= 2.7) ; although : Package python is not installed. python-glade2 depends on python-gtk2 (= 2.24.0-5.1ubuntu2) ; although : Package python-gtk2 is not yet configured.dpkg: error when processing python-glade2 package (--install) : dependencies problems - left unconfiguredErrors were encountered when running : python-gtk2 python-glade2
Although :
sudo apt list python2.7 --installedListing... Donepython2.7/jammy,now 2.7.18-13ubuntu1 amd64 [installed]
Please tell me what is wrong there. I did it OK some days ago on a debian11 and I just had to run
sudo apt -f install
to fix the problem. Instead, when I apt -f install here, ubuntu wants to remove the 2 packages instead of fixing the installation.
Thanks for tips. I know this is really not standard thing to do.