Installing a package from software.opensuse.org adds broken repositories to zypper.

Hello, everyone.

Freshly installed 15.3, I found that it is only shipping Emacs 25.2, which is too old for me.
As suggested by the manual, I went to the https://software.opensuse.org, searched for emacs, and clicked “Show experimental packages” near 15.3, and then “1-click install”. The resulting “installation file” was automatically opened in some installation tool.
After the installation, zypper started to report the following broken repositories:



zypper search gabble
Retrieving repository 'SUSE:SLE-15-SP3:GA' metadata ................................................................................................................................................................................................................................................................................................[error]
Repository 'SUSE:SLE-15-SP3:GA' is invalid.
[https-download.opensuse.org-4e9ebd12|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP3:/GA/pool/] Valid metadata not found at specified URL
History:
 - [https-download.opensuse.org-4e9ebd12|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP3:/GA/pool/] Repository type can't be determined.

Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'SUSE:SLE-15-SP3:GA' because of the above error.
Retrieving repository 'SUSE:SLE-15-SP1:Update' metadata ............................................................................................................................................................................................................................................................................................[error]
Repository 'SUSE:SLE-15-SP1:Update' is invalid.
[https-download.opensuse.org-6116b1f7|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/Update/pool/] Valid metadata not found at specified URL
History:
 - [https-download.opensuse.org-6116b1f7|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/Update/pool/] Repository type can't be determined.

Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'SUSE:SLE-15-SP1:Update' because of the above error.
Retrieving repository 'SUSE:SLE-15-SP1:GA' metadata ................................................................................................................................................................................................................................................................................................[error]
Repository 'SUSE:SLE-15-SP1:GA' is invalid.
[https-download.opensuse.org-87d635c9|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/] Valid metadata not found at specified URL
History:
 - [https-download.opensuse.org-87d635c9|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/] Repository type can't be determined.

Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'SUSE:SLE-15-SP1:GA' because of the above error.
Retrieving repository 'SUSE:SLE-15-SP2:GA' metadata ................................................................................................................................................................................................................................................................................................[error]
Repository 'SUSE:SLE-15-SP2:GA' is invalid.
[https-download.opensuse.org-b7ad638f|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/GA/pool/] Valid metadata not found at specified URL
History:
 - [https-download.opensuse.org-b7ad638f|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/GA/pool/] Repository type can't be determined.

Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'SUSE:SLE-15-SP2:GA' because of the above error.
Retrieving repository 'SUSE:SLE-15-SP2:Update' metadata ............................................................................................................................................................................................................................................................................................[error]
Repository 'SUSE:SLE-15-SP2:Update' is invalid.
[https-download.opensuse.org-bfaa13f9|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/Update/pool/] Valid metadata not found at specified URL
History:
 - [https-download.opensuse.org-bfaa13f9|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP2:/Update/pool/] Repository type can't be determined.

Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'SUSE:SLE-15-SP2:Update' because of the above error.
Retrieving repository 'SUSE:SLE-15-SP1:GA' metadata ................................................................................................................................................................................................................................................................................................[error]
Repository 'SUSE:SLE-15-SP1:GA' is invalid.
[https-download.opensuse.org-d6a3f72d|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/] Valid metadata not found at specified URL
History:
 - [https-download.opensuse.org-d6a3f72d|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP1:/GA/pool/] Repository type can't be determined.

Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'SUSE:SLE-15-SP1:GA' because of the above error.
Retrieving repository 'SUSE:SLE-15:Update' metadata ................................................................................................................................................................................................................................................................................................[error]
Repository 'SUSE:SLE-15:Update' is invalid.
[https-download.opensuse.org-f23567c8|https://download.opensuse.org/repositories/SUSE:/SLE-15:/Update/pool/] Valid metadata not found at specified URL
History:
 - [https-download.opensuse.org-f23567c8|https://download.opensuse.org/repositories/SUSE:/SLE-15:/Update/pool/] Repository type can't be determined.

Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'SUSE:SLE-15:Update' because of the above error.
Retrieving repository 'SUSE:SLE-15-SP3:Update' metadata ............................................................................................................................................................................................................................................................................................[error]
Repository 'SUSE:SLE-15-SP3:Update' is invalid.
[https-download.opensuse.org-f37caf44|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP3:/Update/pool/] Valid metadata not found at specified URL
History:
 - [https-download.opensuse.org-f37caf44|https://download.opensuse.org/repositories/SUSE:/SLE-15-SP3:/Update/pool/] Repository type can't be determined.

Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Skipping repository 'SUSE:SLE-15-SP3:Update' because of the above error.
Some of the repositories have not been refreshed because of an error.
Loading repository data...
Warning: Repository 'openSUSE:Backports:SLE-15-SP3' appears to be outdated. Consider using a different mirror or server.
Reading installed packages...

S  | Name                          | Summary                                               | Type
---+-------------------------------+-------------------------------------------------------+-----------
   | telepathy-gabble              | XMPP connection manager for Telepathy                 | srcpackage
i  | telepathy-gabble              | XMPP connection manager for Telepathy                 | package
i+ | telepathy-gabble-xmpp-console | XMPP connection manager for Telepathy -- XMPP Console | package
192:~ # 



Don’t use 1-click. I opened Install package home:FrauHolle / emacs and ran the following by copy and paste from expert download:

Leap-15-3:~ # **[noparse]zypper addrepo https://download.opensuse.org/repositories/home:FrauHolle/openSUSE_Leap_15.3/home:FrauHolle.repo[/noparse]**
Adding repository 'home:FrauHolle (openSUSE_Leap_15.3)' ...............................................................................................................................................................................[done]
Repository 'home:FrauHolle (openSUSE_Leap_15.3)' successfully added

URI         : [noparse]https://download.opensuse.org/repositories/home:/FrauHolle/openSUSE_Leap_15.3/[/noparse]
Enabled     : Yes
GPG Check   : Yes
Autorefresh : No
Priority    : 99 (default priority)

Repository priorities in effect:                                                                                                                                                                             (See 'zypper lr -P' for details)
      90 (raised priority)  :  2 repositories
      99 (default priority) :  7 repositories
Leap-15-3:~ # **zypper refresh**
Retrieving repository 'home:FrauHolle (openSUSE_Leap_15.3)' metadata ---------------------------------------------------------------------------------------------------------------------------------------------------------------------\]

New repository or package signing key received:

  Repository:       home:FrauHolle (openSUSE_Leap_15.3)
  Key Fingerprint:  4B22 1844 3197 A4CB 8E67 B445 013E 4221 2760 71C8
  Key Name:         home:FrauHolle OBS Project <home:FrauHolle@build.opensuse.org>
  Key Algorithm:    RSA 2048
  Key Created:      Sat Dec 19 12:38:47 2020
  Key Expires:      Mon Feb 27 12:38:47 2023
  Rpm Name:         gpg-pubkey-276071c8-5fdde647



    Note: Signing data enables the recipient to verify that no modifications occurred after the data
    were signed. Accepting data with no, wrong or unknown signature can lead to a corrupted system
    and in extreme cases even to a system compromise.

    Note: A GPG pubkey is clearly identified by it's fingerprint. Do not rely the keys name. If you
    are not sure whether the presented key is authentic, ask the repository provider or check his
    web site. Many provider maintain a web page showing the fingerprints of the GPG keys they are
    using.

Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a
Retrieving repository 'home:FrauHolle (openSUSE_Leap_15.3)' metadata ..................................................................................................................................................................[done]
Building repository 'home:FrauHolle (openSUSE_Leap_15.3)' cache .......................................................................................................................................................................[done]
Repository 'Mozilla based projects (openSUSE_Leap_15.3)' is up to date.                                                                                                                                                                      
Repository 'openSUSE-Leap-15.3-1' is up to date.                                                                                                                                                                                             
Repository 'packman' is up to date.                                                                                                                                                                                                          
Retrieving repository 'Update repository of openSUSE Backports' metadata ..............................................................................................................................................................[done]
Building repository 'Update repository of openSUSE Backports' cache ...................................................................................................................................................................[done]
Repository 'Non-OSS Repository' is up to date.                                                                                                                                                                                               
Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata .........................................................................................................................................[done]
Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache ..............................................................................................................................................[done]
Repository 'Hauptaktualisierungs-Repository' is up to date.                                                                                                                                                                                  
Repository 'Aktualisierungs-Repository (Nicht-Open-Source-Software)' is up to date.                                                                                                                                                          
All repositories have been refreshed.
Leap-15-3:~ # **zypper install emacs**
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 10 NEW packages are going to be installed:
  emacs emacs-info emacs-x11 etags libXaw3d8 libm17n0 libotf0 m17n-db m17n-db-lang system-user-games

The following recommended package was automatically selected:
  m17n-db-lang

10 new packages to install.
Overall download size: 27.0 MiB. Already cached: 0 B. After the operation, additional 116.5 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): 
Retrieving package emacs-info-27.2-lp153.366.1.noarch                                                                                                                                                  (1/10),   4.7 MiB (  4.7 MiB unpacked)
Retrieving: emacs-info-27.2-lp153.366.1.noarch.rpm ......................................................................................................................................................................[done (722.0 KiB/s)]
Retrieving package etags-27.2-lp153.366.1.x86_64                                                                                                                                                       (2/10), 127.6 KiB (340.4 KiB unpacked)
Retrieving: etags-27.2-lp153.366.1.x86_64.rpm ............................................................................................................................................................................[done (37.3 KiB/s)]
Retrieving package libXaw3d8-1.6.2-1.28.x86_64                                                                                                                                                         (3/10), 140.7 KiB (386.9 KiB unpacked)
Retrieving: libXaw3d8-1.6.2-1.28.x86_64.rpm .............................................................................................................................................................................[done (337.6 KiB/s)]
Retrieving package libotf0-0.9.13-2.25.x86_64                                                                                                                                                          (4/10),  47.6 KiB ( 86.3 KiB unpacked)
Retrieving: libotf0-0.9.13-2.25.x86_64.rpm ............................................................................................................................................................................................[done]
Retrieving package m17n-db-1.7.0-1.24.noarch                                                                                                                                                           (5/10),   1.3 MiB (  6.2 MiB unpacked)
Retrieving: m17n-db-1.7.0-1.24.noarch.rpm ...............................................................................................................................................................................[done (889.0 KiB/s)]
Retrieving package system-user-games-20170617-15.86.noarch                                                                                                                                             (6/10),  11.5 KiB (   75   B unpacked)
Retrieving: system-user-games-20170617-15.86.noarch.rpm ...............................................................................................................................................................................[done]
Retrieving package m17n-db-lang-1.7.0-1.24.noarch                                                                                                                                                      (7/10),  17.1 KiB ( 23.0 KiB unpacked)
Retrieving: m17n-db-lang-1.7.0-1.24.noarch.rpm ........................................................................................................................................................................................[done]
Retrieving package libm17n0-1.7.0-2.31.x86_64                                                                                                                                                          (8/10), 240.9 KiB (596.4 KiB unpacked)
Retrieving: libm17n0-1.7.0-2.31.x86_64.rpm ..............................................................................................................................................................................[done (646.9 KiB/s)]
Retrieving package emacs-27.2-lp153.366.1.x86_64                                                                                                                                                       (9/10),  15.9 MiB ( 71.4 MiB unpacked)
Retrieving: emacs-27.2-lp153.366.1.x86_64.rpm ...........................................................................................................................................................................[done (796.5 KiB/s)]
Retrieving package emacs-x11-27.2-lp153.366.1.x86_64                                                                                                                                                  (10/10),   4.5 MiB ( 32.9 MiB unpacked)
Retrieving: emacs-x11-27.2-lp153.366.1.x86_64.rpm .......................................................................................................................................................................[done (814.1 KiB/s)]

Checking for file conflicts: ..........................................................................................................................................................................................................[done]
( 1/10) Installing: emacs-info-27.2-lp153.366.1.noarch ................................................................................................................................................................................[done]
Additional rpm output:
install-info: No such file or directory for /usr/share/info/emacs.info.%{.gz}                                                                                                                                                                
...................
install-info: No such file or directory for /usr/share/info/woman.info.%{.gz}


( 2/10) Installing: etags-27.2-lp153.366.1.x86_64 .....................................................................................................................................................................................[done]
( 3/10) Installing: libXaw3d8-1.6.2-1.28.x86_64 .......................................................................................................................................................................................[done]
( 4/10) Installing: libotf0-0.9.13-2.25.x86_64 ........................................................................................................................................................................................[done]
( 5/10) Installing: m17n-db-1.7.0-1.24.noarch .........................................................................................................................................................................................[done]
( 6/10) Installing: system-user-games-20170617-15.86.noarch ...........................................................................................................................................................................[done]
Additional rpm output:
groupadd -r games
useradd -r -s /sbin/nologin -c "Games account" -g games -d /var/games games


( 7/10) Installing: m17n-db-lang-1.7.0-1.24.noarch ....................................................................................................................................................................................[done]
( 8/10) Installing: libm17n0-1.7.0-2.31.x86_64 ........................................................................................................................................................................................[done]
( 9/10) Installing: emacs-27.2-lp153.366.1.x86_64 .....................................................................................................................................................................................[done]
(10/10) Installing: emacs-x11-27.2-lp153.366.1.x86_64 .................................................................................................................................................................................[done]
Leap-15-3:~ #

The whole purpose of openSUSE LEAP 15.3 is that it uses tested packages so it works.

If you load anything from outside the tested repositories you do so at your own risk.

If you need more ‘experimental programs’ then use openSUSE Tumbleweed. Which might enable your program.
But it come with some risks.

Question: Why is Emacs tested version in the repros ‘too old’ for you?

Despite the advice in the manual related to “1-click-install”, the reliable method is to add the repository to your repositories list manually –

[HR][/HR]I’ll be back soon from my Leap 15.3 system …

Please check the URLs of the SUSE SLE-15 repositories – with Leap 15.3, you should only have these SUSE SLE-15 repositories –


 > LANG=C zypper repos repo-sle-update
Alias          : repo-sle-update
Name           : Update repository with updates from SUSE Linux Enterprise 15
URI            : http://download.opensuse.org/update/leap/15.3/sle/
Enabled        : Yes
GPG Check      : (r ) Yes
Priority       : 99 (default priority)
Autorefresh    : On
Keep Packages  : Off
Type           : rpm-md
GPG Key URI    : 
Path Prefix    : /
Parent Service : 
Keywords       : ---
Repo Info Path : /etc/zypp/repos.d/repo-sle-update.repo
MD Cache Path  : /var/cache/zypp/raw/repo-sle-update
 > 
 > LANG=C zypper repos repo-sle-debug-update
Alias          : repo-sle-debug-update
Name           : Update repository with debuginfo for updates from SUSE Linux Enterprise 15
URI            : http://download.opensuse.org/debug/update/leap/15.3/sle/
Enabled        : No
GPG Check      : ----
Priority       : 99 (default priority)
Autorefresh    : On
Keep Packages  : Off
Type           : NONE
GPG Key URI    : 
Path Prefix    : /
Parent Service : 
Keywords       : ---
Repo Info Path : /etc/zypp/repos.d/repo-sle-debug-update.repo
MD Cache Path  : /var/cache/zypp/raw/repo-sle-debug-update
 > 

You only need these two SUSE SLE-15 repositories –

  • For whatever reason, the “1-click-install” has added some SUSE repositories which are not needed for openSUSE Leap 15.3 …

Please remove the “SUSE:SLE-15-xxxx” repositories from your openSUSE Leap 15.3 system.

  • When you’ve done that, perform a forced
    refresh of all the (openSUSE) repository meta-data –

zypper refresh --force

1 Like

I have found that any program currently listed as Experimental will download all these SLE-15 repos if you use One click install. However, as dcurtisfra says, if you copy the instructions for manually adding the 15.2 repo and change it to 15.3, it will load the repo and add the program from the repo using zypper in --allow-vendor-change <program>.