Error when updating

Great.

~ > zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI

                                | Service

–±------------------------------------±----------------------------------±--------±----------±--------±---------±-------±--------------------------------------
------------------------------------±-------
1 | Google-Chrome | Google-Chrome | No | ---- | ---- | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/
stable/x86_64 |
2 | http-download.opensuse.org-68018b71 | home:ecsos | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositor
ies/home:/ecsos/openSUSE_Leap_42.3/ |
3 | packman | packman | No | ---- | ---- | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/pack
man/suse/openSUSE_Leap_42.3/ |
4 | packman.inode.at-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_
Leap_42.3/ |
5 | repo-non-oss | openSUSE-Leap-42.3-Non-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribut
ion/leap/42.3/repo/non-oss/ |
6 | repo-oss | openSUSE-Leap-42.3-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribut
ion/leap/42.3/repo/oss/ |
7 | repo-update | openSUSE-Leap-42.3-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/le
ap/42.3/oss/ |
8 | repo-update-non-oss | openSUSE-Leap-42.3-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/le
ap/42.3/non-oss/ |
~ >

then …refreshing 10 mins later

~ > zypper refresh
Root privileges are required for refreshing system repositories.
~ > sudo zypper refresh
[sudo] password for root:  
Download (curl) error for 'http://packman.inode.at/suse/openSUSE_Leap_42.3/media.1/media':
Error code: Curl error 56                                                                                                                                               
Error message: Recv failure: Connection reset by peer                                                                                                                   

**Abort, retry, ignore? [a/r/i/…? shows all options] (a): **r
Repository ‘Packman Repository’ is up to date.
Repository ‘openSUSE-Leap-42.3-Non-Oss’ is up to date.
Repository ‘openSUSE-Leap-42.3-Oss’ is up to date.
Download (curl) error for ‘http://download.opensuse.org/update/leap/42.3/oss/media.1/media’:
Error code: Curl error 56
Error message: Recv failure: Connection reset by peer

**Abort, retry, ignore? [a/r/i/…? shows all options] (a): **r
Repository ‘openSUSE-Leap-42.3-Update’ is up to date.
Download (curl) error for ‘http://download.opensuse.org/update/leap/42.3/non-oss/media.1/media’:
Error code: Curl error 56
Error message: Recv failure: Connection reset by peer

**Abort, retry, ignore? [a/r/i/…? shows all options] (a): **r
Repository ‘openSUSE-Leap-42.3-Update-Non-Oss’ is up to date.
All repositories have been refreshed.

will now try MrMazda’s suggestion … when i get my head around it :
Updated this morning a machine lagging 3 months and got the same error with one of the packages. I think the problem is not with your setup but with the servers and the connection.

Tue Jul  3 09:58:53 +07 2018
~ > ls -al /etc/zypp/repos.d/
total 48K
drwxr-xr-x  2 root root 4.0K Jul  2 11:35 **.**
drwxr-xr-x 10 root root 4.0K May 16 15:06 **..**
-rw-r--r--  1 root root  146 Jul  2 17:19 Google-Chrome.repo
-rw-r--r--  1 root root  187 Jul  2 17:19 http-download.opensuse.org-68018b71.repo
-rw-r--r--  1 root root  163 Jul  2 17:19 packman.inode.at-suse.repo
-rw-r--r--  1 root root  149 Jul  2 17:19 packman.repo
-rw-r--r--  1 root root  178 Jul  2 17:19 repo-non-oss.repo
-rw-r--r--  1 root root  178 Jul  2 06:50 repo-non-oss.repo.
-rw-r--r--  1 root root  166 Jul  2 17:19 repo-oss.repo
-rw-r--r--  1 root root  166 Jul  2 06:50 repo-oss.repo.
-rw-r--r--  1 root root  182 Jul  2 17:19 repo-update-non-oss.repo
-rw-r--r--  1 root root  162 Jul  2 17:19 repo-update.repo
~ >  
~ >  
~ > ls -al /etc/zypp/services.d/
total 8.0K
drwxr-xr-x  2 root root 4.0K Apr 25 21:15 **.**
drwxr-xr-x 10 root root 4.0K May 16 15:06 **..**
~ > 

I am afraid not.

However i have recently changed geographic locations (different router) but the issue exists whichever location i am at.

Thanks

Delete duplicate entries packman.inode.at-suse.repo repo-non-oss.repo. repo-oss.repo. and run again zypper dup. Check status:

erlangen:~ # zypper if -t product '*'
Loading repository data...
Reading installed packages...


Information for product openSUSE-Addon-NonOss:
----------------------------------------------
Repository          : Haupt-Repository (NON-OSS)                                 
Name                : openSUSE-Addon-NonOss                                      
Version             : 2014-0                                                     
Arch                : x86_64                                                     
Vendor              : openSUSE                                                   
Flavor              :                                                            
Is Base             : No                                                         
Installed           : Yes                                                        
Status              : up-to-date                                                 
Update Repositories : ---                                                        
CPE Name            : cpe:2.3:o:opensuse:opensuse-addon-nonoss:2014:*:*:*:*:*:*:*
Short Name          : non oss addon                                              
Summary             : openSUSE NonOSS Addon                                      
Description         :                                                            
    non oss repo and cd


