Solved - Update of file system fails

This worked for me:
I looked at the log file I posted and noticed this:
‘’’
2024-04-19 08:59:04,020: WARNING - E: Failed to fetch https://packages.sury.org/php/pool/main/p/php-defaults/php-common_93%2B0~20230409.46%2Bdebian11~1.gbpdb4dcc_all.deb 404 Not Found [IP: 2400:52e0:1e02::1073:1 443]
2024-04-19 08:59:04,020: WARNING - E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

‘’’

I ssh (ed) onto the server using “kitty portable” and tried “apt-get update”

This failed as well but the error indicated a invalid key

2024-04-10 10:23:02,630: INFO - + Err:1 Index of /php/ bullseye/main amd64 php-common all 2:93+0~20230409.46+debian11~1.gbpdb4dcc
2024-04-10 10:23:02,630: INFO - + 404 Not Found [IP: 2400:52e0:1e02::1072:1 443]

which lead me to this post:

I followed the instructions there which were two simple commands via ssh as root.

apt-key del 95BD4743

and
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
so when I tried:

apt-get update

It worked! Many thanks to all the people who provided assistance.

-My YunoHost server

**Hardware:
Old gaming computer. nividia 970 display card, 500gig crucial ssd, mbord: gigabyte GA-X58A-UD3R with 16gig of mem

**YunoHost version:
yunohost-bullseye-11.0.9-amd64-stable run from usb that was made using balenaEtcher-Portable-1.18.11
HDD was formatted using gparted-live-1.5.0-6-amd64

I have access to my server
web interface from machines in my household

Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?
no

Description of my issue

I am trying to update the Yunohost system but when I do “update all” it kicks me out of the web interface and when I log back in nothing has changed. I have attached the log file below.

I have done the diagnosis and I have conectivity through ipv4 but not ipv6. I understand that I don’t need ipv6 if ipv4 is running.

I would appreciate any guidance,

Best regards,

I

args:
target: system
ended_at: 2024-04-10 00:23:03.904638
error: null
interface: api
operation: tools_upgrade
parent: null
related_to:
started_at: 2024-04-10 00:23:00.863448
success: true
yunohost_version: 11.2.4

============

