Is there going to be an update for the Launchpad PPA for openkim on Ubuntu 22.04LTS?
I was trying to build a singularity container adapted from Ubuntu 20.04LTS today, but am seeing some unusual errors (quoted below). In my very limited Ubuntu experience that looks like the repo for this version is not (yet) initialized. Any suggestions for workarounds would be welcome.
+ add-apt-repository ppa:openkim/latest
Repository: 'deb https://ppa.launchpadcontent.net/openkim/latest/ubuntu/ jammy main'
Description:
Latest releases of kim-api and openkim-models
More info: https://launchpad.net/~openkim/+archive/ubuntu/latest
Adding repository.
Adding deb entry to /etc/apt/sources.list.d/openkim-ubuntu-latest-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/openkim-ubuntu-latest-jammy.list
Adding key to /etc/apt/trusted.gpg.d/openkim-ubuntu-latest.gpg with fingerprint A5E1187F047C159C83981FA42C301800CBF334E1
gpg: error running '/usr/bin/gpg-agent': probably not installed
gpg: failed to start agent '/usr/bin/gpg-agent': Configuration error
gpg: can't connect to the agent: Configuration error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 423, in add_key
subprocess.run(cmd.split(), check=True, input=keys)
File "/usr/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['gpg', '-q', '--no-options', '--no-default-keyring', '--batch', '--keyring', '/etc/apt/trusted.gpg.d/openkim-ubuntu-latest.gpg', '--homedir', '/tmp/tmpcuf77tzp', '--import']' returned non-zero exit status 2.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 364, in <module>
sys.exit(0 if addaptrepo.main() else 1)
File "/usr/bin/add-apt-repository", line 357, in main
shortcut.add()
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 222, in add
self.add_key()
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuthandler.py", line 425, in add_key
raise ShortcutException(e)
softwareproperties.shortcuthandler.ShortcutException: Command '['gpg', '-q', '--no-options', '--no-default-keyring', '--batch', '--keyring', '/etc/apt/trusted.gpg.d/openkim-ubuntu-latest.gpg', '--homedir', '/tmp/tmpcuf77tzp', '--import']' returned non-zero exit status 2.
FATAL: While performing build: while running engine: exit status 1