Python Repository not found

The Python repository, http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_13.1/,
has apparently been removed. Is there an alternative for Evergreen (13.1) ?

Well, after 13.1 came 13.2, but that is also some time ago. And after 13.2 came Leap 42.1, which is the most recent stable openSUSE release.

I understand the chronology, and have Leap 42.1 installed as well. However, I have (and support) multiple 13.1 platforms, and as of June 25, the Python repo is no longer present. A similar development occured with the Packman repo, and an alternative was made available to “Evergreen” 13.1 users.

Perhaps I worded the OP imperfectly. I was seeking a repository to provide the Python repo for an Evergreen 13.1 platform.

I recommend:

  • Let whatever Python versions supplied by the OSS remain for the various parts of the system.

  • You’ll likely need to run a more recent version of Python for many Python apps, or maybe you want to access a larger number of Python apps. To do this,

  • Install virtualenv to support multiple versions of Python side by side in your openSUSE. Not only will other versions of python (likely downloaded from the official Python repos not associated with openSUSE) install in their own trees, you will be able to download python apps and apply a specified version of Python to a running python app.

  • Use virtualenv to download versions of python instead of from the openSUSE repos.

  • Use virtualenv to set the python apps’ python version when launching the python app.

Post back here if you run into problems figuring this out.

This is how a lot of other distros do this as standard practice, not many distros like openSUSE automatically include a supported version of python in the distro.

TSU

http://ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/openSUSE_13.1/

The hoster gwdg.de does not delete it so quickly as openSUSE.

Repository above fails to refresh, cannot find metadata.

Repository above fails to refresh, cannot find metadata.

You have the link, its on you.

This is beyond me, the exact message is:

File ‘./repodata/364b12adbb2f6d8e21fefd0777fb006f6ee6bd43915bcd3fef064cdd4a7002fc-primary.xml.gz’ not found on medium ‘ftp://ftp.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/openSUSE_13.1/

Another repo in the .gwdg.de site, (Packman, ftp://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.1/) does include primary.xml.gz is the “repodata” subdirectory.

Hi
http, not ftp;


zypper ar -f http://ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/openSUSE_13.1/ python
Adding repository 'python' .....................................................................................................................................[done]
Repository 'python' successfully added
Enabled     : Yes                                                                                  
Autorefresh : Yes                                                                                  
GPG Check   : Yes                                                                                  
Priority    : 99                                                                                   
URI         : http://ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/openSUSE_13.1/

 zypper ref
Retrieving repository 'python' metadata ---------------------------------------------------------------------------------------------------------------------------\]

New repository or package signing key received:

  Repository:       python                                                                        
  Key Name:         devel:languages:python OBS Project <devel:languages:python@build.opensuse.org>
  Key Fingerprint:  172CCD6B 0CF49B73 88F1C611 27163A4E EDF0D733                                  
  Key Created:      Thu Dec 18 10:57:28 2014                                                      
  Key Expires:      Sat Feb 25 10:57:28 2017                                                      
  Rpm Name:         gpg-pubkey-edf0d733-54930778                                                  


Do you want to reject the key, trust temporarily, or trust always? [r/t/a/? shows all options] (r):

http …

Twilight:~ # zypper ar -f http://ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/openSUSE_13.1/ python
Adding repository 'python' ...............................................[done]
Repository 'python' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/openSUSE_13.1/

Twilight:~ # zypper ref
Repository 'Chromium' is up to date.
Repository 'KDE:Current' is up to date.
Repository 'KDE:Extra' is up to date.
Repository 'Kernel/Stable:Standard' is up to date.
Repository 'LibreOffice 5.0 (FTP)' is up to date.
Repository 'Main_Repository_(Contribution)' is up to date.
Repository 'Mozilla_for_openSUSE_13.1' is up to date.
Repository 'Multimedia:libdvdcss' is up to date.
Repository 'Packman_Repository_(Revised,*Backup*)' is up to date.
Repository 'Printing:openSUSE_BuildService' is up to date.
Repository 'openSUSE-13.1-1.10' is up to date.
Retrieving repository 'python' metadata -------------------------------------\]
File './repodata/364b12adbb2f6d8e21fefd0777fb006f6ee6bd43915bcd3fef064cdd4a7002fc-primary.xml.gz' not found on medium 'http://ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/openSUSE_13.1/'

Abort, retry, ignore? [a/r/i/? shows all options] (a): i
Retrieving repository 'python' metadata .................................[error]
Repository 'python' is invalid.
|] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'python' because of the above error.
Repository 'openSUSE-13.1-Non-Oss' is up to date.
Repository 'openSUSE-13.1-Oss' is up to date.
Repository 'openSUSE-13.1-Update' is up to date.
Repository 'openSUSE-13.1-Update-Non-Oss' is up to date.
Some of the repositories have not been refreshed because of an error.
Twilight:~ # 

