LINUX.ORG.RU
ФорумAdmin

Centos не хочет обновляться

 , ,


0

2

Стоит сервер с Centos 7, стоит yum-cron, он себе там тихонько обновлялся всю жизнь и вдруг перестал.

Вот такую бяку пишет:

# yum upgrade
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.i3d.net
 * epel: ftp.nluug.nl
 * extras: mirror.i3d.net
 * updates: mirror.i3d.net
Resolving Dependencies
--> Running transaction check
---> Package avahi.x86_64 0:0.6.31-13.el7 will be updated
---> Package avahi.x86_64 0:0.6.31-14.el7 will be an update
---> Package avahi-autoipd.x86_64 0:0.6.31-13.el7 will be updated
---> Package avahi-autoipd.x86_64 0:0.6.31-14.el7 will be an update
---> Package ca-certificates.noarch 0:2014.1.98-70.0.el7_0 will be updated
---> Package ca-certificates.noarch 0:2014.1.98-72.el7 will be an update
---> Package centos-logos.noarch 0:70.0.6-1.el7.centos will be updated
---> Package centos-logos.noarch 0:70.0.6-2.el7.centos will be an update
---> Package centos-release.x86_64 0:7-1.1503.el7.centos.2.7 will be updated
---> Package centos-release.x86_64 0:7-1.1503.el7.centos.2.8 will be an update
---> Package dbus.x86_64 1:1.6.12-8.el7 will be updated
---> Package dbus.x86_64 1:1.6.12-11.el7 will be an update
---> Package glibc-headers.x86_64 0:2.17-55.el7_0.5 will be updated
--> Processing Dependency: glibc-headers = 2.17-55.el7_0.5 for package: glibc-devel-2.17-55.el7_0.5.x86_64
---> Package glibc-headers.x86_64 0:2.17-78.el7 will be an update
---> Package initscripts.x86_64 0:9.49.17-1.el7_0.1 will be updated
---> Package initscripts.x86_64 0:9.49.24-1.el7 will be an update
---> Package openssh.x86_64 0:6.4p1-8.el7 will be updated
---> Package openssh.x86_64 0:6.6.1p1-11.el7 will be an update
---> Package openssh-server.x86_64 0:6.4p1-8.el7 will be updated
---> Package openssh-server.x86_64 0:6.6.1p1-11.el7 will be an update
---> Package selinux-policy-targeted.noarch 0:3.12.1-153.el7_0.13 will be updated
---> Package selinux-policy-targeted.noarch 0:3.13.1-23.el7 will be an update
---> Package systemd.x86_64 0:208-11.el7_0.6 will be updated
---> Package systemd.x86_64 0:208-20.el7_1.2 will be an update
---> Package tzdata.noarch 0:2015a-1.el7_0 will be updated
---> Package tzdata.noarch 0:2015b-1.el7 will be an update
--> Finished Dependency Resolution
Error: Package: glibc-devel-2.17-55.el7_0.5.x86_64 (@updates)
           Requires: glibc-headers = 2.17-55.el7_0.5
           Removing: glibc-headers-2.17-55.el7_0.5.x86_64 (@updates)
               glibc-headers = 2.17-55.el7_0.5
           Updated By: glibc-headers-2.17-78.el7.x86_64 (base)
               glibc-headers = 2.17-78.el7
 You could try using --skip-broken to work around the problem
