LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [SOLVED] Converting rpm.sh to .deb (https://www.linuxquestions.org/questions/linux-software-2/%5Bsolved%5D-converting-rpm-sh-to-deb-791204/)

bluesword1969 02-24-2010 04:03 AM

[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!

IW2B 02-24-2010 06:20 AM

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

bluesword1969 02-24-2010 10:29 AM

It says it supports Ubuntu, which is *.deb based, but this script fails on my Debian workstation. Hrm. I'll keep trying.

lexx11 02-27-2010 02:57 PM

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.

bluesword1969 02-28-2010 02:31 AM

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!

awake 03-01-2010 10:18 PM

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.

awake 03-03-2010 06:31 AM

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.


All times are GMT -5. The time now is 08:49 PM.