Using RPM to extract file

2011-09-21 Thread Carmel
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.

Perhaps someone has some advice on how to go about this. I contacted
Brother in regards to this but they said they only support Windows
(obviously), Linux and Debian. According to them, support for other
operating systems in not being considered presently due to a lack of
consumer demand and the overhead involved.

-- 
Carmel ✌
carmel...@hotmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Using RPM to extract file

2011-09-21 Thread kron24

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).

BR,
Oli
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Using RPM to extract file

2011-09-21 Thread Carmel
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...@hotmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Using RPM to extract file

2011-09-21 Thread Carmel
On Wed, 21 Sep 2011 18:58:08 +0200
Vaclav Kadlcik articulated:

 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:
  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.
 
 
 $ rpm2cpio mfc9560cdwcupswrapper-1.1.1-5.i386.rpm | cpio -ivd
 ./usr/local/Brother/Printer/mfc9560cdw/cupswrapper/brcupsconfpt1
 ./usr/local/Brother/Printer/mfc9560cdw/cupswrapper/cupswrappermfc9560cdw
 ./usr/local/Brother/Printer/mfc9560cdw/cupswrapper/mfc9560cdw.ppd
 85 blocks

I found a nearly identical example while Googling right after I posted.
It would be nice if a simple example like that were included n the
man page.

-- 
Carmel ✌
carmel...@hotmail.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Using RPM to extract file

2011-09-21 Thread Vaclav Kadlcik

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:
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.



$ rpm2cpio mfc9560cdwcupswrapper-1.1.1-5.i386.rpm | cpio -ivd
./usr/local/Brother/Printer/mfc9560cdw/cupswrapper/brcupsconfpt1
./usr/local/Brother/Printer/mfc9560cdw/cupswrapper/cupswrappermfc9560cdw
./usr/local/Brother/Printer/mfc9560cdw/cupswrapper/mfc9560cdw.ppd
85 blocks

HTH,
Oli
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org