The usual method to deal with Packman errors is to wait a while and try again. Packman updates often, and when you pick an inopportune time to update, you can catch your choice of mirror in an inconsistent state.
Okay … that maybe so, however everytime i need to check for updates i go through this sort of response:
Sun Jul 1 12:24:13 +07 2018
~ > sudo zypper refresh
[sudo] password for root:
Repository 'Google-Chrome' is up to date.
Download (curl) error for 'http://download.opensuse.org/repositories/home:/ecsos/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 'home:ecsos' is up to date.
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.
~ >
However … the situation resurfaces less than half an hour later;
Sun Jul 1 15:01:59 +07 2018
~ > sudo zypper refresh
[sudo] password for root:
Repository 'Google-Chrome' is up to date.
Download (curl) error for 'http://download.opensuse.org/repositories/home:/ecsos/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 'home:ecsos' is up to date.
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.
~ >
Immediately after applying your suggested code i refreshed using both zypper and the Yast GUI without issue … but now the issue has reappeared???
Emergency help:
-p Automatic repair (no questions)
-n Make no changes to the filesystem
-y Assume "yes" to all questions
-c Check for bad blocks and add them to the badblock list
-f Force checking even if filesystem is marked clean
-v Be verbose
-b superblock Use alternative superblock
-B blocksize Force blocksize when looking for superblock
-j external_journal Set location of the external journal
-l bad_blocks_file Add to badblocks list
-L bad_blocks_file Set badblocks list
Should i use just the " -f " option, or are others appropriate as well?
Can this do any harm?
This is a bit beside the stream of the discussion going on here, but I saw you trying to communicate which repos you have configured. But you did so with
zypper lr
Now such a listing misses the most important component: the URLs of the repo. So now nobody knows what repos you have, only the names (and aliases) local on your system may give hints about what they are, but that is no definitive information. Thus next time please use
Open mc (‘zypper in mc’ if necessary) as root in a vtty or xterm, migrate to /etc/zypp/repos.d/, and examine (F3 key=view) each .repo file. Make a copy of any file that you will edit by prepending a . to its name (Shift-F5 in an Xterm, Shift-F3 in a vtty, to copy a file beginning with its existing name), then with F4 key (edit) remove any line (Ctrl-Y) that begins with “type=” and does not end with “rpm-md”. Then try refreshing.
~ > sudo rpm --rebuilddb
[sudo] password for root:
~ > sudo zypper refresh --force
Forcing raw metadata refresh
Retrieving repository 'Packman Repository' metadata ....................................................................................................................
Forcing building of repository cache
Building repository 'Packman Repository' cache .........................................................................................................................
Forcing raw metadata refresh
Retrieving repository 'openSUSE-Leap-42.3-Non-Oss' metadata ............................................................................................................
Forcing building of repository cache
Building repository 'openSUSE-Leap-42.3-Non-Oss' cache .................................................................................................................
Forcing raw metadata refresh
Retrieving repository 'openSUSE-Leap-42.3-Oss' metadata ................................................................................................................
Forcing building of repository cache
Building repository 'openSUSE-Leap-42.3-Oss' cache .....................................................................................................................
Forcing raw metadata refresh
Retrieving repository 'openSUSE-Leap-42.3-Update' metadata .............................................................................................................
Forcing building of repository cache
Building repository 'openSUSE-Leap-42.3-Update' cache ..................................................................................................................
Forcing raw metadata refresh
Retrieving repository 'openSUSE-Leap-42.3-Update-Non-Oss' metadata .....................................................................................................
Forcing building of repository cache
Building repository 'openSUSE-Leap-42.3-Update-Non-Oss' cache ..........................................................................................................
All repositories have been refreshed.
~ > 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 :\
then rebooted … applied ‘rpm --rebuilddb’ and ‘zypper refresh --force’ without error!
However, trying ‘zypper refresh’ again presents the same result:
Mon Jul 2 11:48:59 +07 2018
~ > 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.
~ >
Should i not have changed “type=yast2” to read “type=rpm-md”??? :\
This seems to indicate the errors are harmless. When did you last try to actually update?
Should i not have changed “type=yast2” to read “type=rpm-md”??? :
You could have, but it wouldn’t have affected the problem we’re trying to solve. Refreshing should automatically provide the type when one doesn’t appear in a .repo file.
Okay … i had gathered that it is just an inconvenience, as each time i want to update i just press ‘retry’ until it says ‘all repos up-to-date’ … then do ‘zypper up’ (or use the "Check for Updates’ from the GUI), and it updates without a hitch, as in just now:
Mon Jul 2 11:48:59 +07 2018
~ > 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.
~ > 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.
rRepository '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
**Invalid answer 'rr'. [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.
~ > zypper up
Root privileges are required for updating packages.
~ > sudo zypper up
Loading repository data...
Reading installed packages...
The following 3 packages are going to be upgraded:
AdobeICCProfiles gstreamer-fluendo-mp3 unrar
3 packages to upgrade.
Overall download size: 3.0 MiB. Already cached: 0 B. No additional space will be used or freed after the operation.
**Continue? [y/n/...? shows all options] (y): **y