cannot create printers in live system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Dapper |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am using the Ubuntu 6.06 Beta Live CD. On it, I went to "System", then "Administration", then "Printing". I, then, double-clicked "New Printer". On Step 1 of the "Add a printer" dialog ("Printer Connection"), I chose "Local Printer" for the printer type and "Use detected printer" and selected my printer model which is a Canon S600. Then, I clicked the "Forward" button. On Step 2 of the "Add a printer" dialog ("Printer Driver"), I chose the manufacturer "Canon", model "S600", driver "bj8pa06n.upp", and then I clicked the "Apply" button. My printer never shows up in the "Printers" window, even after waiting several minutes. I also, don't see any CPU activity under "System Monitor" other than that used by the system monitor itself and of X.org.
John Doe (johndoedoejohn) wrote : /var/log/cups/access_log | #1 |
John Doe (johndoedoejohn) wrote : /var/log/cups/error_log | #2 |
Ante Karamatić (ivoks) wrote : Re: [6.06 Beta - Live CD] Adding a printer silently fails. | #3 |
Try running gnome-cups-manager with sudo from terminal:
sudo gnome-cups-manager
and repeat procedure and report results.
Changed in cupsys: | |
status: | Unconfirmed → Needs Info |
John Doe (johndoedoejohn) wrote : | #4 |
I did "sudo gnome-cups-manager" on an Ubuntu 6.06 beta 2 Live CD. The last line of the output when I hit Apply was: "** (gnome-
John Doe (johndoedoejohn) wrote : sudo gnome-cups-manager output.txt | #5 |
- sudo gnome-cups-manager output.txt Edit (6.9 KiB, text/plain)
This is the full output of "sudo gnome-cups-manager"
John Doe (johndoedoejohn) wrote : 6.06 beta 2 Live CD - /var/log/cups/error_log | #6 |
- 6.06 beta 2 Live CD - /var/log/cups/error_log Edit (970 bytes, text/plain)
6.06 beta 2 Live CD's error log during the failure of adding a printer. (I attempted several times.)
BenSimpson (csu16451) wrote : Re: [6.06 Beta - Live CD] Adding a printer silently fails. | #7 |
I can confirm the same error as John Doe's error_log at http://
I tried the command "sudo gnome-cups-manager" with the same output. I even tried creating the "/var/cache/
[cups-driverd] Unable to write "/var/cache/
E [01/May/
Martin Pitt (pitti) wrote : Re: cannot write /var/cache/cups/ppds.dat | #8 |
Can you please try beta2? It got a lot of bug fixes.
Daniel Robitaille (robitaille) wrote : | #9 |
I have the exact same problem and same error with Dapper Flight 7 when trying to add a Lexmark z53 from a LiveCD session:
E [07/May/
E [07/May/
Martin Pitt (pitti) wrote : | #10 |
Fresh installs of cupsys get this right now, so this is apparently an upgrade problem from earlier dapper installs. I will add a preinst snippet to fix the permissions.
Changed in cupsys: | |
status: | Needs Info → In Progress |
Martin Pitt (pitti) wrote : | #11 |
cupsys (1.1.99.
.
* debian/
confuse debconf. Closes: LP#41716
* debian/
they are writable by non-root cupsd. Earlier dapper versions got the
ownership wrong, so fix this for intra-dapper upgrades. Closes: LP#40795
* Add debian/
printer sharing (by opening or closing the TCP port). Thanks to Ante
Karamatić for his initial scripts and research!
Changed in cupsys: | |
assignee: | nobody → pitti |
status: | In Progress → Fix Released |
John Doe (johndoedoejohn) wrote : | #12 |
If this is fixed already, then I am seeing a possible regression in the Ubuntu 6.06 i386 Daily Live CD 20060514 from http://
I tried adding my printer again and it still fails on that Live CD. Last line of output from "sudo gnome-cups-manager" on this Live CD is:
** (gnome-
John Doe (johndoedoejohn) wrote : | #13 |
"cupsys" version on the 20060514 Ubuntu 6.06 i386 Daily Live CD is "1.2.0-0ubuntu2"
John Doe (johndoedoejohn) wrote : 6.06 20060514 i386 Daily Live CD - /var/log/cups/access_log | #14 |
- 6.06 20060514 i386 Daily Live CD - /var/log/cups/access_log Edit (949 bytes, text/plain)
cups access log from 6.06 20060514 i386 daily live CD.
John Doe (johndoedoejohn) wrote : 6.06 20060514 i386 Daily Live CD - /var/log/cups/error_log | #15 |
- 6.06 20060514 i386 Daily Live CD - /var/log/cups/error_log Edit (218 bytes, text/plain)
cups error log from 6.06 20060514 i386 Daily Live CD.
Martin Pitt (pitti) wrote : Re: cannot write /var/cache/cups/ppds.dat | #16 |
John,
are you sure that is due to wrong permissions in /var/cache/cups? Can you please copy the output of
ls -lR /var/cache/cups/
here?
John Doe (johndoedoejohn) wrote : | #17 |
$ ls -lR /var/cache/cups
/var/cache/cups:
total 3344
drwxr-xr-x 4 cupsys lp 0 2006-05-11 10:49 ppd
-rw------- 1 cupsys lp 3412992 2006-05-18 19:05 ppds.dat
/var/cache/
total 0
joosteto (ubuntu-joostje) wrote : | #18 |
The bug seems to be marked as fixed, but I just booted from ubuntu-
root@ubuntu:
root@ubuntu:
* Restarting Common Unix Printing System: cupsd [ ok ]
Then pressing "OK" and apply everywhere (reasonable defaults come up for my PSC 2175), gnome-cups-add prints as last line:
** (gnome-
In /var/log/
E [04/Jun/
This is with the released CD, as far as I can tell:
o# dd if=/dev/hdd bs=1 count=731744256
e2e5e0bfb2edffd
(/dev/hdd contains the CD I just booted up from)
Martin Bergner (martin-bergner) wrote : | #19 |
reopening then, it doesn't seem to be fixed
Changed in cupsys: | |
status: | Fix Released → Confirmed |
Sebastian (mdkuser) wrote : can confirm the bug for Desktop-CD of official final release of Ubuntu 6.06 | #20 |
I got the same Problem with the official final Desktop-CD of Ubuntu 6.0.6 LTS.
So the bug isn't fixed now.
However this bug does not occur on an machine upgraded from Breezy to Dapper.
What is wrong with the Desktop-CD?
joosteto (ubuntu-joostje) wrote : Re: cannot write /var/cache/cups/ppds.dat | #21 |
In debian, using hplip 0.9.7-4, I experienced excactly the same thing (That's why I tried ubuntu).
But once I tried hplip 0.9.11-2 (from unstable), it all seems fixed. the cups http printer page immedeately showed the printer (HP-2175, connected via USB), and printing now works OK.
Maybe I'll try the ubuntu live CD again later today, and install the same lplip 0.9.11-2 (from debian) in it (if that's at all possible), and see if hat solves the problem.
joosteto (ubuntu-joostje) wrote : | #22 |
I just tried on the live Ubuntu 6.06 CD:
dpkg --force-depends -i hplip_0.
but that didn't solve the problem. Unfortunately the debian unstable packages want to pull in different python and libc versions, so I haven't tried using apt-get or friends.
To resume:
Ubuntu 6.06: problem as described above
Debian-testing (as of last weeks): Same problem.
Debian-unstable (tried hplip-0.9.11-2): Works OK.
Ubuntu 5.10: Works OK.
Sebastian (mdkuser) wrote : | #23 |
Someone can confirm if it works ok, AFTER INSTALLING from the Live (Desktop)-CD to hard disc drive, or is the bug still present even after an install of Dapper Drake by using the Desktop-CD?
Changed in cupsys: | |
status: | Confirmed → Needs Info |
Mark Stosberg (markstos) wrote : Re: cannot write /var/cache/cups/ppds.dat on live system | #24 |
This person seems to be experiencing the same issue, and confirms that is still present after an HD install:
http://
I have also confirmed silent failure at the end of the printer wizard with the 6.06 official LiveCD.
Sebastian (mdkuser) wrote : | #25 |
I can confirmthe bug does't occur AFTER Installing Dapper to hard disk drive. So it must have something to do with lack of write permissions in the live CD session.
magnus (magnusanderssen) wrote : not only on 'live' systems issue | #26 |
my system is currently a Dapper release (with latest updates installed). It has been upgraded from breezy.
I have the same issues when trying to add a printer as a user:
access_log:
localhost - - [09/Aug/
localhost - root [09/Aug/
error_log:
E [09/Aug/
and when launching the gnome-cups-manager with sudo:
** (gnome-
Existing printers work fine.
I have tried the same on another machine with the same 'history' and it works on that one, eventhough I get the Unauthorized message!
btw: on both machines I get these in syslog:
Aug 9 10:48:17 mini hp: unable to open /var/run/
Aug 9 10:48:17 mini hp: unable to connect hpiod socket 50000: Connection refused: prnt/hpijs/
Aug 9 10:48:17 mini hp: unable to send ProbeDevices: Broken pipe
Till Kamppeter (till-kamppeter) wrote : Re: cannot write /var/cache/cups/ppds.dat on live system | #27 |
Does this problem still occur with Edgy live CDs?
Martin Pitt (pitti) wrote : | #28 |
With the current edgy beta live CD I get:
E [28/Sep/
E [28/Sep/
E [28/Sep/
with two different drivers for my Samsung ML-1610 (both the new ML-1610 driver, and the ML-1510 driver which has worked fine for ages in an installed system).
Martin Pitt (pitti) wrote : | #29 |
After setting a password for the ubuntu user, I can create a printer in the web interface (I just get the usual 'unauthorized' log messages, but they are bogus -- cupsd always seems to try unauthorized access first, and then requests credentials if that fails; it happens all the time without a visible negative impact).
After the printer is created in the web interface, I can exercise ubuntu's lpadmin group powers with cupsenable/
So only creating a printer fails in the live system, the log messages point to some problem while copying the PPD file.
Till, do you have an idea about that?
Till Kamppeter (till-kamppeter) wrote : | #30 |
This message
foomatic: There is neither a custom PPD file nor the driver database entry contains sufficient data to build a PPD file.
means that the user has chosen a printer/driver combo for which the GhostScript command line in the Foomatic driver XML file is empty and for which there is also no ready-made PPD file.
To avoid such problems foomatic-db-engine needs to be updated to the version with my last fixes. I already made a freeze exception request (Martin, you should have been CCed on it). The fixed foomatic-db-engine makes CUPS not listing such printer/driver combos any more.
Till Kamppeter (till-kamppeter) wrote : | #31 |
In the current state of Edgy, foomatic-db-engine is fixed, so that CUPS does not list any printer/driver combos any more for which no PPD file is available. So for an installed system, update foomatic-db-engine (and also foomatic-db, or better do a full "sudo apt-get update; sudo apt-get dist-upgrade" as many other printing bugs got fixed, too), then remove your non-working print queue(s) and re-create it/them. For further tests on a live CD, try to get the newest ISOs (I hope there are already ISOs with the stuff which got uploaded last week).
Sebastian (mdkuser) wrote : | #32 |
It's fine to hear the issue is worked on and is fixed in current state of Edgy already, however the initial bug report was filed for DAPPER and since DAPPER is A long term support release, I would like to get this fixed in DAPPER TOO!
So it doesn't help very much saying it's fixed in Edgy, since some of us have good reasons not to change to Edgy but say with the LTS Dapper and want to see this issue will be fixed for the current stable version of Ubuntu (which is actually Dapper NOT Edgy) too.
Thank you for your understanding.
Till Kamppeter (till-kamppeter) wrote : | #33 |
If there are new upstream fixes, they usually get packaged and tested in the current development branch. Depending on the importance of the bugs they get backported to the released versions afterwards.
Martin Pitt (pitti) wrote : Re: [Bug 40795] Re: cannot create printers in live system | #34 |
Hi,
Sebastian [2006-10-09 15:45 -0000]:
> It's fine to hear the issue is worked on and is fixed in current
> state of Edgy already, however the initial bug report was filed for
> DAPPER and since DAPPER is A long term support release, I would like
> to get this fixed in DAPPER TOO! So it doesn't help very much
> saying it's fixed in Edgy, since some of us have good reasons not to
> change to Edgy but say with the LTS Dapper and want to see this
> issue will be fixed for the current stable version of Ubuntu (which
> is actually Dapper NOT Edgy) too. Thank you for your understanding.
Right, but it only affects Dapper's live system. Once it is installed,
it works fine. We cannot fix the live system with a simple -updates
upload, that would require a point release and pressing new CDs, which
is not planned ATM. On the other hand, it has *not* been decided to
*not* do another point release, either. :)
Martin
--
Martin Pitt http://
Ubuntu Developer http://
Debian Developer http://
In a world without walls and fences, who needs Windows and Gates?
Martin Pitt (pitti) wrote : | #35 |
Fixed in edgy, opening dapper task.
Changed in cupsys: | |
status: | Unconfirmed → Confirmed |
Martin Pitt (pitti) wrote : | #36 |
Closing in edgy.
Changed in cupsys: | |
status: | Needs Info → Fix Released |
Antoine Amarilli (a3nm) wrote : | #37 |
Hello,
I confirm that printing is not operational on Dapper Live-CD as far as I'm concerned.
I understand that no new point release is planned, however I would appreciate some help to get it working with my current Live CDs. The reason for this is that I have a computer on which I have not installed the system through the normal way : I'm using a live-CD image on an external USB disk with persistent mode following the instructions at <https:/
Thanks in advance for your help.
Ken Takusagawa (ken-takusagawa-2) wrote : | #38 |
Is there a workaround for Dapper Live CD? Surely I can go in and manually change some permissions or install some software onto the unionfs.
Exactly what was the fix that makes it work in Edgy?
Sebastian (mdkuser) wrote : | #39 |
I am sorry that I must say, the only workaround would be to trash those buggy Ubuntu Dapper Desktop-CDs into the bin and use other live CDs instead!!
The developers seems to don't care about provinding those informations. I never get some useful, technical information or reply as an respond to my bug reports.
(I suppose that is because they are thinking about it's users that they are dump users)
It's nice to hear they fixed the printing problem in edgy, but are they are going to provide a solution for dapper as well?
Hey, come on man, Dapper is your LTS version you SHOULD provide fixes for known bugs (or at least information how the users can solve it by themselfes).
But all you are doing is concentrate of the new upcomming release leaving the bugs of the LTS version.
It's not acceptable. If you fixed the bug in edgy you know what was wrong in dapper, so at least write a small note here on lanchpad about how users can solve the problem by themselves!
Duncan (duncan-rowland) wrote : | #40 |
Sorry I'm unable to help with this as I'm new to Linux, but I though I'd pass on my thoughts...
For your interest, I like to run ubuntu off a pendrive, so that I just carry my desktop and work around with me...
However,
according to the above: printing is broken in Dapper [Bug 40795]
but additionally, persistence is broken in Edgy [Bug 84591]
The combination of these two bugs (and surprising lack of support for something with Long Term Support) means I'm currently disappointingly unable to do this. Back to windows for now :(
Duncan (duncan-rowland) wrote : | #41 |
(I meant persistence is broken in Fiesty [Bug 84591])
Zachary Uram (netrek) wrote : | #42 |
I am trying to get my HP Deskjet 960c color inkjet printer working on Ubuntu 6.06 (Dapper Drake) Live CD with CUPS. I have tried everything but nothing works :-(
I booted up, hooked my printer up to the parallel port and powered it on, added paper, printer's green light is on.
I then went to System -> Administration -> Printing in GNOME
Clicked on New Printer and it ran gnome-cups-add and read the printer database
Then the Add a Printer dialog box says:
Step 1 of 3: Printer Connection
Printer Type: local printer
Use a detected printer: HP DESKJET_960C
It has in Printer Port: (greyed out so I can't change it):
hp:/par/
So it detected my correct printer.
Then I went Forward to:
Step 2 of 3: Printer Driver
Manufacturer: HP
Model: Deskjet 960C
Driver: hpijs (recommended) - HPLIP 0.9.7 (Suggested) There is a green dot after this showing it is installed.
Then I went Forward to:
Step 3 of 3: Printer Information
Name: Deskjet
Description: HP-DESKJET
Location: home
So after I filled those in I clicked Apply.
But when I go back to the Printers control panel I don't see any printer in there. It just says has the New Printer icon to create a new printer. It should have created the printer I setup. And when I try to print it said in the console: lpr: Error - no default destination available. So apparently it is not setting it up. Booted up, hooked my printer up to the parallel port and powered it on, added
paper, printer's green light is on.
I then went to System -> Administration -> Printing
Clicked on New Printer and it ran gnome-cups-add and read the printer database
Then the Add a Printer dialog box says:
Step 1 of 3: Printer Connection
Printer Type: local printer
Use a detected printer: HP DESKJET_960C
It has in Printer Port: (greyed out so I can't change it):
hp:/par/
So it detected my correct printer.
Then I went Forward to:
Step 2 of 3: Printer Driver
Manufacturer: HP
Model: Deskjet 960C
Driver: hpijs (recommended) - HPLIP 0.9.7 (Suggested) There is a green
dot after this showing it is installed.
Then I went Forward to:
Step 3 of 3: Printer Information
Name: Deskjet
Description: HP-DESKJET
Location: home
So after I filled those in I clicked Apply.
But when I go back to the Printers control panel I don't see any printer in there. It just says has the New Printer icon to create a new printer. It should have created the printer I setup. And when I try to print it said in the console: lpr: Error - no default destination available. So apparently it is not setting it up.
I verified I have the correct drivers installed:
ubuntu@ubuntu:~$ dpkg -l|grep hplip
ii hplip 0.9.7-4ubuntu1 HP Linux Printing and Imaging System (HPLIP)
ii hplip-data 0.9.7-4ubuntu1 HP Linux Printing and Imaging - data files
ii hplip-ppds 0.9.7-4ubuntu1 HP Linux Printing and Imaging - PPD files
ubuntu@ubuntu:~$ dpkg -l|grep hpijs
ii foomatic-db-hpijs 1.5-20060318-1 linuxprinting.org printer support - database
ii hpijs 2.1.7+0.
Here are my cups packages:
ubuntu@ubuntu:~$ dpkg -l|grep cups
ii bluez-cups ...
Martin Pitt (pitti) wrote : | #43 |
hi Yoda,
Yoda [2009-01-21 2:28 -0000]:
> I am trying to get my HP Deskjet 960c color inkjet printer working on
> Ubuntu 6.06 (Dapper Drake) Live CD with CUPS. I have tried everything
> but nothing works :-(
Since this bug is marked fixed in later releases, any chance you could
try to setup your printer on an 8.04.1 or 8.10 live CD? Does that
work?
Thanks, Martin
JC Hulce (soaringsky) wrote : | #44 |
Thank you for reporting this bug to Ubuntu. The version of Ubuntu referenced in this issue has reached end of life, and the issue is fixed in newer versions of Ubuntu. Therefore, I am closing the Dapper task.
Please see this document for currently supported Ubuntu releases:
https:/
Changed in cupsys (Ubuntu Dapper): | |
status: | Confirmed → Invalid |
Cups "access_log"