LinuxQuestions.org
Help answer threads with 0 replies.
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 03-14-2006, 04:29 AM   #1
dekers
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Rep: Reputation: 0
Can't reinstall CUPS after removing ESP Print Pro


Hi all,

I used CUPS for few months on a Debian machine (about 5 months ago). Since I had formatting problems with a big HP plotter (DJ1050) I turned to the company that develops CUPS (ESP) for help.
I had to install their software but after 3 Months of trying they didn't manage to solve my problem :-/

Today I tried to uninstall their software so I could use CUPS again (since I only had a trial licenses). The problem is: I can't reinstall CUPS!

What did I try?
1.apt-get install cupsys
---> than I get: Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libcupsimage2 libcupsys2-gnutls10
Suggested packages:
cupsys-bsd cupsys-driver-gimpprint foomatic-bin foomatic-filters-ppds
xpdf-korean xpdf-japanese xpdf-chinese-traditional xpdf-chinese-simplified
cups-pdf hplip
Recommended packages:
gs-esp cupsys-client smbclient
The following packages will be REMOVED:
printpro-abdick printpro-apollo printpro-autologic printpro-brother
printpro-calcomp printpro-colossal printpro-compaq printpro-crosfield
printpro-cyclone printpro-dataproducts printpro-digital printpro-dupont
printpro-genicom printpro-hitachi printpro-indigo printpro-infotec
printpro-kyocera printpro-laserpress printpro-lexmark printpro-linotronic
printpro-majestik printpro-minolta printpro-minoltaqms printpro-mitsubishi
printpro-monotype printpro-panasonic printpro-panther printpro-pictura
printpro-platemaker printpro-samsung printpro-scitex printpro-screen
printpro-shinko printpro-splash printpro-tektronix printpro-typhoon
printpro-unisys printpro-varityper
The following NEW packages will be installed:
cupsys libcupsimage2 libcupsys2-gnutls10
0 upgraded, 3 newly installed, 38 to remove and 0 not upgraded.
38 not fully installed or removed.
Need to get 0B/9086kB of archives.
After unpacking 16.7MB of additional disk space will be used.
Do you want to continue? [Y/n]
when I coose Y I get: Removing printpro-varityper ...
/etc/init.d/cups: line 168: /usr/sbin/cupsd: No such file or directory
cups: unable to restart scheduler.
dpkg: error processing printpro-varityper (--remove):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
printpro-abdick
printpro-apollo
printpro-autologic
printpro-brother
printpro-calcomp
printpro-colossal
printpro-compaq
printpro-crosfield
printpro-cyclone
printpro-dataproducts
printpro-digital
printpro-dupont
printpro-genicom
printpro-hitachi
printpro-indigo
printpro-infotec
printpro-kyocera
printpro-laserpress
printpro-lexmark
printpro-linotronic
printpro-majestik
printpro-minolta
printpro-minoltaqms
printpro-mitsubishi
printpro-monotype
printpro-panasonic
printpro-panther
printpro-pictura
printpro-platemaker
printpro-samsung
printpro-scitex
printpro-screen
printpro-shinko
printpro-splash
printpro-tektronix
printpro-typhoon
printpro-unisys
printpro-varityper
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've shortened the messege but it is the same for all packages

2. Than I tried:
apt-get -f install
but I get the same messege

3. Than I tought I should delete the packages by my own:
dpkg --remove printpro-unisys

got the same error here too...

So my questions:
1. What is wrong?
2. How can I install CUPS again??

Many thanks for any tips!

Dekers
 
Old 03-14-2006, 04:35 AM   #2
dekers
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Original Poster
Rep: Reputation: 0
if I try to open usr/sbin/cupsd with winSCP I get the following:
Cannot open remote file '/usr/sbin/cupsd'.
No such file or directory.
Error code: 2
Error message from server: No such file
Request code: 3

But I can see the file... wait... I can see it is a link to a different file but it has a red arrow instead of the normal white arrow...

he?

Dekers
 
Old 03-14-2006, 07:25 AM   #3
dekers
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Original Poster
Rep: Reputation: 0
it seems to me like cupsd is simply missing...
Because of that apt-get fails to remove some packages before the installation.

I tried it with the -f (fix-broken) flag but nothing there

Anyone got an idea?

Dekers
 
Old 03-14-2006, 08:23 AM   #4
dekers
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Original Poster
Rep: Reputation: 0
this is what I get if I run apt-cache show printpro-unisys:

ztlx05:~# apt-cache show printpro-unisys
Package: printpro-unisys
Status: deinstall ok half-installed
Maintainer: Easy Software Products
Architecture: i386
Version: 4.5.10
Config-Version: 4.5.10
Depends: printpro
Description: ESP Print Pro
Copyright: 1993-2005 by Easy Software Products, All Rights Reserved.
UNISYS printer drivers

so is it half-uninstalled??

Dekers
 
Old 03-14-2006, 09:24 AM   #5
dekers
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Original Poster
Rep: Reputation: 0
The /usr/sbin/cupsd file is linked to the file 'cupsd-nopam'

Could one of you maybe look to which file his cupsd file is pointing? Maybe I could re-point the link the the correct file in case uninstalling stuff messed up the link...

Thas would be great!

Thanks, Dekers
 
Old 03-14-2006, 09:37 AM   #6
dekers
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Original Poster
Rep: Reputation: 0
when I run 'locate cup' I find cupsd-nopam in /usr/sbin/ but when I go there - I can't find any trace to this file. When is wrong here??

Dekers
 
  


Reply



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
Using Cups, K apps won't print, but Abiword does print tigerflag Slackware 10 01-14-2005 08:34 AM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 02:59 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Using checkinstall to reinstall CUPS erraticassassin Slackware 2 07-14-2004 01:05 PM
removing a job from print queue sakeeb Linux - Software 1 05-27-2002 04:34 AM

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

All times are GMT -5. The time now is 06:38 AM.

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