What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.1.35
How are you able to access your server: La webadmin
SSH
Bonjour, je gère un serveur YunoHost pour les besoins d’une asso. Nous avons besoin d’installer PMB pour gérer une bibliothèque, qui n’est malheureusement pas empaqueté pour YunoHost (je viens de l’ajouter à la wishlist mais je me doute qu’il n’arrivera pas de sitôt dans le catalogue).
Je cherche donc à installer PMB manuellement, le premier problème qui se pose à moi est que PMB exige Apache comme serveur web et je n’ai pas trouvé d’alternative pour l’installer avec Nginx. Alors je me suis dit que j’allais utiliser la fonction reverse-proxy de Nginx pour rediriger les requêtes vers Apache qui servira PMB. Cependant lorsque je cherche à installer Apache je tombe sur l’erreur suivante:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package apache2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libapache2-mpm-itk
E: Package 'apache2' has no installation candidate
J’ai tenté apt update && apt upgrade mais ça ne résoud pas le problème.
Lorsque je fais apt show -a apache2 il m’affiche deux versions d’apache:
Package: apache2
Version: 2.4.65-1~deb12u1
Priority: optional
Section: httpd
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Installed-Size: 593 kB
Provides: httpd, httpd-cgi
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: apache2-bin (= 2.4.65-1~deb12u1), apache2-data (= 2.4.65-1~deb12u1), apache2-utils (= 2.4.65-1~deb12u1), lsb-base, media-types, perl:any, procps
Recommends: ssl-cert
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser
Homepage: https://httpd.apache.org/
Tag: role::metapackage, suite::apache
Download-Size: 228 kB
APT-Sources: https://deb.debian.org/debian bookworm/main amd64 Packages
Description: Apache HTTP Server
The Apache HTTP Server Project's goal is to build a secure, efficient and
extensible HTTP server as standards-compliant open source software. The
result has long been the number one web server on the Internet.
.
Installing this package results in a full installation, including the
configuration files, init scripts and support scripts.
Package: apache2
Version: 2.4.62-1~deb12u2
Priority: optional
Section: httpd
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Installed-Size: 587 kB
Provides: httpd, httpd-cgi
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: apache2-bin (= 2.4.62-1~deb12u2), apache2-data (= 2.4.62-1~deb12u2), apache2-utils (= 2.4.62-1~deb12u2), lsb-base, media-types, perl:any, procps
Recommends: ssl-cert
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser
Homepage: https://httpd.apache.org/
Download-Size: 223 kB
APT-Sources: https://security.debian.org/debian-security bookworm-security/main amd64 Packages
Description: Apache HTTP Server
The Apache HTTP Server Project's goal is to build a secure, efficient and
extensible HTTP server as standards-compliant open source software. The
result has long been the number one web server on the Internet.
.
Installing this package results in a full installation, including the
configuration files, init scripts and support scripts.
J’essaie donc d’en spécifier une avec `apt install apache2=2.4.65-1~deb12u1 mais je tombe alors sur des erreurs de conflit:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
apache2 : Depends: apache2-bin (= 2.4.65-1~deb12u1) but 2.4.62-1~deb12u2 is to be installed
yunohost : Conflicts: apache2 but 2.4.65-1~deb12u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Et je vois que yunohost apparaît dans les conflits
Merci de votre aide