This is the mail archive of the
mailing list for the Cygwin project.
Re: Problem using rpm on Windows 98 (partly solved)
- To: ssiddiqi at nspm dot ipass dot net
- Subject: Re: Problem using rpm on Windows 98 (partly solved)
- From: "A.R. Burgers" <arburgers at hetnet dot nl>
- Date: Fri, 01 Oct 1999 23:16:45 +0200
- CC: cygwin mailing list <cygwin at sourceware dot cygnus dot com>
- References: <NDBBLHPPKKBKPBLLMFJBMEJCCDAA.firstname.lastname@example.org>
Suhaib Siddiqi wrote:
> Do not know about rpm, but you can get rpm2cpio script
> from http://cygutils.netpedia.net/, extract the contents of rpm and
> install it manually by copying the extracted files/directories to
> the desired location.
Thanks for your fast response and your hint.
I tried both rpm2cpio from cygutils.netpedia.net and the rpm2cpio.pl
script (from www.rpm.org).
error reading header from package
This hold for rpms perl-DBI-1.13-1-cygwinb20.i386.rpm and
I managed to get rpm2cpio.pl to work by specifying
binmode on the filehandle to the rpm archive.
So the problem is probably that rpm2cpio (and probably rpm)
don't open their files in binary mode. Is something set wrong in my
environment? Are my file opens text by default and not binary?
my $CYGWIN variable is empty.
The output of mount is:
Device Directory Type Flags
C: / native text!=binary
Want to unsubscribe from this list?
Send a message to email@example.com