** Found 34 pre-existing rpmdb problem(s), 'yum check' output follows:
1:NetworkManager-0.9.9.1-29.git20140326.4dba720.el7_0.x86_64 has missing requires of NetworkManager-glib(x86-64) = ('1', '0.9.9.1', '29.git20140326.4dba720.el7_0')
1:NetworkManager-1.0.0-14.git20150121.b4ea599c.el7.x86_64 is a duplicate with 1:NetworkManager-0.9.9.1-29.git20140326.4dba720.el7_0.x86_64
audit-2.3.3-4.el7.x86_64 has missing requires of audit-libs = ('0', '2.3.3', '4.el7')
audit-2.4.1-5.el7.x86_64 is a duplicate with audit-2.3.3-4.el7.x86_64
avahi-0.6.31-13.el7.x86_64 has missing requires of avahi-libs = ('0', '0.6.31', '13.el7')
avahi-autoipd-0.6.31-13.el7.x86_64 has missing requires of avahi-libs = ('0', '0.6.31', '13.el7')
binutils-2.23.52.0.1-30.el7_1.1.x86_64 is a duplicate with binutils-2.23.52.0.1-16.el7.x86_64
cronie-1.4.11-13.el7.x86_64 is a duplicate with cronie-1.4.11-11.el7.x86_64
1:dbus-1.6.12-8.el7.x86_64 has missing requires of dbus-libs(x86-64) = ('1', '1.6.12', '8.el7')
dnsmasq-2.66-13.el7_1.x86_64 is a duplicate with dnsmasq-2.66-12.el7.x86_64
firewalld-0.3.9-11.el7.noarch is a duplicate with firewalld-0.3.9-7.el7.noarch
glibc-devel-2.17-55.el7_0.5.x86_64 has missing requires of glibc = ('0', '2.17', '55.el7_0.5')
glibc-devel-2.17-78.el7.x86_64 is a duplicate with glibc-devel-2.17-55.el7_0.5.x86_64
glibc-devel-2.17-78.el7.x86_64 has missing requires of glibc-headers = ('0', '2.17', '78.el7')
glibc-headers-2.17-55.el7_0.5.x86_64 has missing requires of glibc = ('0', '2.17', '55.el7_0.5')
gnutls-3.3.8-12.el7.x86_64 has missing requires of libtspi.so.1()(64bit)
grep-2.20-1.el7.x86_64 is a duplicate with grep-2.16-1.el7.x86_64
1:grub2-2.02-0.2.10.el7.centos.1.x86_64 has missing requires of grub2-tools = ('1', '2.02', '0.2.10.el7.centos.1')
1:grub2-2.02-0.16.el7.centos.x86_64 is a duplicate with 1:grub2-2.02-0.2.10.el7.centos.1.x86_64
iprutils-2.4.3-3.el7.x86_64 is a duplicate with iprutils-2.3.16-4.el7.x86_64
2:irqbalance-1.0.7-1.el7.x86_64 is a duplicate with 2:irqbalance-1.0.6-5.el7.x86_64
kexec-tools-2.0.7-19.el7.x86_64 is a duplicate with kexec-tools-2.0.4-32.el7.centos.5.x86_64
libgomp-4.8.3-9.el7.x86_64 is a duplicate with libgomp-4.8.2-16.2.el7_0.x86_64
libgudev1-208-20.el7_1.2.x86_64 has missing requires of systemd = ('0', '208', '20.el7_1.2')
2:microcode_ctl-2.1-10.el7.x86_64 is a duplicate with 2:microcode_ctl-2.1-7.1.el7_0.2.x86_64
nettle-2.7.1-4.el7.x86_64 is a duplicate with nettle-2.7.1-2.el7.x86_64
openssh-clients-6.6.1p1-11.el7.x86_64 has missing requires of openssh = ('0', '6.6.1p1', '11.el7')
parted-3.1-20.el7.x86_64 is a duplicate with parted-3.1-17.el7.x86_64
selinux-policy-targeted-3.12.1-153.el7_0.13.noarch has missing requires of selinux-policy = ('0', '3.12.1', '153.el7_0.13')
spamassassin-3.4.0-1.el7.x86_64 is a duplicate with spamassassin-3.3.2-18.el7.x86_64
systemd-208-11.el7_0.6.x86_64 has missing requires of systemd-libs = ('0', '208', '11.el7_0.6')
systemd-sysv-208-20.el7_1.2.x86_64 has missing requires of systemd = ('0', '208', '20.el7_1.2')
tuned-2.4.1-1.el7.noarch is a duplicate with tuned-2.3.0-11.el7_0.3.noarch
yum-cron-3.4.3-125.el7.centos.noarch is a duplicate with yum-cron-3.4.3-118.el7.centos.noarch

не очень понимаю, что всё это значит, что за дупликаты и тд.

★★★★★

Ответ на: комментарий от dexpl
# yum-complete-transaction
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.i3d.net
 * epel: ftp.nluug.nl
 * extras: mirror.i3d.net
 * updates: mirror.i3d.net
No unfinished transactions left.
Legioner ★★★★★ ()

запустил upgrade с флагом --skip-broken, он что-то обновил, но все пакеты с ошибками так и остались.

Legioner ★★★★★ ()

в общем удалил нафиг glibc-devel вместе со спамасасином, всё заработало. Фигня какая то этот ваш центос, на дебиане такого не было (с)

Legioner ★★★★★ ()
Ответ на: комментарий от Legioner

тебе же белым по черному написано

Found 34 pre-existing rpmdb problem(s), 'yum check' output follows
так сделай
yum check

CHIPOK ★★★ ()
Ответ на: комментарий от Legioner

Фигня какая то этот ваш центос

Он давно скатился, попробуй Oracle Linux - понравится

fornlr ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.