When trying to add the ppa in debian trixie whe following error is returned:
$ sudo add-apt-repository ppa:fenics-packages/fenics
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 362, in <module>
sys.exit(0 if addaptrepo.main() else 1)
^^^^^^^^^^^^^^^^^
File "/usr/bin/add-apt-repository", line 345, in main
shortcut = handler(source, **shortcut_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 40, in shortcut_handler
return handler(shortcut, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 86, in __init__
if self.lpppa.publish_debug_symbols:
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, in lpppa
self._lpppa = self.lpteam.getPPAByName(name=self.ppaname)
^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 113, in lpteam
self._lpteam = self.lp.people(self.teamname)
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'people'
dist-upgrading didn’t solve the problem, but what “did” solve the problem was installing python3-launchpadlib .
The problem now is on the ppa itself, as I get the error:
Repository: 'deb https://ppa.launchpadcontent.net/fenics-packages/fenics/ubuntu/ trixie main'
Description:
This PPA provides packages for the FEniCS project (http://fenicsproject.org).
More info: https://launchpad.net/~fenics-packages/+archive/ubuntu/fenics
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/fenics-packages-ubuntu-fenics-trixie.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/fenics-packages-ubuntu-fenics-trixie.list
Adding key to /etc/apt/trusted.gpg.d/fenics-packages-ubuntu-fenics.gpg with fingerprint 6C1DA1C0EC4B649179C1C7437C3297BD11D01687
Obj:1 http://deb.debian.org/debian testing InRelease
Obj:2 https://deb.nodesource.com/node_20.x nodistro InRelease
Obj:3 https://packages.microsoft.com/repos/ms-teams stable InRelease
Obj:4 https://packages.microsoft.com/repos/code stable InRelease
Ign:5 https://ppa.launchpadcontent.net/fenics-packages/fenics/ubuntu trixie InRelease
Err:6 https://ppa.launchpadcontent.net/fenics-packages/fenics/ubuntu trixie Release
404 Not Found [IP: 185.125.190.80 443]
Des:7 https://zotero.retorque.re/file/apt-package-archive ./ InRelease [2.153 B]
Leyendo lista de paquetes... Hecho
E: El repositorio «https://ppa.launchpadcontent.net/fenics-packages/fenics/ubuntu trixie Release» no tiene un fichero de Publicación.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.
The instructions are for ubuntu really. We had assumed you know not to use the ppa if you’re on Debian instead, but you’re right, the instructions are not strictly correct.
python3-dolfinx-complex will get you the complex build. Remember to activate it via PETSC_DIR/SLEPC_DIR