[ZBX-14621] Installing zabbix-agent from repository v3.2 on CentOS 7 is failed (wrong version 3.4 instead 3.2) Created: 2018 Jul 17 Updated: 2018 Jul 18 Resolved: 2018 Jul 18 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Sergey Gurovich | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Steps to reproduce:
Result: Loaded plugins: fastestmirror, langpacks
Dependencies Resolved ==================================================================================================================================== Transaction Summary Total download size: 365 k https://wiki.centos.org/yum-errors If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
Error downloading packages:
Expected: |
Comments |
Comment by Kaspars Mednis [ 2018 Jul 17 ] |
Maybe you had Zabbix release 3.4 previosly installed on this system ?\ have you tried yum clean all command before installing zabbix-agent ?
[root@centos74 ~]# yum clean all Loaded plugins: fastestmirror Cleaning repos: base extras updates zabbix zabbix-non-supported Cleaning up everything Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos Cleaning up list of fastest mirrors [root@centos74 ~]# yum install zabbix-agent Loaded plugins: fastestmirror base | 3.6 kB 00:00:00 extras | 3.4 kB 00:00:00 updates | 3.4 kB 00:00:00 zabbix | 2.9 kB 00:00:00 zabbix-non-supported | 951 B 00:00:00 (1/5): base/7/x86_64/group_gz | 166 kB 00:00:00 (2/5): extras/7/x86_64/primary_db | 150 kB 00:00:00 (3/5): updates/7/x86_64/primary_db | 3.6 MB 00:00:00 (4/5): base/7/x86_64/primary_db | 5.9 MB 00:00:02 (5/5): zabbix/x86_64/primary_db | 87 kB 00:00:02 zabbix-non-supported/x86_64/primary | 1.6 kB 00:00:00 Determining fastest mirrors * base: centos.linux.edu.lv * extras: centos.linux.edu.lv * updates: centos.linux.edu.lv zabbix-non-supported 4/4 Resolving Dependencies --> Running transaction check ---> Package zabbix-agent.x86_64 0:3.2.11-1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================================================================================== Installing: zabbix-agent x86_64 3.2.11-1.el7 zabbix 348 k Transaction Summary =============================================================================================================================================================================================================== Install 1 Package |
Comment by Sergey Gurovich [ 2018 Jul 18 ] |
Yes, you right. On this system the 3.4 repo was installed before. The removing 3.4 repo rpm + "yum clean all" doesn't help. The "rm -rf /var/cache/yum" after "yum clean all" solves the issue. Thank you. |
Comment by Sergey Gurovich [ 2018 Jul 18 ] |
If other repo was installed before it maybe removed by: rpm -e zabbix-agent rpm -e zabbix-release yum clean all |