[Solved 3.1 rc1]Indecipherable Fedora RPMs

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

[Solved 3.1 rc1]Indecipherable Fedora RPMs

Post#1 by Bogomips » 22 Sep 2014, 13:53

Search of forum showed no sign of problems with Fedora RPMs in past. Now experienced this so far only with Fedora:
  1. Code: Select all

    libgomp-4.9.1-9.fc22.i686.rpm
    Description
    
    libgomp - GCC OpenMP v3.0 shared support library
    
        Distribution: Fedora Rawhide
        Repository: Fedora i386
        Package name: libgomp
        Package version: 4.9.1
        Package architecture: i686
        Package type: rpm
        Installed size: 157,86 KB
        Download size: 122,18 KB
        Binary package: libgomp-4.9.1-9.fc22.i686.rpm
        Source package: gcc-4.9.1-9.fc22.src.rpm
    
    This package contains GCC shared support library which is needed for OpenMP v3.0 
    
    root@porteus:/home/guest# rpm2xzm p10/Por/var/slackyd/libgomp-4.9.1-9.fc22.i686.rpm 
    ERROR:  rpm2cpio failed.  (maybe libgomp-4.9.1-9.fc22.i686.rpm is not an RPM?)
    Cannot install /tmp/rpm2xzm10452/libgomp-4.9.1-9.fc22.i686.txz:  file not found
    error installing /tmp/rpm2xzm10452/libgomp-4.9.1-9.fc22.i686.txz package
    mv: cannot stat ‘libgomp-4.9.1-9.fc22.i686.xzm’: No such file or directory
    
    guest@porteus:~$ file p10/Por/var/slackyd/libgomp-4.9.1-9.fc22.i686.rpm 
    p10/Por/var/slackyd/libgomp-4.9.1-9.fc22.i686.rpm: RPM v3.0 bin i386/x86_64
    
    • Code: Select all

      libgomp-4.9.1-7.fc21.i686.rpm
      Description
      
      libgomp - GCC OpenMP v3.0 shared support library
      
          Distribution: Fedora 21
          Repository: Fedora i386
          Package name: libgomp
          Package version: 4.9.1
          Package architecture: i686
          Package type: rpm
          Installed size: 157,86 KB
          Download size: 120,57 KB
          Binary package: libgomp-4.9.1-7.fc21.i686.rpm
          Source package: gcc-4.9.1-7.fc21.src.rpm
      
      This package contains GCC shared support library which is needed for OpenMP v3.0 support.
      
      root@porteus:/home/guest# rpm2xzm p10/Por/var/slackyd/libgomp-4.9.1-7.fc21.i686.rpm 
      ERROR:  rpm2cpio failed.  (maybe libgomp-4.9.1-7.fc21.i686.rpm is not an RPM?)
      Cannot install /tmp/rpm2xzm11159/libgomp-4.9.1-7.fc21.i686.txz:  file not found
      error installing /tmp/rpm2xzm11159/libgomp-4.9.1-7.fc21.i686.txz package
      mv: cannot stat ‘libgomp-4.9.1-7.fc21.i686.xzm’: No such file or directory
      
      guest@porteus:~$ file p10/Por/var/slackyd/libgomp-4.9.1-7.fc21.i686.rpm
      p10/Por/var/slackyd/libgomp-4.9.1-7.fc21.i686.rpm: RPM v3.0 bin i386/x86_64
      
      
    Last edited by Bogomips on 12 Nov 2014, 20:21, edited 1 time in total.
    Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
    NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

    amigo
    White ninja
    White ninja
    Posts: 15
    Joined: 26 Aug 2013, 14:14
    Distribution: KISS
    Location: Dreieich

    Re: Indecipherable Fedora RPMs

    Post#2 by amigo » 22 Sep 2014, 15:46

    Newer fedora rpm's use 7z compression. rpm2cpio doesn't know about 7z yet.

    Bogomips
    Full of knowledge
    Full of knowledge
    Posts: 2522
    Joined: 25 Jun 2014, 15:21
    Distribution: 3.2.2 Cinnamon & KDE5
    Location: London

    Re: Indecipherable Fedora RPMs

    Post#3 by Bogomips » 12 Nov 2014, 20:19

    3.1 rc1
    • Code: Select all

      guest@porteus:~$ rpm2cpio p10/Por/var/slackyd/libgomp-4.9.1-7.fc21.i686.rpm | cpio -it
      ./usr/lib/libgomp.so.1
      ./usr/lib/libgomp.so.1.0.0
      ./usr/share/doc/libgomp
      ./usr/share/doc/libgomp/ChangeLog.bz2
      ./usr/share/doc/libgomp/ChangeLog.graphite.bz2
      ./usr/share/info/libgomp.info.gz
      318 blocks
      guest@porteus:~$ rpm2cpio p10/Por/var/slackyd/libgomp-4.9.1-9.fc22.i686.rpm  | cpio -it
      ./usr/lib/libgomp.so.1
      ./usr/lib/libgomp.so.1.0.0
      ./usr/share/doc/libgomp
      ./usr/share/doc/libgomp/ChangeLog.bz2
      ./usr/share/doc/libgomp/ChangeLog.graphite.bz2
      ./usr/share/info/libgomp.info.gz
      318 blocks
      
    • Code: Select all

      guest@porteus:~$ rpm2cpio p10/Por/var/slackyd/libgomp-4.9.1-7.fc21.i686.rpm | cpio -dim
      318 blocks
      guest@porteus:~$ tree usr
      usr
      ├── lib
      │   ├── libgomp.so.1 -> libgomp.so.1.0.0
      │   └── libgomp.so.1.0.0
      └── share
          ├── doc
          │   └── libgomp
          │       ├── ChangeLog.bz2
          │       └── ChangeLog.graphite.bz2
          └── info
              └── libgomp.info.gz
      
      5 directories, 5 files
      guest@porteus:~$ ls -lh usr/lib/
      total 100K
      lrwxrwxrwx 1 guest guest  16 Nov 12 21:04 libgomp.so.1 -> libgomp.so.1.0.0*
      -rwxr-xr-x 1 guest guest 98K Aug 14 03:44 libgomp.so.1.0.0*
      
    Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
    NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

    Post Reply