Public bug reported:

1) The release of Ubuntu in use:
$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

2) The version of the package (see 
https://bugs.launchpad.net/ubuntu/+source/zypper/+bug/1638306):
$ LANG=C apt-cache policy zypper
zypper:
  Installed: 1.12.4-1build1
  Candidate: 1.12.4-1build1
  Version table:
 *** 1.12.4-1build1 100
        100 /var/lib/dpkg/status
     1.12.4-1 500
        500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

3) What was expected to happen: zypper should work with the official
opensuse repositories

4) What happened instead: zypper failed to build the cache
(NB the commands below are part of the /usr/share/lxc/templates/lxc-opensuse 
script, tested w/ v13.2, but v42.x yield the same errors)
[...]
+ echo 'Downloading opensuse minimal ...'
Downloading opensuse minimal ...
+ mkdir -p /var/cache/lxc/opensuse/13.2/partial-x86_64-packages
+ zypper --quiet --root /var/cache/lxc/opensuse/13.2/partial-x86_64-packages 
--non-interactive ar http://download.opensuse.org/distribution/13.2/repo/oss/ 
repo-oss
[...]
+ zypper --quiet --root /var/cache/lxc/opensuse/13.2/partial-x86_64-packages 
--non-interactive ar http://download.opensuse.org/update/13.2/ update
+ zypper --quiet --root /var/cache/lxc/opensuse/13.2/partial-x86_64-packages 
--non-interactive --gpg-auto-import-keys update
Error building the cache:
[repo-oss|http://download.opensuse.org/distribution/13.2/repo/oss/] Valid 
metadata not found at specified URL                                          
Warning: The metadata cache needs to be built for the 'repo-oss' repository. 
You can run 'zypper refresh' as root to do this.
Error building the cache:
[update|http://download.opensuse.org/update/13.2/] Valid metadata not found at 
specified URL                                                           
Warning: The metadata cache needs to be built for the 'update' repository. You 
can run 'zypper refresh' as root to do this.
[...]

** Affects: zypper (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1639428

Title:
  zypper doesn't work with official opensuse repositories

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zypper/+bug/1639428/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to