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

Aus Wiki Thomas-Krenn.AG
Wechseln zu: Navigation, Suche

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

Inhaltsverzeichnis

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:

# arch
# rpm -q perl --qf '%{NAME} %{VERSION} %{RELEASE} %{ARCH} \n'
# rpm -e perl.i386
# vzpkg update <VEID> -p perl -n
# vzpkg update <VEID>

Referenzen

  1. http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.3/German#head-8c27a5346e72f34c5fbf1d22aa03b58fa05670fa
  2. https://bugzilla.redhat.com/show_bug.cgi?id=245989#c9

Weblinks


Share/Save/Bookmark  Feedback zu diesem Artikel geben
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Kategorien
Drucken/exportieren
Werkzeuge