PDA

Bekijk Volledige Versie : Yum update draait in de soep



IT-worX
31/01/13, 15:12
Beste wht'ers,

Op een VPS (centos 6.3) heb ik gisteren gepoogd om een simpele "yum update" te doen... Ergens in het midden van dit commando is plots alle netwerkconnectiviteit uitgevallen aan de vps kant (ping etc ging ook niet meer). Vandaag terug even ingelogd en geprobeerd om verder te gaan waar ik mee bezig was, maar krijg bij "yum update" nu een niet al te leuke fout...

Transaction Summary
================================================== ================================================== ================================================== ==================
Install 1 Package(s)
Upgrade 39 Package(s)

Total size: 67 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /usr/share/locale/ja/LC_MESSAGES/Linux-PAM.mo from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/locale/ko/LC_MESSAGES/Linux-PAM.mo from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/locale/zh_CN/LC_MESSAGES/Linux-PAM.mo from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/locale/zh_TW/LC_MESSAGES/Linux-PAM.mo from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man5/access.conf.5.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man5/limits.conf.5.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man5/namespace.conf.5.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man8/pam_access.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man8/pam_cracklib.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man8/pam_exec.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man8/pam_faildelay.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man8/pam_lastlog.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man8/pam_limits.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man8/pam_namespace.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man8/pam_pwhistory.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man8/pam_selinux.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man8/pam_succeed_if.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man8/pam_time.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/man/man8/pam_tty_audit.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64

Error Summary
-------------


Iemand enig idee hoe ik deze weg krijg? Googlen op "conflicts with file from package" geeft oplossingen om dit te voorkomen, maar niet om te herstellen...

Bart L
31/01/13, 15:38
Niet in productie getest, maar wel een keer gehad. Als je de cache leegt van Yum wil ie weer..
Commando's die ik zo vind in Google

yum clean headers
yum clean packages
yum clean metadata

Dan download ie het e.a. opnieuw

IT-worX
31/01/13, 15:43
Beste Bart L,

Ik heb dit reeds geprobeerd, zonder succes helaas.

[root@s01 ~]# yum clean headers
Loaded plugins: downloadonly, fastestmirror, security
0 header files removed

[root@s01 ~]# yum clean packages
Loaded plugins: downloadonly, fastestmirror, security
40 package files removed

[root@s01 ~]# yum clean metadata
Loaded plugins: downloadonly, fastestmirror, security
16 metadata files removed
8 sqlite files removed
0 metadata files removed

[root@s01 ~]# yum clean all
Loaded plugins: downloadonly, fastestmirror, security
Cleaning up Everything
Cleaning up list of fastest mirrors

Patrick_st
31/01/13, 20:36
"exclude=*.i386 *.i586 *.i686" line in your [main] section on /etc/yum.conf to exclude all 32bit pacakges,

Bovenstaande misschien een optie? Dat hielp bij mij in ieder geval wel toen ik een tijdje terug een vergelijkbaar probleem had.

systemdeveloper
31/01/13, 22:22
Het zijn man pages en wat koreaanse messages? Gewoon deleten ?

mind
01/02/13, 00:24
Je zou ook nog een "yum-complete-transaction" kunnen proberen

Flaxe_eu
01/02/13, 08:55
Je kan ook proberen die pam er even af te gooien (backup wel alle config files) en dan de nieuwe erop te gooien.
lijkt een conflict te zijn met de i386 en x64 packages.

The-BosS
01/02/13, 16:53
Beste wht'ers,

Op een VPS (centos 6.3) heb ik gisteren gepoogd om een simpele "yum update" te doen...

[knip]

Transaction Check Error:
file /usr/share/locale/ja/LC_MESSAGES/Linux-PAM.mo from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
file /usr/share/locale/ko/LC_MESSAGES/Linux-PAM.mo from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64
[KNIP]
file /usr/share/man/man8/pam_tty_audit.8.gz from install of pam-0.99.6.2-12.el5.i386 conflicts with file from package pam-0.99.6.2-6.el5_5.2.x86_64


Ben ik nu de enige die ziet dat er CentOS 5/RHEL 5 packages op een CentOS 6 server geinstalleerd worden/staan.

Yourwebhoster
01/02/13, 19:42
Ben ik nu de enige die ziet dat er CentOS 5/RHEL 5 packages op een CentOS 6 server geinstalleerd worden/staan.

Ik neem aan dat het 5 is omdat hij ook packages van 5 krijgt; anders heeft IT-worX iets knaps gedaan waardoor hij de 5 repo krijgt (vraag me dan ook gelijk af of dat werkt).