Information for product openSUSE:
---------------------------------
Repository          : Haupt-Repository (OSS)                            
Name                : openSUSE                                          
Version             : 20180629-0                                        
Arch                : x86_64                                            
Vendor              : openSUSE                                          
Flavor              : ftp                                               
Is Base             : Yes                                               
Installed           : Yes                                               
Status              : up-to-date                                        
Update Repositories : ---                                               
CPE Name            : cpe:2.3:o:opensuse:opensuse:20180629:*:*:*:*:*:*:*
Short Name          : openSUSE                                          
Summary             : openSUSE Tumbleweed                               
Description         :                                                   
    openSUSE Tumbleweed is the rolling distribution by the openSUSE.org project.

erlangen:~ # 

My intent was for the added . to go at the start (prepend), not the end (append). At the start makes the file “hidden”, so ordinary file managers don’t show them (which by default MC does), and YaST won’t be confused by their presence.

~ > ls -al /etc/zypp/repos.d/
total 36K
drwxr-xr-x  2 root root 4.0K Jul  3 16:53 **.**
drwxr-xr-x 10 root root 4.0K May 16 15:06 **..**
-rw-r--r--  1 root root  146 Jul  3 16:13 Google-Chrome.repo
-rw-r--r--  1 root root  187 Jul  3 16:13 http-download.opensuse.org-68018b71.repo
-rw-r--r--  1 root root  149 Jul  3 16:13 packman.repo
-rw-r--r--  1 root root  178 Jul  3 16:50 repo-non-oss.repo
-rw-r--r--  1 root root  166 Jul  3 16:50 repo-oss.repo
-rw-r--r--  1 root root  182 Jul  3 16:13 repo-update-non-oss.repo
-rw-r--r--  1 root root  162 Jul  3 16:13 repo-update.repo


~ > sudo zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias                               | Name                              | Enabled | GPG Check | Refresh | Priority | Type   | URI                                  
                                     | Service
--+-------------------------------------+-----------------------------------+---------+-----------+---------+----------+--------+--------------------------------------
-------------------------------------+--------
1 | Google-Chrome                       | Google-Chrome                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm
/stable/x86_64                       |         
2 | http-download.opensuse.org-68018b71 | home:ecsos                        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/reposito
ries/home:/ecsos/openSUSE_Leap_42.3/ |         
3 | packman                             | packman                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/pac
kman/suse/openSUSE_Leap_42.3/        |         
4 | repo-non-oss                        | openSUSE-Leap-42.3-Non-Oss        | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribu
tion/leap/42.3/repo/non-oss/         |         
5 | repo-oss                            | openSUSE-Leap-42.3-Oss            | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribu
tion/leap/42.3/repo/oss/             |         
6 | repo-update                         | openSUSE-Leap-42.3-Update         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/l
eap/42.3/oss/                        |         
7 | repo-update-non-oss                 | openSUSE-Leap-42.3-Update-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/l
eap/42.3/non-oss/                    |        


~ > zypper if -t product '*'
Loading repository data...
Reading installed packages...


Information for product openSUSE-Addon-NonOss:
----------------------------------------------
Repository          : openSUSE-Leap-42.3-Non-Oss                                  
Name                : openSUSE-Addon-NonOss                                       
Version             : 42.3-0                                                      
Arch                : x86_64                                                      
Vendor              : openSUSE                                                    
Flavor              : addon-nonoss                                                
Is Base             : No                                                          
Installed           : No                                                          
Status              : not installed                                               
Update Repositories : ---                                                         
CPE Name            : cpe:2.3:o:opensuse:opensuse-addon-nonoss:42.3:*:*:*:*:*:*:*
Short Name          : non oss addon                                               
Summary             : openSUSE NonOSS Addon                                       
Description         :                                                             
    non oss repo and cd


Information for product openSUSE:
---------------------------------
Repository          : openSUSE-Leap-42.3-Oss                     
Name                : openSUSE                                   
Version             : 42.3-0                                     
Arch                : x86_64                                     
Vendor              : openSUSE                                   
End of Support      : 2019-01-31                                 
Flavor              : dvd                                        
Is Base             : Yes                                        
Installed           : Yes                                        
Status              : up-to-date                                 
Update Repositories : ---                                        
CPE Name            : cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*
Short Name          : openSUSE Leap                              
Summary             : openSUSE Leap 42.3                         
Description         :                                            
    openSUSE Leap 42.3


zypper dup produced a whole heap of file downloads (>100) with some ‘change of vendor’ … out put too large for here.

Now when refreshing … either via zypper or the GUI there are no more issues!!! (at this stage :O)

~ > sudo zypper refresh  
Repository 'Google-Chrome' is up to date.                                                                                                                               
Repository 'home:ecsos' is up to date.                                                                                                                                  
Repository 'packman' is up to date.                                                                                                                                     
Repository 'openSUSE-Leap-42.3-Non-Oss' is up to date.                                                                                                                  
Repository 'openSUSE-Leap-42.3-Oss' is up to date.                                                                                                                      
Repository 'openSUSE-Leap-42.3-Update' is up to date.                                                                                                                   
Repository 'openSUSE-Leap-42.3-Update-Non-Oss' is up to date.                                                                                                           
All repositories have been refreshed.


Thank youi Karl!!! :slight_smile:

Okay … silly of me!! :slight_smile:

fyi after refreshing the line “type=yast2” reappears.

[repo-oss]name=openSUSE-Leap-42.3-Oss
enabled=1
autorefresh=1
baseurl=http://download.opensuse.org/distribution/leap/42.3/repo/oss/
path=/
type=yast2
keeppackages=0

however it does not seem to have an affect on the outcome of zypper refresh.

Thank you for you help MrMazda :slight_smile: