Can´t update anymore

since the last update i can´t update yunohost… can you help - thanks.
Please have a look

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://httpredir.debian.org/debian stretch main contrib non-free
sources.list:deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
sources.list:deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
sources.list:deb http://security.debian.org/ stretch/updates main contrib non-free
sources.list.d/yunohost.list:deb http://forge.yunohost.org/debian/ stretch stable
sources.list.d/pleroma.list:deb http://packages.erlang-solutions.com/debian stretch contrib
sources.list.d/armbian.list:deb http://apt.armbian.com stretch main stretch-utils stretch-desktop
E: Some index files failed to download. They have been ignored, or old ones used instead.

and

root@my:~# apt-get dist-upgrade                                                                           
Reading package lists... Done                                                                             
Building dependency tree                                                                                  
Reading state information... Done                                                                         
Calculating upgrade... Done                                                                               
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.                                            
root@my:~# apt-get update --debug                                                                         
E: Command line option --debug is not understood in combination with the other options                    
root@my:~# apt-get update--debug                                                                          
E: Invalid operation update--debug                                                                        
root@my:~# apt-get update                                                                                 
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:3 http://packages.erlang-solutions.com/debian stretch InRelease
Hit:4 http://forge.yunohost.org/debian stretch InRelease
Get:8 http://packages.erlang-solutions.com/debian stretch Release [3,688 B]
Get:9 http://packages.erlang-solutions.com/debian stretch Release.gpg [833 B]
Ign:5 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:6 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:7 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:10 http://cdn-fastly.deb.debian.org/debian stretch Release
Hit:2 https://apt.armbian.com stretch InRelease
Get:11 http://packages.erlang-solutions.com/debian stretch/contrib armhf Packages [62.7 kB]
Err:11 http://packages.erlang-solutions.com/debian stretch/contrib armhf Packages
  Hash Sum mismatch                                                                                       
  Hashes of expected file:                                                                                
   - Filesize:62680 [weak]                                                                                
   - SHA256:bf5bd1a7966f8bef17fcfbd2bf2fa3ccd8e3aa77d9889a07eb447b17a2ec4d89                              
   - SHA1:b71336c5163e43d74215f48ffc5751d1dd247e8e [weak]                                                 
   - MD5Sum:0235016bbabb2b1e6d4780c96edcc155 [weak]                                                       
  Hashes of received file:                                                                                
   - SHA256:35704dd7fb766a01fb8bd2a4cc5a705362c00accc1386221efea8856e8ae9852                              
   - SHA1:4d391ddf691d59d8bf7501c6ea9bec47b30454c5 [weak]                                                 
   - MD5Sum:9ba288ef40265a90ed7fdcb7a8e672ee [weak]                                                       
   - Filesize:61763 [weak]                                                                                
  Last modification reported: Thu, 26 Sep 2019 12:28:40 +0000                                             
  Release file created at: Tue, 01 Oct 2019 12:37:51 +0000                                                
Fetched 66.3 kB in 13s (5,011 B/s)
Reading package lists... Done                                                                             
E: Failed to fetch http://packages.erlang-solutions.com/debian/dists/stretch/contrib/binary-armhf/Packages
.bz2  Hash Sum mismatch                                                                                   
   Hashes of expected file:                                                                               
    - Filesize:62680 [weak]                                                                               
    - SHA256:bf5bd1a7966f8bef17fcfbd2bf2fa3ccd8e3aa77d9889a07eb447b17a2ec4d89                             
    - SHA1:b71336c5163e43d74215f48ffc5751d1dd247e8e [weak]                                                
    - MD5Sum:0235016bbabb2b1e6d4780c96edcc155 [weak]                                                      
   Hashes of received file:                                                                               
    - SHA256:35704dd7fb766a01fb8bd2a4cc5a705362c00accc1386221efea8856e8ae9852                             
    - SHA1:4d391ddf691d59d8bf7501c6ea9bec47b30454c5 [weak]                                                
    - MD5Sum:9ba288ef40265a90ed7fdcb7a8e672ee [weak]                                                      
    - Filesize:61763 [weak]                                                                               
   Last modification reported: Thu, 26 Sep 2019 12:28:40 +0000                                            
   Release file created at: Tue, 01 Oct 2019 12:37:51 +0000                                               
E: Some index files failed to download. They have been ignored, or old ones used instead.                 
root@my:~#

Well apparently that erlang stuff from pleroma is in error … So for example you either remove it entirely with rm /etc/apt/sources.list.d/pleroma.list or open the file and comment the line by adding a # in front of it

2 Likes

@rockyIII, please use the template for filing support requests.

thanks so much Aleks
rm /etc/apt/sources.list.d/pleroma.list
did help

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