Hi,
I get the following error message when I try to upgrade with ‘zypper migration’:
[...]
Executing '/usr/bin/zypper --xmlout --no-refresh --non-interactive search -s --match-exact -t product sle-module-development-tools'
command '/usr/bin/zypper --xmlout --no-refresh --non-interactive search -s --match-exact -t product sle-module-development-tools' failed
Error: zypper returned 106 with '<?xml version='1.0'?>
<stream>
<progress id="52" name="Building repository 'SLE-Module-Packagehub-Subpackages15-SP5-Pool' cache"/>
<progress id="52" name="Building repository 'SLE-Module-Packagehub-Subpackages15-SP5-Pool' cache" value="0"/>
<progress id="52" name="Building repository 'SLE-Module-Packagehub-Subpackages15-SP5-Pool' cache" value="100"/>
<progress id="52" name="Building repository 'SLE-Module-Packagehub-Subpackages15-SP5-Pool' cache" value="100"/>
<progress id="52" name="Building repository 'SLE-Module-Packagehub-Subpackages15-SP5-Pool' cache" done="1"/>
<progress id="57" name="Building repository 'SLE-Module-Packagehub-Subpackages15-SP5-Updates' cache"/>
<progress id="57" name="Building repository 'SLE-Module-Packagehub-Subpackages15-SP5-Updates' cache" value="0"/>
<progress id="57" name="Building repository 'SLE-Module-Packagehub-Subpackages15-SP5-Updates' cache" value="100"/>
<progress id="57" name="Building repository 'SLE-Module-Packagehub-Subpackages15-SP5-Updates' cache" done="1"/>
<message type="info">
New repository or package signing key received:
<gpgkey-info><repository>SUSE-PackageHub-15-SP5-Backports-Pool</repository><key-name>openSUSE:Backports OBS Project &lt;openSUSE:Backports@build.opensuse.org&gt;</key-name><key-fingerprint>F044C2C507A1262B538AAADD8A49EB0325DB7AE0</key-fingerprint><key-algorithm>RSA 4096</key-algorithm><key-created time_t="1683729972" text="2023-05-10T14:46:12Z"/><key-expires time_t="1809873972" text="2027-05-09T14:46:12Z"/><rpm-name>gpg-pubkey-25db7ae0-645bae34</rpm-name></gpgkey-info>
</message>
<message type="info"> 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.</message>
<message type="info"> Note: A GPG pubkey is clearly identified by its fingerprint. Do not rely on the key's name. If
you are not sure whether the presented key is authentic, ask the repository provider or check
their web site. Many providers maintain a web page showing the fingerprints of the GPG keys they
are using.</message>
<prompt id="14">
<text>Do you want to reject the key, trust temporarily, or trust always?</text>
<option default="1" value="r" desc="Don't trust the key."/>
<option value="t" desc="Trust the key temporarily."/>
<option value="a" desc="Trust the key and import it into trusted keyring."/>
</prompt>
<message type="error">Error building the cache:
[SUSE_Package_Hub_15_SP5_x86_64:SUSE-PackageHub-15-SP5-Backports-Pool|https://updates.suse.com/SUSE/Backports/SLE-15-SP5_x86_64/standard?bxhDhyt0H2USKRWLnQoNxhDqn5EHRqHd9P2H_8-dwGeB4MBtv3_LKjqiOx7h356VOGw4ns8D01HHTwGp1KMUhNwXtzFjlcwUw1hVYUn6BVuzGSS6qLRsO2Hj8-CY1iq3GssD3D3Gjc0] Valid metadata not found at specified URL
History:
- Signature verification failed for repomd.xml
- Can't provide /repodata/repomd.xml
</message>
<message type="warning">Skipping repository 'SUSE-PackageHub-15-SP5-Backports-Pool' because of the above error.</message>
<progress id="65" name="Building repository 'SUSE-PackageHub-15-SP5-Pool' cache"/>
<progress id="65" name="Building repository 'SUSE-PackageHub-15-SP5-Pool' cache" value="0"/>
<progress id="65" name="Building repository 'SUSE-PackageHub-15-SP5-Pool' cache" value="100"/>
<progress id="65" name="Building repository 'SUSE-PackageHub-15-SP5-Pool' cache" done="1"/>
<message type="error">Some of the repositories have not been refreshed because of an error.</message>
<message type="info">Loading repository data...</message>
<message type="info">Reading installed packages...</message>
<search-result version="0.0">
<solvable-list>
<solvable status="installed" name="sle-module-development-tools" kind="product" edition="15.4-0" arch="x86_64" repository="(System Packages)"/>
</solvable-list>
</search-result>
</stream>' (exit status 106)
Migration failed.
Performing repository rollback...
[...]
The problem seems to be with the SLE-Module-Packagehub-Subpackages15.
‘SUSEConnect --status-text’ shows it as the only product not registered:
Module to ship some SLE subpackages by PackageHub
(sle-module-packagehub-subpackages/15.4/x86_64)
Not Registered
I tried to remove it with yast, but that doesn’t work. It keeps coming back.
I also tried: ‘zypper migration --disable-repos’, but that doesn’t fix it either.
How do I resolve this?