Update Fehler CentOS 5 Perl in Virtuozzo: Transaction Check Error (conflicts with file from package perl-5.8.8-10)

Aus Thomas-Krenn-Wiki
Zur Navigation springen Zur Suche springen
Hinweis: Bitte beachten Sie, dass dieser Artikel / diese Kategorie sich entweder auf ältere Software/Hardware Komponenten bezieht oder aus sonstigen Gründen nicht mehr gewartet wird.
Diese Seite wird nicht mehr aktualisiert und ist rein zu Referenzzwecken noch hier im Archiv abrufbar.

Dieser Artikel beschreibt, wie man einen Update Konflikt von Perl in einem CentOS 5 x86_64 (64-bit) VE lösen kann.

Problembeschreibung

Beim Updates eine VE mit CentOS 5 erhalten Sie folgende Fehlermeldung:

# vzpkg update 123 -p perl -n

Loading "rpm2vzrpm" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package perl.x86_64 4:5.8.8-10.el5_2.3 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Updating:
 perl                    x86_64     4:5.8.8-10.el5_2.3  base1              12 M

Transaction Summary
=============================================================================
Install      0 Package(s)         
Update       1 Package(s)         
Remove       0 Package(s)         
Total download size: 12 M
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error:   file /usr/lib/perl5/5.8.8/pod/perldiag.pod from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/c2ph.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/cpan.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/dprofpp.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/enc2xs.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/find2perl.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/h2ph.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/h2xs.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/instmodsh.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/libnetcfg.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/perlbug.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/perlcc.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/perldiag.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/perlivp.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/piconv.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/pl2pm.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/pod2html.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/pod2latex.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/pod2man.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/pod2text.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/pod2usage.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/podchecker.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/podselect.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/prove.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/psed.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/pstruct.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/s2p.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/splain.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
  file /usr/share/man/man1/xsubpp.1.gz from install of perl-5.8.8-10.el5_2.3 conflicts with file from package perl-5.8.8-10.el5_0.2
ERROR: package manager exited with 1 retcode

Ursache

Das Paket perl.i386 wurde mit CentOS 5.2 in das extras Repository verschoben[1]. Dadurch kann es bei einem vor der Freigabe von CentOS 5.2 erstelltem VE dazu kommen, dass bei einem Update Versuch des VEs der Update Vorgang des Perl Pakets scheitert.

Das Perl Paket wurde ursprünglich irrtümlich sowohl in der 32 Bit als auch 64 Bit Version mit der 64 Bit Edition von RHEL5/CentOS5 bereitgestellt[2].

Lösung

Die einfachste Möglichkeit dieses Problem zu lösen ist, wenn Sie das perl.i368 Paket entfernen. Vorraussetzung dafür ist natürlich, dass die 32-bit Version von Perl in Ihrem VE nicht benötigt wird.

Bitte gehen Sie wie folgt vor:

  • Loggen Sie sich per SSH in Ihr VE ein.
  • Überprüfen Sie ob es sich tatsächlich um ein 64-bit CentOS 5 VE handelt.
# arch
  • Überprüfen Sie ob zwei Perl Pakete (i368, x86_64) vorhanden sind
# rpm -q perl --qf '%{NAME} %{VERSION} %{RELEASE} %{ARCH} \n'
  • Wenn das Paket Perl auch in i386 vorhanden ist, entfernen Sie dieses bitte.
# rpm -e perl.i386
  • Versuchen Sie das Perl Paket testweise zu aktualisieren. Loggen Sie sich dafür am Hardware Node per SSH ein.
# vzpkg update <VEID> -p perl -n
  • Wenn dies erfolgreich war, können Sie die Option "-n" weglassen und den Update Vorgang ausführen.
# vzpkg update <VEID>

Referenzen

Weblinks

Das könnte Sie auch interessieren

NFS Dateisystem in Virtuozzo einbinden
Problem Ubuntu Hardy 8.04 EZ Template in Virtuozzo
SMB/CIFS Dateisystem in Virtuozzo einbinden