delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/09/18:56:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3991E165.D6B615E5@ece.gatech.edu>
Date: Wed, 09 Aug 2000 18:55:33 -0400
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Matthew D. Langston" <langston AT SLAC DOT Stanford DOT EDU>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: rpm 3.0.4: Can't "rpm -Uvh" my first rpm package (unpacking of
archivefailed: cpio: Bad magic)
References: <00dd01c0024c$749907d0$c916df80 AT trinity>

> I then downloaded the RPM package that I wanted to install
> (ftp://projects.sourceforge.net/pub/cygwin-rpm/packages/perl/perl-5.6.0-cygw
> in1.1.rpm), into my home directory 

> ##unpacking of archive failed: cpio: Bad magic

Sounds like the .rpm files got corrupted during the download (netscape
will do that) but you really should be directing this question to one of
the following people:

#1) rebum (the proprietor of the site where you got rpm.exe)
   he's very accessible via email, IRC, or EFnet -- see the webpage at
http://atlas.spaceports.com/~cygwin/

#2) rebum (!!) (the proprietor of the site where you got the .rpm files)

Also, I *think* there may be a problem with rebum's rpm-3.0.4 package if
you try to unzip it using windows tools. The paths in the archive are
'/usr/lib/whatever' and windows happily complies -- but because cygwin
mounts '/lib' on top of '/usr/lib' all the stuff that WinZip put into
'/usr/lib' is hidden.

A) don't unpack using windows tools -- use cygwin tar and gunzip, for
.tar.gz archives, or "unzip" for .zip archives (see
http://cygutils.netpedia.net/V1.1/unzip-5.41/) 
B) using explorer, move the stuff in /usr/lib into /lib.

Good luck!

--Chuck

P.S. I did some of the initial ports of db, rpm, etc, but many folks
have taken my stuff and moved forward, including Rebum, Rue Satoh, and
Michael Ring. I can't personally support other people's ports of "my"
packages, only my own version. I'm sure you see why.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019