deragon / autopoweroff

Manage automatic poweroff and other actions (suspend / custom) when specific conditions are reunited.
GNU General Public License v2.0
52 stars 7 forks source link

python-gi dependency not met and not installable for autopoweroff-gui #44

Closed teasz closed 1 year ago

teasz commented 1 year ago

Version: Linux Mint 21.1 Vera Python Version: Python 3.10.6

autopoweroff daemon is installed with no problems Used apt install and sudo apt-get, both says not installable or error

user:~$ apt install '/home/band/Downloads/autopoweroff-gui_4.2.0_all-ubuntu-20.04.deb' Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'autopoweroff-gui' instead of '/home/band/Downloads/autopoweroff-gui_4.2.0_all-ubuntu-20.04.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: autopoweroff-gui : Depends: python-gi but it is not installable E: Unable to correct problems, you have held broken packages.

deragon commented 1 year ago

I you are trying to install autopoweroff-gui_4.2.0_all-ubuntu-20.04.deb on Linux Mint 21.1 which is based on Ubuntu 22.04.

You should instead install autopoweroff-gui_4.2.0_all-ubuntu-22.04.deb and autopoweroff_4.2.0_all-ubuntu-22.04.deb.