Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2011 12:19:51 -0400
From:      Carmel <carmel_ny@hotmail.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Using RPM to extract file
Message-ID:  <BLU0-SMTP1603F0B9C51471398B66D08930D0@phx.gbl>
In-Reply-To: <4E79CDF7.1060102@gmail.com>
References:  <BLU0-SMTP309FA8CF22533829A58D6B0930D0@phx.gbl> <4E79CDF7.1060102@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> > <http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html>,
> > I can download a file from:
> > <http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#MFC-9560CDW>;
> > 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. 

-- 
Carmel ✌
carmel_ny@hotmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP1603F0B9C51471398B66D08930D0>