Tuesday, April 22, 2025
dev@conference.yunohost.org
April
Mon Tue Wed Thu Fri Sat Sun
  1
2
3
4
5
6
7
8 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
       
             

[08:29:35] <Yunohost Git/Infra notifications> [issues] m​isterchibi opened [issue #2580](https://github.com/YunoHost/issues/issues/2580): systemresources diagnosis fails due to unexpected ISO 8601 date format in kernel logs
[14:48:33] <Augier> Damn I can't install Kresus here. I get the following error:

```
DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install python3-selenium python3-josepy libffi-dev libxml2-dev libxslt-dev libyaml-dev libtiff-dev libjpeg-dev libopenjp2-7-dev libfreetype6-dev libwebp-dev mupdf-tools libnss3-tools python3-nss virtualenv postgresql --dry-run
WARNING - The following packages have unmet dependencies:
WARNING - libfreetype6-dev : Depends: libfreetype-dev (= 2.12.1+dfsg-5+deb12u4) but it is not going to be installed
WARNING - libjpeg-dev : Depends: libjpeg62-turbo-dev (>= 1:2.1.5-2) but it is not going to be installed
WARNING - libtiff-dev : Depends: libjbig-dev but it is not going to be installed
WARNING - Depends: liblzma-dev but it is not going to be installed
WARNING - Depends: libtiffxx6 (= 4.5.0-6+deb12u2) but it is not going to be installed
WARNING - Depends: libdeflate-dev but it is not going to be installed
WARNING - Depends: liblerc-dev but it is not going to be installed
WARNING - libxml2-dev : Depends: libicu-dev but it is not going to be installed
WARNING - libzstd-dev : Depends: libzstd1 (= 1.5.4+dfsg2-5) but 1.5.6+dfsg-2 is to be installed
WARNING - mupdf-tools : Depends: libgumbo1 (>= 0.9.2) but it is not going to be installed
WARNING - Depends: libmujs2 (>= 1.0.7) but it is not going to be installed
WARNING - postgresql : Depends: postgresql-15 but it is not going to be installed
WARNING - python3-selenium : Depends: python3-trio-websocket but it is not going to be installed
WARNING - Recommends: chromium-driver but it is not going to be installed
WARNING - virtualenv : Depends: python3-virtualenv but it is not going to be installed
```

From what I can see, it's all because `libzstd1=1.5.6+dfsg-2` is installed on my computer but Kresus' deps require `1.5.4+dfsg2-5`. I think it's related to my system believing it's on Trixie and not Bookworm. I don't know how to fix this.
[14:54:21] <Augier> I may have entered something bad in the CLI at some point. Maybe `apt dist-upgrade` instead of `full-upgrade` ?
[15:11:10] <Aleks (he/him/il/lui)> full-upgrade is an alias to dist-upgrade
[15:13:27] <Augier> Dammit. And does it upgrade to the next Debian when available?
[15:17:43] <Aleks (he/him/il/lui)> no
[15:18:42] <Aleks (he/him/il/lui)> it only means that, compared to the "regular" `upgrade` command, it will add new / remove unecessary packages if necessary, such as a package requiring a new dependency, or not requiring a dependency anymore
[15:19:00] <Aleks (he/him/il/lui)> i.e supposedly "unsafe" in the sense of "changes the list of packages installed"
[15:19:25] <Aleks (he/him/il/lui)> the distinction was probably relevant 20 years ago, but nowadays running `full-upgrade` should be the default and only when you want to be super-cautious for some reason you want to run the "simple" `upgrade` which is an alias to `safe-upgrade`
[15:19:45] <Aleks (he/him/il/lui)> anyway what does `apt policy libzstd1` shows
[15:24:38] <Augier> ```
# apt policy libzstd1
libzstd1:
Installé : 1.5.6+dfsg-2
Candidat : 1.5.6+dfsg-2
Table de version :
*** 1.5.6+dfsg-2 100
100 /var/lib/dpkg/status
1.5.4+dfsg2-5 500
500 http://ftp.debian.org/debian bookworm/main amd64 Packages

```
[15:28:50] <Aleks (he/him/il/lui)> yes so somehow you installed a version that is not in your sources anymore so it just looks like you tweaked your sources.list manually, installed some stuff, then reverted your changes in sources.list, but that doesnt magically downgrade the system or whatever
[15:30:24] <Augier> It is possible. Is there a way I can fix that?
[15:30:45] <rodinux> pinning ?
[15:33:05] <Augier> That being said I still don't understand how I moved to Trixie:

```
# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
```
[15:33:49] <Aleks (he/him/il/lui)> ¯\_(ツ)_/¯ can't know without knowing what tweaks you made to your sources.list and what stuff you installed after
[15:34:13] <Augier> Also:

```
# yunohost tools regen-conf apt --dry-run --with-diff
Attention : Le fichier de configuration '/etc/apt/sources.list.d/extra_php_version.list' a été modifié manuellement et ne sera pas mis à jour
apt:
applied:
pending:
/etc/apt/sources.list.d/extra_php_version.list:
diff: @@ -1 +1 @@
-deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] https://packages.sury.org/php/ bookworm main
+deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] https://packages.sury.org/php/ trixie main
status: modified
```
[15:35:35] <rodinux> waouw trixie...
[15:38:34] <Augier> I know…
[16:11:57] <Augier> I don't think so. Would it solve my problem, though?
[16:11:57] <Salamandar> Did you run switchToUnstable maybe ?
[16:11:58] <Salamandar> > <@augierle42e:matrix.org> Also:
>
> ```
> # yunohost tools regen-conf apt --dry-run --with-diff
> Attention : Le fichier de configuration '/etc/apt/sources.list.d/extra_php_version.list' a été modifié manuellement et ne sera pas mis à jour
> apt:
> applied:
> pending:
> /etc/apt/sources.list.d/extra_php_version.list:
> diff: @@ -1 +1 @@
> -deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] https://packages.sury.org/php/ bookworm main
> +deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] https://packages.sury.org/php/ trixie main
> status: modified
> ```

Yes makes sense actually
[16:32:36] <Salamandar> It wouldnt
[17:05:00] <Augier> Well I would have access to the latest repo and the latest package, right?
[17:08:47] <Augier> Otherwise, is there a way that I can tell APT "just install this, dammit, I know what I'm doing"? I couldn't find it. Tried `apt install --nodeps` but it wouldn't even try to insta.
[17:09:29] <Augier> I'd love a `--stfu` option on every single command.
[17:39:23] <Émy – OniriCorpe> CI is broken :/
[17:39:30] <Émy – OniriCorpe> For example https://ci-apps-dev.yunohost.org/ci/job/9026
[20:50:56] <Yunohost Git/Infra notifications> [yunohost] J​osue-T created new branch pre_app_upgrade_hook
[20:53:18] <Yunohost Git/Infra notifications> [yunohost] J​osue-T pushed 1 commit to pre_app_upgrade_hook: Add pre_upgrade_hook ([11f0efaa](https://github.com/YunoHost/yunohost/commit/11f0efaa98bda685ec1447a4618c55f904803148))
[20:54:17] <Yunohost Git/Infra notifications> [yunohost] J​osue-T opened [pull request #2095](https://github.com/YunoHost/yunohost/pull/2095): Add pre_upgrade_hook
[20:56:21] <Yunohost Git/Infra notifications> [yunohost] J​osue-T edited [pull request #2095](https://github.com/YunoHost/yunohost/pull/2095): Add pre_app_upgrade hook
[20:59:14] <Yunohost Git/Infra notifications> [yunohost] J​osue-T edited [pull request #2095](https://github.com/YunoHost/yunohost/pull/2095): Add pre_app_upgrade hook
[21:42:57] <tituspijean[m]> poke @Salamandar:matrix.org
[21:54:48] <Tagada> c'est possible que ce soit un soucis d'espace disque :x
je le relance