Error on update what to do?

Running KDE and just done an update. I have annerror message I have never seen before as follows:-

Retrieving: snapd-2.47.1-3.11.x86_64.rpm ..........................................[error (404 B/s)] 
Download (curl) error for 'https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumble
weed/x86_64/snapd-2.47.1-3.11.x86_64.rpm':                                                          
Error code:  Unsupported protocol                                                                   
Error message: Redirect to protocol "http" not supported or disabled in libcurl    

I have aborted the download pending advice please.
Budge

We always like to see such things complete. Starting with the command. Now we have some output, but no context, no command (which should be zypper dup)

I normally use “http” rather than “https” for my repos. But I don’t know whether the use of “https” is the problem here. I am not using that particular repo.

The repo comes with a nice .repo file. I run the following command with the URL copied from the browser page. That always worked since many years.


3400G:~ # zypper addrepo --check --refresh  http://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed/system:snappy.repo
Adding repository 'Official repository for the snapd package (snap package manager) (openSUSE_Tumbleweed)' ....................................................................[done]
Repository 'Official repository for the snapd package (snap package manager) (openSUSE_Tumbleweed)' successfully added

URI         : https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed/
Enabled     : Yes
GPG Check   : Yes
Autorefresh : Yes
Priority    : 99 (default priority)

Repository priorities in effect:                                                                                                                     (See 'zypper lr -P' for details)
      90 (raised priority)  :  2 repositories
      99 (default priority) :  5 repositories
     100 (lowered priority) :  3 repositories
3400G:~ # 

http://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed/system:snappy.repo

Hi Henk,
I get a prompt almost daily that updates are available and when I have time I open a terminal and run sudo zypper dup.
This error came as a surprise. In many thousand updates over the years since I went to TW I have never seen this error before.

Here is my repo list:-

alastair@ibmserv2:~> zypper lr 
Repository priorities are without effect. All enabled repositories share the same priority. 

# | Alias                            | Name                       | Enabled | GPG Check | Refresh 
--+----------------------------------+----------------------------+---------+-----------+-------- 
1 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes 
2 | download.opensuse.org-oss        | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes 
3 | download.opensuse.org-tumbleweed | Main Update Repository     | Yes     | (r ) Yes  | Yes 
4 | libdvdcss                        | libdvdcss                  | Yes     | (r ) Yes  | Yes 
5 | packman                          | packman                    | Yes     | (r ) Yes  | Yes 
6 | repo-debug                       | openSUSE-Tumbleweed-Debug  | No      | ----      | ----
7 | repo-source                      | openSUSE-Tumbleweed-Source | No      | ----      | ----
alastair@ibmserv2:~> 



I am running sudo zypper dup again today but there are 333 updates and 4 changes from packman to opensuse required. Will let you know when this has run and if the error reappears. The obvious question for myself is should there be a repo for the snappy site and others have pointed to this as a possible omission. Could it be I have installed snappy at some time without adding the repo? I have no recollection of installing snappy and do not think I need it! I wonder if I was trying to install a snap package and snappy was installed in error on a bad day!

Should now de-install snappy I think.

Thanks for the explanation that you indeed use zypper dup (and only zypper dup).

But you have missed that for a repo list we alwyas ask for

zypper lr -d

As your list is now it does not provide much information. There are only names and aliases that are local to your system (and yes, they hint to what they probably are), but there is no URI at all. Thus nobody can check if you have the correct repos behind those banes and aliases.

Sorry, I forgot the -d part. Here is what it should be:-

alastair@ibmserv2:~> zypper lr -d 
# | Alias                            | Name                       | Enabled | GPG Check | Refresh | Priority | Type  
 | URI                                                      | Service 
--+----------------------------------+----------------------------+---------+-----------+---------+----------+-------
-+----------------------------------------------------------+-------- 
1 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md
 | http://download.opensuse.org/tumbleweed/repo/non-oss/    |  
2 | download.opensuse.org-oss        | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md
 | http://download.opensuse.org/tumbleweed/repo/oss/        |  
3 | download.opensuse.org-tumbleweed | Main Update Repository     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md
 | http://download.opensuse.org/update/tumbleweed/          |  
4 | libdvdcss                        | libdvdcss                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md
 | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/      |  
5 | packman                          | packman                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md
 | http://packman.inode.at/suse/openSUSE_Tumbleweed/        |  
6 | repo-debug                       | openSUSE-Tumbleweed-Debug  | No      | ----      | ----    |   99     | NONE  
 | http://download.opensuse.org/debug/tumbleweed/repo/oss/  |  
7 | repo-source                      | openSUSE-Tumbleweed-Source | No      | ----      | ----    |   99     | NONE  
 | http://download.opensuse.org/source/tumbleweed/repo/oss/ |  
alastair@ibmserv2:~> 



I note that all the sites are http not https. Should I be changing this I wonder?

Using “http” should be fine. Your updates are protected by “gpg” signatures, so “https” is not necessary.

When I look at your list of repos, I do not see the one that was generating the error message in your OP. So perhaps you were originally doing something other than “zypper dup” to cause that error message to show up.

We are back to not knowing what you actually did, which makes it hard to understand the problem.

Hi and thanks,
Since Henk instructed me I have only ever used zypper dup. Why would I dare use anything else after such a clear direction from Henk?
No idea where snappy came from but the update error has not appeared on my update today so am not going to pursue further.
Sorry to have wasted everybody’s time.

Giving some useful feedback helps other readers in understanding what is going on and keeps folks willing to help motivated. You may show you current status:

erlangen:~ # zypper lr -uEP 
#  | Alias               | Name                        | Enabled | GPG Check | Refresh | Priority | URI 
---+---------------------+-----------------------------+---------+-----------+---------+----------+-------------------------------------------------------------------------------- 
 4 | Packman             | Packman                     | Yes     | (r ) Yes  | Yes     |   90     | http://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/ 
10 | openSUSE-20191106-0 | openSUSE-Tumbleweed-Oss     | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/tumbleweed/repo/oss/ 
14 | repo-non-oss        | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/tumbleweed/repo/non-oss/ 
16 | repo-update         | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/tumbleweed/ 
 1 | Application_Geo     | Application_Geo             | Yes     | (r ) Yes  | Yes     |  100     | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_Tumbleweed/ 
 3 | BellSoft            | BellSoft Repository         | Yes     | (r ) Yes  | Yes     |  100     | http://yum.bell-sw.com/ 
 5 | chrome              | chrome                      | Yes     | (r ) Yes  | Yes     |  100     | http://dl.google.com/linux/chrome/rpm/stable/x86_64 
 8 | jalbum              | jalbum                      | Yes     | (  ) No   | Yes     |  100     | http://jalbum.net/download/software/yumrepo/ 
 9 | myrepo              | myrepo                      | Yes     | (  ) No   | Yes     |  100     | dir:/home/karl/Downloads/myrepo 
erlangen:~ # zypper dup     
Loading repository data... 
Reading installed packages... 
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. 
Computing distribution upgrade... 

The following 2 items are locked and will not be changed by any action: 
 Available: 
  plymouth 
 Installed: 
  libquazip5-1 

Nothing to do. 
erlangen:~ #