You are not logged in.

#1 2020-12-16 21:59:04

buzuddha
Member
Registered: 2020-10-02
Posts: 72

[SOLVED] autokey-gtk and autokey-qt conflict during upgrade

I use autokey for OS X-like keyboard shortcuts. My most recent update pacman -Syu seems to have broken it.

[user@computer ~]$ autokey-qt
Traceback (most recent call last):
  File "/usr/bin/autokey-qt", line 33, in <module>
    sys.exit(load_entry_point('autokey==0.95.10', 'console_scripts', 'autokey-qt')())
  File "/usr/bin/autokey-qt", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: autokey
[user@computer ~]$ autokey-gtk 
Traceback (most recent call last):
  File "/usr/bin/autokey-gtk", line 33, in <module>
    sys.exit(load_entry_point('autokey==0.95.10', 'console_scripts', 'autokey-gtk')())
  File "/usr/bin/autokey-gtk", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: autokey

I don't claim to know much about python (or really much for that matter). I'd be very happy to have my shortcuts back. Thanks for any help!

Last edited by buzuddha (2020-12-17 02:55:52)

Offline

#2 2020-12-16 22:02:31

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] autokey-gtk and autokey-qt conflict during upgrade

Moving to AUR Issues.

Have you rebuilt and reinstalled them since the python 3.9 update? It's your job to look after AUR packages, not pacmans.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2020-12-17 00:23:41

buzuddha
Member
Registered: 2020-10-02
Posts: 72

Re: [SOLVED] autokey-gtk and autokey-qt conflict during upgrade

Ah! I see! My bad.

!!For anyone interested in Autokey !!

Seems like they're moving to autokey-common

my update failed here:

password for user: 
loading packages...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: autokey-gtk and autokey-qt are in conflict
==> WARNING: Failed to install built package(s).

Googling "autokey-gtk and autokey-qt are in conflict" gives nothing.

@yochananmarqos the autokey AUR package maintainer posted 4 days ago:

PSA: You may need to uninstall the old autokey package before you can upgrade to autokey-common + autokey-gtk / autokey-qt due to conflicting files.

Last edited by buzuddha (2020-12-17 01:08:54)

Offline

#4 2020-12-17 00:35:54

buzuddha
Member
Registered: 2020-10-02
Posts: 72

Re: [SOLVED] autokey-gtk and autokey-qt conflict during upgrade

[Thread related]

The error persists even with autokey-common.

1. Uninstalled autokey sudo pacman -R autokey

2. Get rid of the original build directory

cd builds
rm -rf autokey/

3. git, make, and install. The install fails again for the autokey-common package with the same error. Anybody aware of why this might be the case?

[Thread tangents]
Also is it possible to insert specific packages into a list that pacman could be responsable for updating?

nvm: answered my own question...seems you can do it in pacman... and this read of an ubuntu example of an upgrade break from 3rd party repositories here is reason enough to leave pacman to the official stuff.

Last edited by buzuddha (2020-12-17 01:34:53)

Offline

#5 2020-12-17 02:55:37

buzuddha
Member
Registered: 2020-10-02
Posts: 72

Re: [SOLVED] autokey-gtk and autokey-qt conflict during upgrade

Thanks @yochananmarqos for the help!

Had to individually install the packages from within the package build folder separately with

pacman -U

autokey is the $PKGDEST

$ cd autokey
$ sudo pacman -U --asdeps autokey-common-0.95.10-2-x86_64.pkg.tar.zst
$ sudo pacman -U autokey-gtk-0.95.10-2-x86_64.pkg.tar.zst

gtk for me as I use gnome.

Thanks for your help y'all! I have my OS X shortcuts back! W00t!

Last edited by buzuddha (2020-12-17 03:03:36)

Offline

Board footer

Powered by FluxBB