Upgrade from 8.6 to 8.8.8 w/o repo fails

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
msmcknight
Advanced member
Advanced member
Posts: 117
Joined: Sat Sep 13, 2014 12:27 am

Upgrade from 8.6 to 8.8.8 w/o repo fails

Post by msmcknight »

Hi everyone,

I'm trying to upgrade from 8.6 to 8.8.8 without using the zimbra online repo's. I have followed the instructions and downloaded the repo files from aws, but some of the files downloaded don't appear to match what yum is looking for. It fails with lots of package errors, basically complaining that the packages don't exist... but they do... kindof...

One example is the zimbra-perl-task-weaken-1.04-1zimbra8.7b1.el6.x86_64.rpm package. This is just one of many, but I'll use it as an example here. This is the error that I get when it fails:
zimbra-perl-task-weaken-1.04-1zimbra8.7b1.el6.x86_64: failure: x86_64/zimbra-perl-task-weaken-1.04-1zimbra8.7b1.el6.x86_64.rpm from zimbra: [Errno 256] No more mirrors to try.
Yum see's it and can list it's info, but if it actually tries to install it, it fails. The issue seems to be with it's naming. Using strace I was able to see the following:
stat("/tmp2/zimbra-repo/rpm/87/rhel6/x86_64/zimbra-perl-task-weaken-1.04-1zimbra8.7b1.el6.x86_64.rpm", 0x7ffd8a5f12d0) = -1 ENOENT (No such file or directory)
The first thing to notice here is that it's looking for a filename: zimbra-perl-task-weaken-1.04-1zimbra8.7b1.el6.x86_64.rpm
... which makes perfect sense. Except that the file doesn't exist as that name. If I look in the rpm directories created by the "aws s3 sync" command, I see the file listed as:
./rpm/87/rhel6/SRPMS/zimbra-perl-task-weaken-1.04-1zimbra8.7b1.el6.src.rpm
./rpm/87/rhel6/x86_64/zimbra-perl-task-weaken-1.04-1zimbra8.7b1.el6
./rpm/87/rhel7/SRPMS/zimbra-perl-task-weaken-1.04-1zimbra8.7b1.el7.src.rpm
./rpm/87/rhel7/x86_64/zimbra-perl-task-weaken-1.04-1zimbra8.7b1.el7.x86_64.rpm
Now, notice here that the file it's looking for in ./rpm/87/rhel6/x86_64 is missing the ".x86_64.rpm" part of the filename. ie:
zimbra-perl-task-weaken-1.04-1zimbra8.7b1.el6
vs.
zimbra-perl-task-weaken-1.04-1zimbra8.7b1.el6.x86_64.rpm
These files are as they were downloaded from aws... I haven't renamed or modified them in any way. The crazy thing is that some of the files in ./rpm/87/rhel6/x86_64 have the ".x86_64.rpm" part of the filename and others don't.

I'm not sure what's going on here or how to get past it. As far as I can tell, it looks like the repo's on aws are bad. Has anyone else seen this, or anything like it, before? If so, any ideas on how to get past it?

Any help would be appreciated.

Thanks to you all in advance.
-Michael
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Upgrade from 8.6 to 8.8.8 w/o repo fails

Post by phoenix »

Have you tried a yum clean all then removed the cache of files from disk? See if that helps.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
msmcknight
Advanced member
Advanced member
Posts: 117
Joined: Sat Sep 13, 2014 12:27 am

Re: Upgrade from 8.6 to 8.8.8 w/o repo fails

Post by msmcknight »

Hello,

Yes, I have tried:

yum clean all
yum clean expire-cache
rm -rf /var/cache/yum/*

No luck... same failure.

Thank you,
-Michael
Post Reply