Error building the cache:
File /var/tmp/TmpFile.uo7BMh doesn’t contain public key data
Warning: Disabling repository ‘openSUSE111_OSS’ because of the above error.
Now the file /var/tmp/TmpFile.uo7BMh doesn’t even exist on my system. What’s going on here, and how do I fix it?
AussieGuy wrote:
>
> When I try to use zypper, this is what happens:
>
>> zypper in shutter
>
> Error building the cache:
> File /var/tmp/TmpFile.uo7BMh doesn’t contain public key data
> Warning: Disabling repository ‘openSUSE111_OSS’ because of the above
> error.
>
> Now the file /var/tmp/TmpFile.uo7BMh doesn’t even exist on my system.
> What’s going on here, and how do I fix it?
Refresh the named repository: “zypper ref openSUSE111_OSS” and try again.
Also try “zypper ref --force openSUSE111_OSS”.
Just tried that too - still the same public key error. I guess what I need to do is to somehow eliminate all of zypper and its directories from my system, and reinstall it. Can this be done without wrecking the information zypper would need about my system?
Thanks, I’ve tried those; nothing. Every attempt to use zypper results in these annoying messages:
“Retrieving repository ‘openSUSE111_NonOSS’ metadata [error]
Repository ‘openSUSE111_NonOSS’ is invalid.
File /var/tmp/TmpFile.KkfwW9 doesn’t contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository ‘openSUSE111_NonOSS’ because of the above error.”
and similarly for all other respositories - of which I’m sure the URIs are valid. I’ve got no idea where this filename /var/tmp/TmpFile.KkfwW9 is coming from; this file doesn’t exist, and anyway seems to be randomly generated when zypper is used.
gave me the same public key error as before. So at this point, zypper lr -u returns
| Alias | Name | Enabled | Refresh | URI
–±----------------±----------------±--------±--------±--------------------------------------------------------
1 | openSUSE111_OSS | openSUSE111_OSS | Yes | No | Index of /distribution/11.1/repo/oss
I guess I could try to remove all the public keys. I did in fact investigate removing zypper using YaST, but didn’t, because apparently so many things rely on it.
You could try going to YaST -> Software -> Software Repositories
then clicking on the problem repository and clicking on ‘edit’, then if you just add a forward slash ‘/’ at the end of the ‘directory on server’ and click on ‘OK’, and the keys will be refreshed for it.