I thought it might br a Yast problem, but I still do not find -primary.xml.gz.

Hi
Try removing and cleaning (zypper clean) and re-add.

Removed “python” repo.

Twilight:~ # zypper clean
All repositories have been cleaned up.
Twilight:~ # zypper ar -f http://ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/openSUSE_13.1/ python
Adding repository 'python' ...............................................[done]
Repository 'python' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/openSUSE_13.1/

Twilight:~ # zypper ref
Repository 'Chromium' is up to date.
Repository 'KDE:Current' is up to date.
Repository 'KDE:Extra' is up to date.
Repository 'Kernel/Stable:Standard' is up to date.
Repository 'LibreOffice 5.0 (FTP)' is up to date.
Repository 'Main_Repository_(Contribution)' is up to date.
Repository 'Mozilla_for_openSUSE_13.1' is up to date.
Repository 'Multimedia:libdvdcss' is up to date.
Repository 'Packman_Repository_(Revised,*Backup*)' is up to date.
Repository 'Printing:openSUSE_BuildService' is up to date.
Repository 'openSUSE-13.1-1.10' is up to date.
Retrieving repository 'python' metadata -------------------------------------\]
File './repodata/364b12adbb2f6d8e21fefd0777fb006f6ee6bd43915bcd3fef064cdd4a7002fc-primary.xml.gz' not found on medium 'http://ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/openSUSE_13.1/'

Abort, retry, ignore? [a/r/i/? shows all options] (a): i
Retrieving repository 'python' metadata .................................[error]
Repository 'python' is invalid.
|] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'python' because of the above error.
Repository 'openSUSE-13.1-Non-Oss' is up to date.
Repository 'openSUSE-13.1-Oss' is up to date.
Repository 'openSUSE-13.1-Update' is up to date.
Repository 'openSUSE-13.1-Update-Non-Oss' is up to date.
Some of the repositories have not been refreshed because of an error.
Twilight:~ # 

The repo in question:

Index of ftp://ftp.gwdg.de/pub/opensuse/repositories/devel:/languages:/python/openSUSE_13.1/repodata/ Up to higher level directory
|
|
|[TABLE=“class: ellipsis”]
[TR]
[TD]https://forums.opensuse.org/moz-icon://.gz?size=16b786571647f5cb4d3bdf836f24cd65174db80d9ad2dc7e1ad071ce6ef7da6f1d-appdata.xml.gz](ftp://ftp.gwdg.de/pub/opensuse/repositories/devel%3A/languages%3A/python/openSUSE_13.1/repodata/b786571647f5cb4d3bdf836f24cd65174db80d9ad2dc7e1ad071ce6ef7da6f1d-appdata.xml.gz)|

[/TD]
[TD]3 KB[/TD]
[TD]06/21/2016[/TD]
[TD]01:53:00 PM[/TD]
[/TR]
[TR]
[TD]|https://forums.opensuse.org/moz-icon://.xml?size=16repomd.xml](ftp://ftp.gwdg.de/pub/opensuse/repositories/devel%3A/languages%3A/python/openSUSE_13.1/repodata/repomd.xml)|
|—|

[/TD]
[TD]3 KB[/TD]
[TD]06/21/2016[/TD]
[TD]01:53:00 PM[/TD]
[/TR]
[TR]
[TD]|https://forums.opensuse.org/moz-icon://.asc?size=16repomd.xml.asc](ftp://ftp.gwdg.de/pub/opensuse/repositories/devel%3A/languages%3A/python/openSUSE_13.1/repodata/repomd.xml.asc)|
|—|

[/TD]
[TD]1 KB[/TD]
[TD]06/21/2016[/TD]
[TD]01:53:00 PM[/TD]
[/TR]
[TR]
[TD]|https://forums.opensuse.org/moz-icon://.key?size=16repomd.xml.key](ftp://ftp.gwdg.de/pub/opensuse/repositories/devel%3A/languages%3A/python/openSUSE_13.1/repodata/repomd.xml.key)|
|—|

[/TD]
[TD]2 KB[/TD]
[TD]06/21/2016[/TD]
[TD]01:53:00 PM[/TD]
[/TR]
[/TABLE]

Hi
You could try contacting the admin at ftp.gwdg.de and see if they can figure out where the file has gone, but looks like the only way for you to copy all the files locally and create your own repo (createrepo command).

How did it work for you ? I copied your exact commands, and we each received differing results ?

Hi
Once I tried again it barfed with the same error as you… :frowning:

You could try looking through the mirrors list to see if there is another one…
http://mirrors.opensuse.org/

But easiest would be to mirror locally…