Can't add printer to Kubuntu herd 5 after cups update

Bug #91983 reported by rbmorse on 2007-03-13
4
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: cupsys

Following updates to 2.6.10 kernel (and other packages) selecting "add a printer" from System Settings/Printers fails with error dialog:

"An error occurred while retrieving the list of available back-ends. Internal server error."

Till Kamppeter (till-kamppeter) wrote :

Can you do the command

ls -l /usr/lib/cups/backend*

and post the output here?

Can you execute all files, one after the other, in the /usr/lib/cups/backend directory (without command line options) and post the output here?

Changed in cupsys:
importance: Undecided → Medium
status: Unconfirmed → Needs Info

On Tuesday 13 March 2007 12:39:31 Till Kamppeter wrote:
> Can you do the command
>
> ls -l /usr/lib/cups/backend*
>
> and post the output here?
>
> Can you execute all files, one after the other, in the
> /usr/lib/cups/backend directory (without command line options) and post
> the output here?
>
>
>
> ** Changed in: cupsys (Ubuntu)
> Importance: Undecided => Medium
> Status: Unconfirmed => Needs Info

Here's the output of ls -l /usr/lib/cups/backend*

/usr/lib/cups/backend:
total 252
-rwxr-xr-x 1 root root 7200 2007-02-22 10:31 beh
-rwxr-xr-x 1 root root 10300 2007-02-19 05:41 bluetooth
-rwxr-xr-x 1 root root 12896 2007-03-07 08:06 canon
-rwxr-xr-x 1 root root 13552 2007-03-07 08:06 epson
-rwxr-xr-x 1 root root 25084 2007-02-20 11:56 hp
-rwxr-xr-x 1 root root 7612 2007-02-20 11:56 hpfax
-rwxr-xr-x 3 root root 23592 2007-03-12 04:54 http
-rwxr-xr-x 3 root root 23592 2007-03-12 04:54 ipp
-rwsr-xr-- 2 root lp 17108 2007-03-12 04:54 lpd
-rwxr-xr-x 2 root root 12832 2007-03-12 04:54 parallel
-rwxr-xr-x 2 root root 6704 2007-03-12 04:54 scsi
-rwxr-xr-x 2 root root 10892 2007-03-12 04:54 serial
lrwxrwxrwx 1 root root 21 2007-03-09 13:41 smb -> ../../../bin/smbspool
-rwxr-xr-x 2 root root 28800 2007-03-12 04:54 snmp
-rwxr-xr-x 2 root root 10336 2007-03-12 04:54 socket
-rwxr-xr-x 2 root root 14096 2007-03-12 04:54 usb

/usr/lib/cups/backend-available:
total 140
lrwxrwxrwx 1 root root 3 2007-03-12 06:58 http -> ipp
-rwxr-xr-x 3 root root 23592 2007-03-12 04:54 ipp
-rwsr-xr-- 2 root lp 17108 2007-03-12 04:54 lpd
-rwxr-xr-x 2 root root 12832 2007-03-12 04:54 parallel
-rwxr-xr-x 2 root root 6704 2007-03-12 04:54 scsi
-rwxr-xr-x 2 root root 10892 2007-03-12 04:54 serial
-rwxr-xr-x 2 root root 28800 2007-03-12 04:54 snmp
-rwxr-xr-x 2 root root 10336 2007-03-12 04:54 socket
-rwxr-xr-x 2 root root 14096 2007-03-12 04:54 usb

End quote;

As for executing the files in /usr/lib/cups/backend:
hp returns information on the attached USB printer

quote

direct hp:/usb/photosmart_1215?serial=MY1CM851WJ0U "HP photosmart 1215" "HP
photosmart 1215 USB MY1CM851WJ0U HPLIP" "MFG:HP;MDL:photosmart
1215;CLS:PRINTER;DES:photosmart 1215;SN:MY1CM851WJ0U;"

End quote

but all others return either no output at all or "Unknown" and the protocol
descriptor.

Thank you Ron Morse

Till Kamppeter (till-kamppeter) wrote :

What is the output of "lpinfo -v"?

rbmorse (rbmorse) wrote :

On Tuesday 13 March 2007 15:56:29 Till Kamppeter wrote:
> What is the output of "lpinfo -v"?

output of sudo lpinfo -v

quote

lpinfo: cups-deviced failed to execute.

end quote

Peter (pissy-badger) wrote :

I'm having the same issue in Ubuntu Feisty with cupsys after updating this morning.

Till Kamppeter (till-kamppeter) wrote :

Can you do

ls -l /usr/lib/cups/daemon/
ls -l /usr/lib/cups/backend*

Perhaps there are files with bad permissions/ownerships

rbmorse (rbmorse) wrote :

On Wednesday 14 March 2007 06:42:12 Till Kamppeter wrote:
> Can you do
>
> ls -l /usr/lib/cups/daemon/
> ls -l /usr/lib/cups/backend*
>
> Perhaps there are files with bad permissions/ownerships

No, the cupsys update (including the last one) is broken in that it tries to
install some -dev packages that have unresolved dependencies so the whole
install fails and leaves the existing CUPS in an indeterminate state.

I resolved the problem, temporarily, by purging CUPSYS and installing the
1.2.8-0ubuntu6 packages manually. The -devs are still broken, but the mains
will install fine locally from .debs and CUPS goes back to work.

One loses any installed printers and configurations in the purge,
unfortunately, but they now can be put back, and it's a small price to pay to
be able to print at all.

Oh, the joys of working with a pre-release operating system, eh?

Ron Morse

Chris Jenks (chris-jenks) wrote :

This is probably a duplicate of bug #92205

Launchpad Janitor (janitor) wrote :

[Expired for cupsys (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers