LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-10-2010, 07:11 AM   #1
5dana
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Rep: Reputation: 0
Red face E: hl1440lpr: subprocess installed post-removal script returned error exit status 126


Hello

I've been trying to install a printer driver on my new OS, Linux/Ubuntu, and I haven't had any luck.

From the Synaptic Package Manager, I searched for HL-1440. There were two files appeared: (1) brother-lpr-drivers-laser1, and (2) brother-cups-wrapper-laser1. When I marked (1) for installation, (2) was automatically selected. After I applied the files for installation, I received this error: "E: hl1440lpr: subprocess installed post-removal script returned error exit status 126." What should I do? I am still learning Linux/Ubuntu and really don't have much experience with this.

Your help is very, very, very much appreciated.

Thanks.
 
Old 06-10-2010, 09:10 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,571

Rep: Reputation: 580Reputation: 580Reputation: 580Reputation: 580Reputation: 580Reputation: 580
If you can find that script, use this line
grep 126 post-install.sh
(or whetever the script is called). You might find a bit saying
exit 126
meaning exit with status 126. Status 0 is sucess, everything above that is an error code. This could be a handy way of debugging what's going on.
 
Old 06-11-2010, 11:47 AM   #3
5dana
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
If you can find that script, use this line
grep 126 post-install.sh
(or whetever the script is called). You might find a bit saying
exit 126
meaning exit with status 126. Status 0 is sucess, everything above that is an error code. This could be a handy way of debugging what's going on.
Thanks Business_kid, for your response.

As it turned out, the file HL-1440lpr had 0 byte and needed to be removed. We went through a great deal to get the file removed, which ultimately fixed the problem.

Have a great day!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Opencv error: /usr/bin/ld.real: cannot find -lcv; collect2: ld returned 1 exit status Ankithskarat Linux - Newbie 1 03-24-2010 01:03 AM
Error Message : collect2: ld returned 1 exit status biplabbijay Programming 1 11-26-2009 06:46 PM
Error: collect 2: ld returned 1 exit status Rituparna Linux - Software 11 06-25-2009 03:54 PM
Cron appears to be messed up (E: cron: subprocess post-installation script returned e bujutsukai Linux - Newbie 1 07-24-2008 04:39 AM
konstruct error collect2: ld returned 1 exit status X2O Linux - Software 2 08-11-2004 09:48 PM


All times are GMT -5. The time now is 11:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration