• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

(gelöst) nach perl-Update kommt in Yast: cpio Bad magic

Curryfrosch

Member
cjmatsel schrieb:
Haste nen Fingerzeig für mich oder soll ich was posten?
Nö, wollte nur mal darauf hinweisen. ;) Du kennst Dich mit Perl sicher besser aus als ich, und mit den Anleitungen ist es Dir ja vielleicht möglich, selbt ein kleines Script zu schreiben, das Dir etwas mehr Details liefert als die Fehlerausgabe von YaSt2.
 
OP
C

cjmatsel

Newbie
Curryfrosch schrieb:
Du kennst Dich mit Perl sicher besser aus als ich, und mit den Anleitungen ist es Dir ja vielleicht möglich, selbt ein kleines Script zu schreiben, das Dir etwas mehr Details liefert als die Fehlerausgabe von YaSt2.
Uff! Na Du traust mir ja was zu! Dann hätte ich wahrscheinlich mein System schon repariert... :roll:

Das Problem wurmt mich ziemlich aber ich denke, ich werd mir zumindest mal die Abhängigkeiten bei einem (wohl doch notwendigen) Rollback anschauen... Was mich so ärgert: Es läuft ja eigentlich alles! Ich brauche nur die neue Perl-Version und die Möglichkeiten, Pakete zu entpacken und zu installieren! :???:
 

Curryfrosch

Member
Nachdem ich mich mal ein wenig auf meiner Festplatte und in der Ausgabe von strace -f yast2 sw_single 2> yast_trace (waren bloß knappe 400.000 Zeilen :D) umgeschaut habe, bin ich mir eigentlich relativ sicher, dass es an rpm liegt. Ich vermute mal, dass die neue Perl-Installation irgendwas unter /usr/lib/perl5 zersägt hat, da findet sich nämlich so einiges an Perl-Modulen, und da rpm von Perl abhängig ist...
 

revealed

Guru
Mensch da gibts doch einen Befehl, dass man ein Autobundle erstellen kann irgenwie... vielleicht bringts das ja wieder hin? Oder wirklich versuchen alle RPM's rund um den Softwaremanager von Hand aus dem Repo runterzuladen.

Nur schlecht, weil ja RPM nicht geht oder?

Dann müsste man das über das vorhanden PERL hinbiegen.

Meint ihr es könnte dieses sein?
http://search.cpan.org/dist/Archive-Cpio/lib/Archive/Cpio.pm

Vielleicht bringt es was dieses zu prüfen?

Was anderes könnte sein:
Hilft vielleicht ein:
Code:
rpm --rebuilddb
?

Gruß,

R
 
OP
C

cjmatsel

Newbie
@revealed: Hi,

das rpm ist nicht verbogen (edit: zumindest nicht sichtbar für mich) : Ich habe mal gestern die Suse-DVD eingelegt und ein "rpm -ihv --force i586/cpio-2.9-17.i586.rpm" auf einen älteren Stand gebracht, das funktionierte; trotzdem klappts nicht über Yast... Auch ein "rpm --rebuilddb" habe ich auf Deine Idee hin durchgeführt: Keine Verbesserung... Übrigens auch keine Fehler...

Es kann natürlich sein, dass Yast zusätzliche Perl-Komponenten benötigt...

edit2: Wie kann ich das PM-Paket von der Seite installieren? Über cpan "install cpio" klappts jedenfalls nicht...
 

revealed

Guru
Wie kann ich das PM-Paket von der Seite installieren? Über cpan "install cpio" klappts jedenfalls nicht...

Ich glaube mit genau diesem paket doch daneben gelegen zu haben, das ist bei mir anscheinend garnicht installiert und RPM läuft trotzdem.

Also das RPM utility funktioniert aber YasT nicht? Damit mir das klar wird,,,, Ist das korrekt?

Code:
rpm -qa | grep yast

Vielleicht helfen die weiter:
Code:
yast2-perl-bindings-
Die passende (installierte version).

Gruß,

R
 
OP
C

cjmatsel

Newbie
Also das RPM utility funktioniert aber YasT nicht?
Ja. Zypper hat das gleiche Problem wie Yast...

