Is there something funny about rpm in Fedora 11 that causes cpio errors when trying to install src.rpm's in CentOS 5.3, or am I just getting repeated bad downloads?
Michael A. Peters wrote:
Is there something funny about rpm in Fedora 11 that causes cpio errors when trying to install src.rpm's in CentOS 5.3, or am I just getting repeated bad downloads? _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Ah -
https://fcp.surfsite.org/modules/newbb/viewtopic.php?viewmode=flat&topic...
Seems like rpm in Fedora 11 does some stuff that breaks backwards compatibility.
Are they any utilities, other than installing Fedora 11 and setting the macros described in that thread and rebuilding the src.rpm, to resolve the issue?
On Wed, 24 Jun 2009 16:55:52 -0700 Michael A. Peters wrote:
Are they any utilities, other than installing Fedora 11 and setting the macros described in that thread and rebuilding the src.rpm, to resolve the issue?
What about extracting it manually? The built-in Nautilus doodad can pull files out of rpms.
Frank Cox wrote:
On Wed, 24 Jun 2009 16:55:52 -0700 Michael A. Peters wrote:
Are they any utilities, other than installing Fedora 11 and setting the macros described in that thread and rebuilding the src.rpm, to resolve the issue?
What about extracting it manually? The built-in Nautilus doodad can pull files out of rpms.
Thank you! That seems to work, though I have to manually put the files in my rpm build tree. Better than nothing I suppose :)
On 06/24/2009 05:12 PM, Michael A. Peters wrote:
That seems to work, though I have to manually put the files in my rpm build tree. Better than nothing I suppose :)
You could always get familiar with Fedora's CVS server:
cvs -d :pserver:anonymous@cvs.fedoraproject.org:/cvs/pkgs co <pkg>/F-11 cd <pkg>/F-11 make srpm
Midnight Commander also has this functionality too :)
On 6/24/09 5:12 PM, "Michael A. Peters" mpeters@mac.com wrote:
Frank Cox wrote:
On Wed, 24 Jun 2009 16:55:52 -0700 Michael A. Peters wrote:
Are they any utilities, other than installing Fedora 11 and setting the macros described in that thread and rebuilding the src.rpm, to resolve the issue?
What about extracting it manually? The built-in Nautilus doodad can pull files out of rpms.
Thank you! That seems to work, though I have to manually put the files in my rpm build tree. Better than nothing I suppose :) _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Michael A. Peters wrote:
Are they any utilities, other than installing Fedora 11 and setting the macros described in that thread and rebuilding the src.rpm, to resolve the issue?
Using rpm itself doesn't seem to work (bad checksum), but the rpm2cpio utility seems to work OK:
To extract file listing: rpm2cpio somerpmfile.rpm | cpio -itv
To extract RPM contents to current directory: rpm2cpio somerpmfile.rpm | cpio -idmv
etc.
-Greg
On Wed, 24 Jun 2009, Michael A. Peters wrote:
Is there something funny about rpm in Fedora 11 that causes cpio errors when trying to install src.rpm's in CentOS 5.3, or am I just getting repeated bad downloads?
the former. I covered the matter and a workaround within RPM in a series of blog posts called: Oh .. My ... Goodness available through: http://planet.centos.org/ a couple of months ago.
-- Russ herrold
Phil Schaffner wrote:
Michael A. Peters wrote:
Is there something funny about rpm in Fedora 11 that causes cpio errors when trying to install src.rpm's in CentOS 5.3, or am I just getting repeated bad downloads?
rpm -ivh --nomd5 packagename.src.rpm
Phil
Which i also wrote on planet.centos.org some weeks ago ;-)