zypper doesn't work with official opensuse repositories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Expired
|
Medium
|
Unassigned | ||
zypper (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
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:/
$ 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/
1.12.4-1 500
500 http://
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/
[...]
+ echo 'Downloading opensuse minimal ...'
Downloading opensuse minimal ...
+ mkdir -p /var/cache/
+ zypper --quiet --root /var/cache/
[...]
+ zypper --quiet --root /var/cache/
+ zypper --quiet --root /var/cache/
Error building the cache:
[repo-oss|http://
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://
Warning: The metadata cache needs to be built for the 'update' repository. You can run 'zypper refresh' as root to do this.
[...]
tags: | added: xenial |
Changed in zypper (Ubuntu): | |
importance: | Undecided → Medium |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
I ran into the same issue. the issue is that the "zypper" package is using /usr/bin/gpg2 to validate repository signatures, but zypper does not depend on that. the fix is to merely install "gnupg2" beforehand.
Maybe this could be fixed by adding a runtime dependency on gnupg to the package.