Vielleicht hilft das:
Ich habe vor dem Internet einen Webpoxy. Wenn ich dort hineinschaue, dann stehen die von mir angewählten Pakete drin. (Bsp: "zypper install iotop", dann versucht er das iotop-Paket zu laden von: http://widehat.opensuse.org/distribution/openSUSE-current/repo/oss/suse/i586/iotop-0.2.1-16.33.i586.rpm ; der Download funktioniert, danach bricht der weitere Vorgang ab).

Ich liefer Dir mal den kompletten Auszug, wenn ich iotop auf meinem Suse 10.3 installieren möchte:
Code:
zypper install iotop
* Reading repository 'Haupt-Repository (OSS)' cache
* Reading repository 'Haupt-Repository (NON-OSS)' cache
* Reading repository 'openSUSE-10.3-Updates' cache
* Reading installed packages [100%]


The following packages are going to be upgraded:
  glibc-locale glibc glibc-devel

The following NEW packages are going to be installed:
  iotop libpython2_6-1_0 python-base python-curses

Overall download size: 19.4 M. After the operation, additional 50.4 M will be used.
Continue? [yes/no]: y
Downloading package glibc-2.9-2.3.i686, 1.5 M (4.2 M unpacked)
Downloading: media
* Downloading [100%]
Downloading: glibc-2.9-2.3.i686.rpm
* Downloading [100%]
* Installing: glibc-2.9-2.3 [100%]Installation of [S1:1][package]glibc-2.9-2.3.i686 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic


(A)bort, (R)etry, (I)gnore? a

(with --nodeps --force) Error
Downloading package glibc-locale-2.9-2.8.i586, 8.9 M (87.9 M unpacked)
Downloading: glibc-locale-2.9-2.8.i586.rpm
* Downloading [100%]
* Installing: glibc-locale-2.9-2.8 [100%]Installation of [S1:1][package]glibc-locale-2.9-2.8.i586 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic


(A)bort, (R)etry, (I)gnore? a

(with --nodeps --force) Error
Downloading package libpython2_6-1_0-2.6.0-2.12.i586, 538.0 K (1.4 M unpacked)
Downloading: libpython2_6-1_0-2.6.0-2.12.i586.rpm
* Downloading [100%]
* Installing: libpython2_6-1_0-2.6.0-2.12 [100%]Installation of [S1:1][package]libpython2_6-1_0-2.6.0-2.12.i586 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic


(A)bort, (R)etry, (I)gnore? a

(with --nodeps --force) Error
Downloading package glibc-devel-2.9-2.3.i686, 4.2 M (20.4 M unpacked)
Downloading: glibc-devel-2.9-2.3.i686.rpm
* Downloading [100%]
* Installing: glibc-devel-2.9-2.3 [100%]Installation of [S1:1][package]glibc-devel-2.9-2.3.i686 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic


(A)bort, (R)etry, (I)gnore? a

(with --nodeps --force) Error
Downloading package python-base-2.6.0-2.12.i586, 4.2 M (19.2 M unpacked)
Downloading: python-base-2.6.0-2.12.i586.rpm
* Downloading [100%]
* Installing: python-base-2.6.0-2.12 [100%]Installation of [S1:1][package]python-base-2.6.0-2.12.i586 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic


(A)bort, (R)etry, (I)gnore?
(with --nodeps --force) Error
Downloading package python-curses-2.6.0-2.16.i586, 41.3 K (122.2 K unpacked)
Downloading: python-curses-2.6.0-2.16.i586.rpm
* Downloading [100%]
* Installing: python-curses-2.6.0-2.16 [100%]Installation of [S1:1][package]python-curses-2.6.0-2.16.i586 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic


(A)bort, (R)etry, (I)gnore? a

(with --nodeps --force) Error
Downloading package iotop-0.2.1-16.33.i586, 31.4 K (79.0 K unpacked)
Downloading: iotop-0.2.1-16.33.i586.rpm
* Downloading [100%]
* Installing: iotop-0.2.1-16.33 [100%]Installation of [S1:1][package]iotop-0.2.1-16.33.i586 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic


(A)bort, (R)etry, (I)gnore? a

(with --nodeps --force) Error
 

lOtz1009

Moderator
Teammitglied
Wenn ich mir das Repo mal anschaue, insbesondere die Datei http://widehat.opensuse.org/distribution/openSUSE-current/repo/oss/content steht da was von openSUSE 11.1

Seit der 11 wurden die RPMs doch anders komprimiert. Liegts evtl. daran?
 

revealed

Guru
arghs ein 11 repo ist das? :)

#Ehm zum test:
#http://lists.opensuse.org/opensuse-factory/2008-04/msg00052.html
#
Code:
zypper in rpm



Gruß,

R
 

whois

Ultimate Guru
Zeigst du uns mal bitte folgende Ausgabe.
Nur um mal zu sehen was da läuft.
Ich habe das von 10.3 nicht mehr in Erinnerung.

Code:
rpm -qa|grep cpio
 
OP
C

cjmatsel

Newbie
Seit der 11 wurden die RPMs doch anders komprimiert. Liegts evtl. daran?
cursing.png
Mist! Das erklärt wohl mein Problem!

@josef-wien: Sorry, aber ich dachte das hatte ich schon genannt... Ich hatte die Current-Repo's drin und wusste nicht, dass die auf dem 11er Stand sind...

@whois:
Code:
cpio-2.9-17
cpio-2.9-17.2

@all: Sorry, das war wieder mal ein typisches Problem vor der Tastatur... Danke trotzdem für eure Mühe und eure Geduld...

BTW: Jetzt klappt zumindest ein you...
thumbsup.png
 

whois

Ultimate Guru
Wieso laufen da zwei Versionen?

Code:
cpio-2.9-17
cpio-2.9-17.2

Das kann ich im Moment auch nicht nachvollziehen.
Mal sehen was das Net dazu sagt. :???:
 
OP
C

cjmatsel

Newbie
Jawohl! Hab grad die 10.3er Repos eingestellt und mache grad das Update... Der Rest kommt dann später nach...

@whois: Das kommt wahrscheinlich von meinem "rpm --force"...
 
Oben