On 2017-01-04 12:48, Roger Oberholtzer wrote:
I have a strange issue with zypper and RPMS from OBS. At first I thought it was related to the aarch64 repos I was using. Now I see the same files have problems on other openSUSE versions when zypper is trying to retrieve them.
What happens is that most all of the file is downloaded. But the download status stays at 99% for a bit, and then zypper fails and wants to to retry the download. It never succeeds.
One cause for it would be that you are on a corporate network, which does antivir analysis and these files trigger a positive.
So, I downloaded them in my browser (on the same computer where zypper is failing) and that works. The files are probably okay.
There is a checksum. Check them.
So, I thought I would put the files in /var/cache/zypp/packages/repo-oss/suse/noarch so the files would not need to be retrieved again. All the other files waiting to be installed are there, and zypper does not try to get those again.
Should work. Maybe the checksum fails?
Seems just adding these files here does not make zypper see them. I guess that's too easy. It tries to retrieve them again.
Is there any way to get zypper to use these files instead of trying to download them again?
Try to install/update them with "rpm" manually. Or create a local directory as repository, tell YaST, and put the files there. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)