Today, I’m trying to upgrade/update my old Yunohost (which is in 3.1.0 version).
When I’m trying via the web interface, I had an error like “error occured”. So I’m loggued to the root account in command line and try:
yunohost tools update
This is what I get:
**@**:~# yunohost tools update
Traceback (most recent call last):
File "/usr/bin/yunohost", line 213, in <module>
timeout=opts.timeout,
File "/usr/lib/python2.7/dist-packages/moulinette/__init__.py", line 136, in cli
moulinette.run(args, output_as=output_as, password=password, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py", line 390, in run
ret = self.actionsmap.process(args, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 498, in process
return func(**arguments)
File "/usr/lib/moulinette/yunohost/tools.py", line 430, in tools_update
if not cache.update():
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 466, in update
raise FetchFailedException()
apt.cache.FetchFailedException
Hey, thanks for the quick answer and sorry about the delay.
Since there is another error :
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 406, in process
ret = self.actionsmap.process(arguments, timeout=30, route=_route)
File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 498, in process
return func(**arguments)
File "/usr/lib/moulinette/yunohost/tools.py", line 430, in tools_update
if not cache.update():
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 464, in update
raise FetchFailedException(e)
FetchFailedException: W:Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list:10, W:Target Translations (en) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list:10, W:GPG error: https://packagecloud.io/grafana/stable/debian stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40F370A1F9081B64, E:The repository 'https://packagecloud.io/grafana/stable/debian stretch InRelease' is not signed.
Seems to be a sources.list issue ?
Edit: I had removed the grafana issue. Seems to be ok