LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2010, 04:03 AM   #1
bluesword1969
Member
 
Registered: Jan 2010
Location: East Coast, USA.
Distribution: Gentoo, Debian, OpenBSD.
Posts: 70

Rep: Reputation: 25
[SOLVED] Converting rpm.sh to .deb


EDIT: SEE MY LAST POST FOR HOW I SOLVED THIS!

Hey all.

Trying to install Lexmark printer drivers onto my Debian workstation, but having no luck. The only format the driver download comes in, is rpm.sh, which isn't a 'normal' package for alien to be able to handle.

The driver:

http://support.lexmark.com/index?pag...N_US&locale=en

When you download it, you get:

lexmark-08z-series-driver-1.0-1.i386.rpm.sh.tar.gz

I've already tar -zxvf'ed it, and you're left with lexmark-08z-series-driver-1.0-1.i386.rpm.sh.

Any idea how to properly covert this into a .deb?

Thanks!

Last edited by bluesword1969; 02-28-2010 at 02:32 AM.
 
Old 02-24-2010, 06:20 AM   #2
IW2B
Member
 
Registered: Aug 2008
Location: Denmark
Distribution: Fedora, Ubuntu, Solaris
Posts: 35

Rep: Reputation: 19
Hi,

Its a shell script file:

Code:
$ file lexmark-08z-series-driver-1.0-1.i386.rpm.sh
lexmark-08z-series-driver-1.0-1.i386.rpm.sh: POSIX shell script text executable
In general to run:

Code:
sh ./lexmark-08z-series-driver-1.0-1.i386.rpm.sh
From running it I see:

Quote:
2. Supported Operating Systems:
-------------------------------
openSUSE 11.2
Ubuntu 9.10
Fedora 12
Regards
Ian

Last edited by IW2B; 02-24-2010 at 06:26 AM.
 
Old 02-24-2010, 10:29 AM   #3
bluesword1969
Member
 
Registered: Jan 2010
Location: East Coast, USA.
Distribution: Gentoo, Debian, OpenBSD.
Posts: 70

Original Poster
Rep: Reputation: 25
It says it supports Ubuntu, which is *.deb based, but this script fails on my Debian workstation. Hrm. I'll keep trying.
 
Old 02-27-2010, 02:57 PM   #4
lexx11
LQ Newbie
 
Registered: Jan 2006
Posts: 11

Rep: Reputation: 0
Having the same problem. I noticed in the Lexmark documentation that comes up when you run the script, it says:
Quote:
5. Installation:
----------------
1. Do not attach the printer via USB to the Linux machine.
2. Extract the zip file.
For RPM-based systems: lexmark-08z-series-driver-1.0-1.i386.rpm.sh.tar.gz
For DEB-based systems: lexmark-08z-series-driver-1.0-1.i386.deb.sh.tar.gz
3. Run the installer script file by double-clicking on the file icon and
then click the "Run in Terminal" button or run the script file via command-line.
4. Follow the instructions in the installer screen.
I can't find the deb installer anywhere (including Lexmark's driver download for my printer: http://support.lexmark.com/index?pag...S&id=DR20530#2 ). Going to email them about it but won't get my hopes up.
 
Old 02-28-2010, 02:31 AM   #5
bluesword1969
Member
 
Registered: Jan 2010
Location: East Coast, USA.
Distribution: Gentoo, Debian, OpenBSD.
Posts: 70

Original Poster
Rep: Reputation: 25
Solved.

Installed GENTOO, with 'pppd', and 'foomaticdb' USE flags, configured CUPS via the web interface, and CUPS discovers/configures the printer just fine. :-)

Thank you Gentoo!

Last edited by bluesword1969; 02-28-2010 at 02:40 AM.
 
Old 03-01-2010, 10:18 PM   #6
awake
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
Hi guys,

I found your thread yesterday and went through the process of making it work on my 64-bit Debian system, and almost got it to work on 64-bit Ubuntu 9.10. I took the time to write detailed instructions of what I did on my website:

Installing Lexmark Linux Drivers in 64-bit Debian-Based Distributions

If you are using 64-bit Debian, then your problem is solved, and if you are using 64-bit Ubuntu, then you are almost done. For some reason Ubuntu 9.10 doesn't have /proc/bus/usb, which is cited in many Ubuntu guides for Lexmark printers. The solutions posted in the other guides didn't work. If someone can figure out that last part required to make it work (read the article), then it should be possible to make it work in 64-bit Ubuntu 9.10.
 
Old 03-03-2010, 06:31 AM   #7
awake
LQ Newbie
 
Registered: Mar 2010
Posts: 3

Rep: Reputation: 0
Actually, I managed to find the mysterious missing .deb version of the package I just figured out the real download location of the file, and replaced rpm by deb in the name and boom I got the .deb version. I've put up a link in my article, otherwise I'm mirroring it on my website in case the link dies. Original link. Mirror link. See my article for more details about problems that can still be encountered. I still couldn't get it to work on Ubuntu, but I noticed that /proc/bus/usb is missing, while it does exist on my Debian system, which may explain why it doesn't work. I've seen many different articles on Lexmark printers that include a note on mounting the usb filesystem in order to make it work.
 
  


Reply

Tags
alien, debian, rpm



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what software is best for converting .deb to .rpm? linux hates me Linux - Software 6 06-01-2009 01:48 PM
LXer: Converting .rpm Packages To Debian/Ubuntu .deb LXer Syndicated Linux News 0 10-22-2006 08:33 PM
Converting .rpm/.tar.gz to .deb packages Eerath Linux - Newbie 4 07-28-2005 06:48 AM
Converting rpm to deb and installing problems vbguru12000 Debian 8 01-17-2005 11:46 AM
converting deb packages to rpm? greythorne Mandriva 1 12-09-2004 07:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration