Problème pour la "mise à jour du système"

Bonjour
j’ai fait une image de mon ancienne carte SD (32 Go) sur une nouvelle carte SD (256 Go)
Tout c’est bien passé, je mets la nouvelle carte SD.
Je peux le connecter à l’interface administrateur, mais je ne peux accéder à aucun des services installer (exemple : nextcloud, wordpress, mypads…)

également voici le message que j’obtiens lorsque je souhaite mettre à jour le système :
Unable to update the cache of APT (Debian’s package manager). Here is a dump of the sources.list lines which might help to identify problematic lines :
sources.list:deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
sources.list.d/raspi.list:deb http://archive.raspberrypi.org/debian/ stretch main ui
sources.list.d/yunohost.list:deb http://forge.yunohost.org/debian/ stretch stable

Merci pour votre aide
A+
Imppao

Bonsoir,

Comment as-tu fait pour créer une image de ta carte et la copier sur la nouvelle ?
Dernièrement j’ai fait ce genre de manœuvre pour passer d’une carte de 16 Go à 32 Go.
J’ai utilisé dd pour la copie puis GParted pour étendre la participation.
Essayer de ne pas brancher tes 2 cartes sur le même couple de prises USB et prévoir 3-4 heures.

Source : https://doc.ubuntu-fr.org/dd#cloner_un_disque_dur_en_entier

ppr

Merci pour ta réponse ppr,
J’ai utilisé le logiciel win32diskimager-1.0.0-install (sur windows)
cependant le problème est également sur la carte SD de 32Go…
pour résumer : que ce soit sur la carte SD de 32 Go ou sur le carte SD de 256 Go j’ai bien l’interface d’administrateur de yunohost, mais je ne peux plus accéder aux autres services…
Est ce qu’il y a moyen de réparer avec des lignes de commandes :slight_smile:

A+
Imppao

Il faudrait voir exactement ce que renvoie la commande :

apt update

ppr

Voici ce que j’obtiens

apt-get update
Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

Il y a des soucis de droits.
Peux-tu essayer avec su ou sudo devant ?

ppr

Bonjour ppr
cela ne fonctionne pas…
il faudrait peut-être que je réinstalle yunohost ?
ou est ce que je peux trouver une version plus récente déja mise à jour ?
pour ma part je souhaite installer nextcloud, et voici le message :
Les pré-requis de nextcloud ne sont pas satisfaits, le paquet yunohost (3.4.2.3) doit être >= 3.5.0
existe-t-il cette version 3,5,0 pour raspberry ?
Merci
Imppao

Bonjour,

Quand tu es connecté au Raspberry, il faut t’identifier.
Après faire la commande su pour passer en root

su

Ensuite rechercher les mises à jour et les appliquer

apt-get update && apt-get dist-upgrade

Tu devrais pouvoir alors installer Nextcloud.

Si les précédentes commandes et l’installation se sont bien passées, faire un léger nettoyage

apt-get autoremove && apt-get autoclean

ppr

Pour passer en root tu peux faire

sudo su

Puis lancer ces commandes

apt-get update && apt-get dist-upgrade && apt-get autoremove && apt-get autoclean

ppr

merci de ton aide mais le problème persiste

2020-03-21 12:24:15,185 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:16,284 INFO geventwebsocket.handler log_request - 127.0.0.1 - - [2020-03-21 12:24:16] “GET /version?locale=fr HTTP/1.1” 200 345 1.100003
2020-03-21 12:24:16,287 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:16,288 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:16,288 DEBUG geventwebsocket.handler upgrade_connection - Attempting to upgrade connection
2020-03-21 12:24:16,289 DEBUG geventwebsocket.handler upgrade_connection - WebSocket request accepted, switching protocols
2020-03-21 12:24:16,321 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:16,321 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:16,395 DEBUG moulinette.authenticator.ldap init - initialize authenticator ‘default’ with: uri=‘ldap://localhost:389’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘cn=admin’
2020-03-21 12:24:16,397 INFO geventwebsocket.handler log_request - 127.0.0.1 - - [2020-03-21 12:24:16] “GET /users?locale=fr HTTP/1.1” 401 150 0.076220
2020-03-21 12:24:16,399 DEBUG geventwebsocket.handler close - Closed WebSocket
2020-03-21 12:24:16,400 DEBUG geventwebsocket.handler close - Failed to write closing frame → closing socket
2020-03-21 12:24:16,400 DEBUG geventwebsocket.handler close - Closed WebSocket
2020-03-21 12:24:16,481 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:16,482 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:16,484 INFO geventwebsocket.handler log_request - 127.0.0.1 - - [2020-03-21 12:24:16] “GET /installed HTTP/1.1” 200 159 0.002702
2020-03-21 12:24:18,866 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:18,867 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:18,877 DEBUG geventwebsocket.handler upgrade_websocket - Can only upgrade connection if using GET method.
2020-03-21 12:24:18,881 DEBUG moulinette.authenticator.ldap init - initialize authenticator ‘default’ with: uri=‘ldap://localhost:389’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘cn=admin’
2020-03-21 12:24:19,080 DEBUG moulinette.authenticator call - session has been stored
2020-03-21 12:24:19,084 INFO geventwebsocket.handler log_request - 127.0.0.1 - - [2020-03-21 12:24:19] “POST /login HTTP/1.1” 200 410 0.218071
2020-03-21 12:24:19,184 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:19,185 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:19,185 DEBUG geventwebsocket.handler upgrade_connection - Attempting to upgrade connection
2020-03-21 12:24:19,185 DEBUG geventwebsocket.handler upgrade_connection - WebSocket request accepted, switching protocols
2020-03-21 12:24:19,209 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:19,210 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:20,164 INFO geventwebsocket.handler log_request - 127.0.0.1 - - [2020-03-21 12:24:20] “GET /version?locale=fr HTTP/1.1” 200 345 0.954201
2020-03-21 12:24:20,167 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:20,168 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:20,168 DEBUG geventwebsocket.handler upgrade_connection - Attempting to upgrade connection
2020-03-21 12:24:20,168 DEBUG geventwebsocket.handler upgrade_connection - WebSocket request accepted, switching protocols
2020-03-21 12:24:20,189 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:20,189 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:20,190 DEBUG moulinette.authenticator.ldap init - initialize authenticator ‘default’ with: uri=‘ldap://localhost:389’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘cn=admin’
2020-03-21 12:24:20,270 DEBUG moulinette.core acquire - lock has been acquired
2020-03-21 12:24:20,297 DEBUG moulinette.actionsmap process - loading python module yunohost.user took 0.026s
2020-03-21 12:24:20,298 INFO moulinette.actionsmap process - processing action [562.1]: yunohost.user.list with args={‘fields’: None, ‘auth’: <moulinette.authenticators.ldap.Authenticator object at 0x75e5fa50>}
2020-03-21 12:24:20,299 DEBUG moulinette.actionsmap process - action [562.1] executed in 0.001s
2020-03-21 12:24:20,300 DEBUG moulinette.core release - lock has been released
2020-03-21 12:24:20,302 INFO geventwebsocket.handler log_request - 127.0.0.1 - - [2020-03-21 12:24:20] “GET /users?locale=fr HTTP/1.1” 200 153 0.112739
2020-03-21 12:24:20,304 DEBUG geventwebsocket.handler close - Closed WebSocket
2020-03-21 12:24:20,305 DEBUG geventwebsocket.handler close - Failed to write closing frame → closing socket
2020-03-21 12:24:20,305 DEBUG geventwebsocket.handler close - Closed WebSocket
2020-03-21 12:24:20,620 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:20,620 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:20,621 DEBUG geventwebsocket.handler upgrade_connection - Attempting to upgrade connection
2020-03-21 12:24:20,621 DEBUG geventwebsocket.handler upgrade_connection - WebSocket request accepted, switching protocols
2020-03-21 12:24:20,638 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:20,639 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:20,640 DEBUG moulinette.authenticator.ldap init - initialize authenticator ‘default’ with: uri=‘ldap://localhost:389’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘cn=admin’
2020-03-21 12:24:20,721 DEBUG moulinette.core acquire - lock has been acquired
2020-03-21 12:24:20,910 DEBUG moulinette.actionsmap process - loading python module yunohost.tools took 0.188s
2020-03-21 12:24:20,910 INFO moulinette.actionsmap process - processing action [562.2]: yunohost.tools.diagnosis with args={‘private’: False, ‘auth’: <moulinette.authenticators.ldap.Authenticator object at 0x75dac170>}
2020-03-21 12:24:28,971 DEBUG moulinette.actionsmap process - action [562.2] executed in 8.060s
2020-03-21 12:24:28,972 DEBUG moulinette.core release - lock has been released
2020-03-21 12:24:28,975 INFO geventwebsocket.handler log_request - 127.0.0.1 - - [2020-03-21 12:24:28] “GET /diagnosis?locale=fr HTTP/1.1” 200 1454 8.336401
2020-03-21 12:24:28,977 DEBUG geventwebsocket.handler close - Closed WebSocket
2020-03-21 12:24:28,978 DEBUG geventwebsocket.handler close - Failed to write closing frame → closing socket
2020-03-21 12:24:28,979 DEBUG geventwebsocket.handler close - Closed WebSocket
2020-03-21 12:24:28,982 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:28,983 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:28,983 DEBUG geventwebsocket.handler upgrade_connection - Attempting to upgrade connection
2020-03-21 12:24:28,984 DEBUG geventwebsocket.handler upgrade_connection - WebSocket request accepted, switching protocols
2020-03-21 12:24:29,012 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:29,013 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:29,013 DEBUG geventwebsocket.handler upgrade_websocket - Can only upgrade connection if using GET method.
2020-03-21 12:24:29,015 DEBUG moulinette.authenticator.ldap init - initialize authenticator ‘default’ with: uri=‘ldap://localhost:389’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘cn=admin’
2020-03-21 12:24:29,098 DEBUG moulinette.core acquire - lock has been acquired
2020-03-21 12:24:29,098 DEBUG moulinette.actionsmap process - loading python module yunohost.tools took 0.000s
2020-03-21 12:24:29,182 INFO moulinette.actionsmap process - processing action [562.3]: yunohost.tools.update with args={‘ignore_packages’: False, ‘ignore_apps’: False}
2020-03-21 12:24:30,166 DEBUG yunohost.tools tools_update - [562.3] Mise à jour de la liste des paquets disponibles…
2020-03-21 12:24:33,304 DEBUG yunohost.tools tools_update - [562.3] Terminé
2020-03-21 12:24:35,506 DEBUG yunohost.app app_fetchlist - [562.3] Attempting to fetch list yunohost at https://app.yunohost.org/official.json
2020-03-21 12:24:35,548 DEBUG requests.packages.urllib3.connectionpool _new_conn - Starting new HTTPS connection (1): app.yunohost.org
2020-03-21 12:24:35,688 DEBUG requests.packages.urllib3.connectionpool _make_request - https://app.yunohost.org:443 “GET /official.json HTTP/1.1” 200 43374
2020-03-21 12:24:35,799 SUCCESS yunohost.app success - [562.3] La liste d’applications yunohost a été récupérée
2020-03-21 12:24:35,808 DEBUG moulinette.actionsmap process - action [562.3] executed in 6.626s
2020-03-21 12:24:35,809 DEBUG moulinette.core release - lock has been released
2020-03-21 12:24:35,811 INFO geventwebsocket.handler log_request - 127.0.0.1 - - [2020-03-21 12:24:35] “PUT /update HTTP/1.1” 200 6068 6.798895
2020-03-21 12:24:35,813 DEBUG geventwebsocket.handler close - Closed WebSocket
2020-03-21 12:24:35,814 DEBUG geventwebsocket.handler close - Failed to write closing frame → closing socket
2020-03-21 12:24:35,815 DEBUG geventwebsocket.handler close - Closed WebSocket
2020-03-21 12:24:42,168 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:42,170 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:42,170 DEBUG geventwebsocket.handler upgrade_connection - Attempting to upgrade connection
2020-03-21 12:24:42,171 DEBUG geventwebsocket.handler upgrade_connection - WebSocket request accepted, switching protocols
2020-03-21 12:24:42,227 DEBUG geventwebsocket.handler run_application - Initializing WebSocket
2020-03-21 12:24:42,229 DEBUG geventwebsocket.handler upgrade_websocket - Validating WebSocket request
2020-03-21 12:24:42,230 DEBUG geventwebsocket.handler upgrade_websocket - Can only upgrade connection if using GET method.
2020-03-21 12:24:42,233 DEBUG moulinette.authenticator.ldap init - initialize authenticator ‘default’ with: uri=‘ldap://localhost:389’, base_dn=‘dc=yunohost,dc=org’, user_rdn=‘cn=admin’
2020-03-21 12:24:42,409 DEBUG moulinette.core acquire - lock has been acquired
2020-03-21 12:24:42,410 DEBUG moulinette.actionsmap process - loading python module yunohost.tools took 0.000s
2020-03-21 12:24:42,410 INFO moulinette.actionsmap process - processing action [562.4]: yunohost.tools.upgrade with args={‘ignore_packages’: False, ‘ignore_apps’: True, ‘auth’: <moulinette.authenticators.ldap.Authenticator object at 0x730f26f0>}
2020-03-21 12:24:45,346 INFO yunohost.tools tools_upgrade - [562.4] Les paquets critiques (yunohost, moulinette, yunohost-admin, ssowat) seront mis à jour ultérieurement
2020-03-21 12:24:45,482 INFO yunohost.tools tools_upgrade - [562.4] Mise à jour des paquets…
2020-03-21 12:25:27,285 WARNING yunohost.tools tools_upgrade - [562.4] unable to upgrade packages: installArchives() failed
2020-03-21 12:25:27,287 ERROR yunohost.tools tools_upgrade - [562.4] Impossible de mettre à jour tous les paquets
2020-03-21 12:25:27,302 INFO yunohost.log close - [562.4] L’opération « Mise à jour des paquets Debian » a échouée ! Pour avoir de l’aide, merci de fournir le log complet de l’opération

Bonjour,
est ce qu’il est possible d’avoir une installation pour raspberry directement avec la version v.3.6.0 ?
Merci

Bonjour,
voici la “solution”, j’ai résintallé yunhost (YunoHost • index) et j’ai lancé la mise à jour depuis le raspberry en utilisant les lignes de code suivante :

sudo su
apt-get update
apt-get dist-upgrade
apt-get autoremove
apt-get autoclean

j’ai pu ainsi depuis l’interface web réinstaller nextcloud et les autres services
Merci ppr, pour l’aide apporté
A+
Imppao

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.