From owner-freebsd-questions@FreeBSD.ORG Wed Sep 21 17:15:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03BB3106566C for ; Wed, 21 Sep 2011 17:15:38 +0000 (UTC) (envelope-from vaclav.kadlcik@quick.cz) Received: from ns.sattnet.cz (ns.sattnet.cz [213.211.45.3]) by mx1.freebsd.org (Postfix) with ESMTP id B62138FC16 for ; Wed, 21 Sep 2011 17:15:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ns.sattnet.cz (Postfix) with ESMTP id 93BC71EA5FE; Wed, 21 Sep 2011 18:58:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at relay.sattnet.cz Received: from ns.sattnet.cz ([127.0.0.1]) by localhost (ns.sattnet.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QSuHDAEylkRh; Wed, 21 Sep 2011 18:58:12 +0200 (CEST) Received: from nbvk.local (uidzr185150.sattnet.cz [212.96.185.150]) by ns.sattnet.cz (Postfix) with ESMTPS id 2A4471EA5FD; Wed, 21 Sep 2011 18:58:12 +0200 (CEST) Message-ID: <4E7A17A0.6040500@quick.cz> Date: Wed, 21 Sep 2011 18:58:08 +0200 From: Vaclav Kadlcik User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110907 Thunderbird/6.0.2 MIME-Version: 1.0 To: FreeBSD References: <4E79CDF7.1060102@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Carmel Subject: Re: Using RPM to extract file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2011 17:15:38 -0000 On 2011/09/21 18:19, Carmel wrote: > On Wed, 21 Sep 2011 13:43:51 +0200 > kron24 articulated: > >> On 2011/09/21 13:17, Carmel wrote: >>> I am attempting to obtain a PPD file for a Brother MFC-9560CDW >>> printer. According to this URL: >>> , >>> I can download a file from: >>> >>> for this printer. Unfortunately, the file is only available in >>> either "RPM" or "DEB" format. I cannot figure out how to extract >>> the "PPD" from "RPM" file. I have read "man rpm"; however, I am >>> still confused. I tried following the instruction given on the site >>> for extracting the files; however, that only issued a warning about >>> an incorrect operating system. >> >> First use rpm2cpio of archivers/rpm to get a cpio package. >> Then continue with standard cpio(1). > > Using "rpm2cpio" was easy enough; however, I just cannot figure out > how to get "cpio" to extract just the one file I want. Either it just > hangs or issues an error message. The man page is just about useless. > No useful example is given. > $ rpm2cpio