LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-02-2006, 12:43 PM   #1
Mark_in_Hollywood
Member
 
Registered: Jan 2006
Location: USA
Distribution: Ubuntu - Precise Pangolin
Posts: 121

Rep: Reputation: 15
Package unremovable with exit status 127


First: I've "Click Here to Find Similar Threads" to no avail.

I'm having trouble with most everything related to installing / updating / upgrading software now.

I want to put my /home in a partition in order to install (upgrade) my Ubuntu ver. 5.10 to ver. 6.04. I am trying to write over the old "system". However, I can't get GParted downloaded. Both apt-get and Synaptic stall over hl1440lpr.

using apt-get -remove as well as Synaptic remove and dpkg all return something similar to the below:

mark@lexington:~$ sudo dpkg --configure -a
Password:
mark@lexington:~$ sudo dpkg --remove hl1440lpr
(Reading database ... 86155 files and directories currently installed.)
Removing hl1440lpr ...
/var/lib/dpkg/info/hl1440lpr.postrm: line 3: /etc/init.d/lpd: No such file or directory
dpkg: error processing hl1440lpr (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
hl1440lpr

What gives?
 
Old 08-03-2006, 08:31 AM   #2
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 602

Rep: Reputation: 49
Looks like a bug. File it in the ubuntu bugzilla.
Just to make your system work, try creating the missing file:

sudo touch /etc/init.d/lpd

And try to remove the package again.
 
Old 08-03-2006, 12:00 PM   #3
Mark_in_Hollywood
Member
 
Registered: Jan 2006
Location: USA
Distribution: Ubuntu - Precise Pangolin
Posts: 121

Original Poster
Rep: Reputation: 15
Did as you suggested re:

mark@lexington:~$ sudo dpkg --remove hl1440lpr
(Reading database ... 86155 files and directories currently installed.)
Removing hl1440lpr ...
/var/lib/dpkg/info/hl1440lpr.postrm: line 3: /etc/init.d/lpd: Permission denied
dpkg: error processing hl1440lpr (--remove):
subprocess post-removal script returned error exit status 126
Errors were encountered while processing:
hl1440lpr
mark@lexington:~$
 
Old 08-04-2006, 03:29 AM   #4
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 602

Rep: Reputation: 49
Hmm.. Try `sudo chmod +x /etc/init.d/lpd`
But you should really get the problem fixed rather then try to hack your way through it.
 
Old 08-04-2006, 01:47 PM   #5
Mark_in_Hollywood
Member
 
Registered: Jan 2006
Location: USA
Distribution: Ubuntu - Precise Pangolin
Posts: 121

Original Poster
Rep: Reputation: 15
r0b0

That seesm to have done it! I can't say thanks enough for this. I've been blocked from upgrading to Ubuntu's latest ver. due to the glitch.

Your seriously ROCK, sir!

mark@lexington:~$ sudo chmod +x /etc/init.d/lpd
Password:
mark@lexington:~$ sudo chmod +x /etc/init.d/lpd
mark@lexington:~$ sudo touch /etc/init.d/lpd
mark@lexington:~$ dpkg --remove hl1440lpr
dpkg: requested operation requires superuser privilege
mark@lexington:~$ sudo dpkg --remove hl1440lpr
(Reading database ... 86155 files and directories currently installed.)
Removing hl1440lpr ...
mark@lexington:~$
 
Old 08-22-2008, 01:14 PM   #6
jtizmo
LQ Newbie
 
Registered: Aug 2008
Location: PA
Posts: 1

Rep: Reputation: 0
I've been having a very similar problem. However, it is with a cupswrapper.

justin@justin-desktop:~/Desktop$ sudo apt-get remove dcp130ccupswrapper
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package dcp130ccupswrapper needs to be reinstalled, but I can't find an archive for it.
justin@justin-desktop:~/Desktop$

I've tried dpkg, force and such but to no avail.

Unlike Mark, I do not have /etc/init.d/lpd
 
Old 02-17-2009, 03:11 AM   #7
kb9yet
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
I benefited from this site as well, for those who didn't figure it out already the problem came from a failed install of a printer. Therefore the title changes depending on the printer version. I am guessing its an issue with Brother as that is what my few searches for this error have all shown. (ie: all brother models)
 
  


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
exit status 127 ashlesha Linux - General 1 07-11-2006 12:33 AM
Problem with sftp! (debug1: Exit status 127 Connection closed) nena Linux - Security 1 01-26-2006 08:29 PM
exit status naflan Programming 2 10-22-2004 01:22 PM
exit status 17 kppp joshy Mandriva 3 10-08-2004 08:07 AM
gcc exit status 1 Daddio Linux - Software 4 10-25-2003 06:37 PM


All times are GMT -5. The time now is 02:02 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