FetchFailedException

[French but may understand an answer in EN]

Hello

Description of my problem

I have this error :

Action

PUT /update
 {"locale":"fr"}

Trace

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 405, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
  File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 519, in process
    return func(**arguments)
  File "/usr/lib/moulinette/yunohost/tools.py", line 467, in tools_update
    if not cache.update():
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 466, in update
    raise FetchFailedException()
FetchFailedException

Failed to get status information via dbus for service ttrss, systemctl didn't recognize this service ('NoSuchUnit').

** I used to test ttrss, but cancelled the installation of this app **

My YunoHost configuration

NAS HP
System Information
Manufacturer: HP
Product Name: ProLiant MicroServer

Processor Information
Socket Designation: CPU 1
Type: Central Processor
Family: Other
Manufacturer: AMD
ID: 63 0F 10 00 FF FB 8B 17
Version: AMD Turion™ II Neo N40L Dual-Core Processor
Voltage: 1.1 V
External Clock: 200 MHz
Max Speed: 2200 MHz
Current Speed: 1500 MHz
Status: Populated, Enabled

OS
Debian 9.7 64bit (Linux 4.9.0-8-amd64)

Versions

yunohost
3.3.4 (stable)
yunohost-admin
3.3.1 (stable)
moulinette
3.3.1 (stable)
ssowat
3.3.2 (stable)

https://paste.yunohost.org/asodexidow


I also have an error when updating :

admin@maison:~$ sudo apt update
Atteint:1 http://forge.yunohost.org/debian stretch InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease                  
Atteint:3 http://security.debian.org/debian-security stretch/updates InRelease
Atteint:4 http://ftp.debian.orHg/debian stretch-updates InRelease                                                 
Atteint:5 http://ftp.debian.org/debian stretch Release                                                           
Err:6 http://shell.ninthgate.se/packages/debian wheezy InRelease               
  Connexion à shell.ninthgate.se: 80 (195.22.88.165) impossible. - connect (111: Connexion refusée)
Lecture des listes de paquets... Fait                                          
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
All packages are up to date.
W: Impossible de récupérer http://shell.ninthgate.se/packages/debian/dists/wheezy/InRelease  Connexion à shell.ninthgate.se: 80 (195.22.88.165) impossible. - connect (111: Connexion refusée)
W: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
admin@maison:~$ 

Questions :

Thanks

Not sure, but I’m guessing an app added this additional repo … The scarry part is that it’s for “wheezy”, (a very old version of debian, before jessie). So either this dates back from a YunoHost install before 2.4, either that app was very not meant to work at all.

Anyway, I think you should :

  • find the corresponding file using the comamnd grep -nr ninthgate /etc/apt/sources.list*
  • open the file found with nano /etc/apt/[rest of the path]
  • add a ‘#’ in front of the corresponding line
  • save and quit using Ctrl+X (may need to validate with Y)
  • re-run apt update

Random guess, but try to run yunohost service remove ttrss

admin@maison:~$ sudo yunohost service remove ttrss
Succès ! Le service « ttrss » a été enlevé

:fu:

Cheers ! I opened a PR : https://github.com/YunoHost-Apps/ttrss_ynh/pull/56

/etc/apt/sources.list.d/plexmediaserver.list:1:deb http://shell.ninthgate.se/packages/debian wheezy main

One of my tests…

admin@maison:~$ sudo apt update
Atteint:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease
Atteint:3 http://forge.yunohost.org/debian stretch InRelease
Atteint:4 http://ftp.debian.org/debian stretch-updates InRelease
Atteint:5 http://ftp.debian.org/debian stretch Release
Lecture des listes de paquets… Fait
Construction de l’arbre des dépendances
Lecture des informations d’état… Fait
All packages are up to date.
admin@maison:~$