2024-04-10 10:23:00,872: INFO - Upgrading system packages
2024-04-10 10:23:00,874: DEBUG - Running apt command :
DEBIAN_FRONTEND=noninteractive YUNOHOST_API_RESTART_WILL_BE_HANDLED_BY_YUNOHOST=yes APT_LISTCHANGES_FRONTEND=none apt-get --fix-broken --show-upgraded --assume-yes --quiet -o=Dpkg::Use-Pty=0 -o Dpkg::Options::=“–force-confold” -o Dpkg::Options::=“–force-confmiss” -o Dpkg::Options::=“–force-confdef” dist-upgrade
2024-04-10 10:23:00,934: INFO - + Reading package lists…
2024-04-10 10:23:01,114: INFO - + Building dependency tree…
2024-04-10 10:23:01,115: INFO - + Reading state information…
2024-04-10 10:23:01,283: INFO - + Calculating upgrade…
2024-04-10 10:23:01,468: INFO - + The following NEW packages will be installed:
2024-04-10 10:23:01,468: INFO - + apparmor firmware-linux-free libabsl20200923 libavif9 libde265-0 libgav1-0
2024-04-10 10:23:01,469: INFO - + libheif1 linux-image-5.10.0-28-amd64
2024-04-10 10:23:01,471: INFO - + The following packages will be upgraded:
2024-04-10 10:23:01,472: INFO - + adduser base-files bind9-dnsutils bind9-host bind9-libs bsdextrautils
2024-04-10 10:23:01,472: INFO - + bsdutils cpio curl dbus debian-archive-keyring distro-info-data dpkg
2024-04-10 10:23:01,473: INFO - + dpkg-dev fdisk file grep grub-common grub-pc grub-pc-bin grub2-common
2024-04-10 10:23:01,473: INFO - + isc-dhcp-client isc-dhcp-common krb5-locales libblkid-dev libblkid1 libbsd0
2024-04-10 10:23:01,474: INFO - + libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcups2 libcurl3-gnutls
2024-04-10 10:23:01,474: INFO - + libcurl4 libdbus-1-3 libdpkg-perl libfdisk1 libflac8 libgd3 libglib2.0-0
2024-04-10 10:23:01,474: INFO - + libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin
2024-04-10 10:23:01,475: INFO - + libgnutls-dane0 libgnutls-openssl27 libgnutls28-dev libgnutls30
2024-04-10 10:23:01,475: INFO - + libgnutlsxx28 libgssapi-krb5-2 libjson-c5 libk5crypto3 libkrb5-3
2024-04-10 10:23:01,475: INFO - + libkrb5support0 liblua5.3-0 libmagic-mgc libmagic1 libmariadb3 libmount-dev
2024-04-10 10:23:01,475: INFO - + libmount1 libncurses6 libncursesw6 libnftables1 libnghttp2-14 libopendkim11
2024-04-10 10:23:01,476: INFO - + libperl5.32 librbl1 libsmartcols1 libssh-gcrypt-4 libssl-dev libssl1.1
2024-04-10 10:23:01,476: INFO - + libtiff5 libtinfo6 libtomcat9-java libudev1 libunbound8 libuuid1 libuv1
2024-04-10 10:23:01,476: INFO - + libuv1-dev libvbr2 libvpx6 libwebp-dev libwebp6 libwebpdemux2 libwebpmux3
2024-04-10 10:23:01,477: INFO - + libx11-6 libx11-data libx11-dev libx11-xcb1 libxml2 libxpm4 libzmq5
2024-04-10 10:23:01,477: INFO - + linux-image-amd64 linux-libc-dev locales logrotate lua5.3
2024-04-10 10:23:01,477: INFO - + mariadb-client-10.5 mariadb-client-core-10.5 mariadb-common mariadb-server
2024-04-10 10:23:01,478: INFO - + mariadb-server-10.5 mariadb-server-core-10.5 mount nano ncurses-base
2024-04-10 10:23:01,478: INFO - + ncurses-bin ncurses-term nftables opendkim-tools openjdk-11-jre-headless
2024-04-10 10:23:01,478: INFO - + openssh-client openssh-server openssh-sftp-server openssl perl perl-base
2024-04-10 10:23:01,479: INFO - + perl-modules-5.32 php-common php7.4-cli php7.4-common php7.4-curl php7.4-fpm
2024-04-10 10:23:01,479: INFO - + php7.4-gd php7.4-intl php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql
2024-04-10 10:23:01,479: INFO - + php7.4-opcache php7.4-readline php7.4-xml postfix postfix-ldap postfix-pcre
2024-04-10 10:23:01,479: INFO - + python3-distro-info systemd-sysv tar tomcat9 tomcat9-common tzdata udev
2024-04-10 10:23:01,480: INFO - + util-linux util-linux-locales uuid-dev yunohost yunohost-admin
2024-04-10 10:23:02,628: INFO - + 148 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
2024-04-10 10:23:02,629: INFO - + Need to get 16.3 kB/200 MB of archives.
2024-04-10 10:23:02,629: INFO - + After this operation, 325 MB of additional disk space will be used.
2024-04-10 10:23:02,630: INFO - + Err:1 [Index of /php/](https://packages.sury.org/php) bullseye/main amd64 php-common all 2:93+0~20230409.46+debian11~1.gbpdb4dcc
2024-04-10 10:23:02,630: INFO - + 404 Not Found [IP: 2400:52e0:1e02::1072:1 443]
2024-04-10 10:23:02,633: WARNING - E: Failed to fetch [https://packages.sury.org/php/pool/main/p/php-defaults/php-common_93%2B0~20230409.46%2Bdebian11~1.gbpdb4dcc_all.deb](https://packages.sury.org/php/pool/main/p/php-defaults/php-common_93%2b0%7e20230409.46%2bdebian11%7e1.gbpdb4dcc_all.deb) 404 Not Found [IP: 2400:52e0:1e02::1072:1 443]
2024-04-10 10:23:02,634: WARNING - E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2024-04-10 10:23:03,902: WARNING - Could not upgrade packages: adduser, base-files, bind9-dnsutils, bind9-host, bind9-libs, bsdextrautils, bsdutils, cpio, curl, dbus, debian-archive-keyring, distro-info-data, dpkg-dev, dpkg, fdisk, file, grep, grub-common, grub-pc-bin, grub-pc, grub2-common, isc-dhcp-client, isc-dhcp-common, krb5-locales, libblkid-dev, libblkid1, libbsd0, libc-bin, libc-dev-bin, libc-l10n, libc6-dev, libc6, libcups2, libcurl3-gnutls, libcurl4, libdbus-1-3, libdpkg-perl, libfdisk1, libflac8, libgd3, libglib2.0-0, libglib2.0-bin, libglib2.0-data, libglib2.0-dev-bin, libglib2.0-dev, libgnutls-dane0, libgnutls-openssl27, libgnutls28-dev, libgnutls30, libgnutlsxx28, libgssapi-krb5-2, libjson-c5, libk5crypto3, libkrb5-3, libkrb5support0, liblua5.3-0, libmagic-mgc, libmagic1, libmariadb3, libmount-dev, libmount1, libncurses6, libncursesw6, libnftables1, libnghttp2-14, libopendkim11, libperl5.32, librbl1, libsmartcols1, libssh-gcrypt-4, libssl-dev, libssl1.1, libtiff5, libtinfo6, libtomcat9-java, libudev1, libunbound8, libuuid1, libuv1-dev, libuv1, libvbr2, libvpx6, libwebp-dev, libwebp6, libwebpdemux2, libwebpmux3, libx11-6, libx11-data, libx11-dev, libx11-xcb1, libxml2, libxpm4, libzmq5, linux-image-amd64, linux-libc-dev, locales, logrotate, lua5.3, mariadb-client-10.5, mariadb-client-core-10.5, mariadb-common, mariadb-server-10.5, mariadb-server-core-10.5, mariadb-server, mount, nano, ncurses-base, ncurses-bin, ncurses-term, nftables, opendkim-tools, openjdk-11-jre-headless, openssh-client, openssh-server, openssh-sftp-server, openssl, perl-base, perl-modules-5.32, perl, php-common, php7.4-cli, php7.4-common, php7.4-curl, php7.4-fpm, php7.4-gd, php7.4-intl, php7.4-json, php7.4-ldap, php7.4-mbstring, php7.4-mysql, php7.4-opcache, php7.4-readline, php7.4-xml, postfix-ldap, postfix-pcre, postfix, python3-distro-info, systemd-sysv, tar, tomcat9-common, tomcat9, tzdata, udev, util-linux-locales, util-linux, uuid-dev, yunohost-admin, yunohost
2024-04-10 10:23:03,904: SUCCESS - System upgraded

Please enclose the logs with three backticks:

```
Like this
```

Nice example of XY problem, cf. your other thread. :sweat_smile:
The issue is not related to IPv6, but to a missing file from the Sury server (404 error). If it were an connection error, you would have gotten a timeout error I think. Though I do not know where the actual issue lies.

@tituspijean Thank you for the info and I have included the ``` as an edit.

1 Like

Bonjour, j’ai le même problème.
Comment solutionner le problème ?
Il faut attendre que le lien non valide soit remplacé ?

Follow up question
Yunohost is built on debian 11. Do I have to SSH onto the server and do update Or is that handled automatically by Yunohost?

See this Php (sury.org) bloque les mises à jour system

1 Like