10.04 -> 10.10: printconf/ebox-printers/foomatic-db-gutenprint block the upgrade

Bug #647460 reported by Emmanuel DA MOTA
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
foomatic-gui (Ubuntu)
Won't Fix
High
Unassigned
update-manager (Ubuntu)
Fix Released
High
Michael Vogt

Bug Description

Binary package hint: update-manager

this is the end of /var/log/dist-upgrade/apt.log

 Try to Re-Instate ubuntu-desktop
Done
  Installing foomatic-db-compressed-ppds as Dépend of ubuntu-desktop
  Setting NOT as auto-installed (direct Dépend of pkg in APT::Never-MarkAuto-Sections)
Starting
Starting 2
Investigating foomatic-db-gutenprint
Package foomatic-db-gutenprint has broken Dépend on foomatic-db
  Considering foomatic-db 3 as a solution to foomatic-db-gutenprint 3
  Re-Instated foomatic-db
  Re-Instated foomatic-db-gutenprint
Investigating foomatic-db-compressed-ppds
Package foomatic-db-compressed-ppds has broken Est en conflit avec on foomatic-db
  Considering foomatic-db 3 as a solution to foomatic-db-compressed-ppds 3
  Holding Back foomatic-db-compressed-ppds rather than change foomatic-db
Investigating ubuntu-desktop
Package ubuntu-desktop has broken Dépend on foomatic-db-compressed-ppds
  Considering foomatic-db-compressed-ppds 3 as a solution to ubuntu-desktop 10000
  Re-Instated foomatic-db-compressed-ppds
Investigating foomatic-db-compressed-ppds
Package foomatic-db-compressed-ppds has broken Est en conflit avec on foomatic-db
  Considering foomatic-db 3 as a solution to foomatic-db-compressed-ppds 3
  Holding Back foomatic-db-compressed-ppds rather than change foomatic-db
Investigating ubuntu-desktop
Package ubuntu-desktop has broken Dépend on foomatic-db-compressed-ppds
  Considering foomatic-db-compressed-ppds 3 as a solution to ubuntu-desktop 10000
Done

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: update-manager 1:0.134.10
ProcVersionSignature: Ubuntu 2.6.32-24.43-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat Sep 25 13:58:59 2010
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=fr_FR:fr:en_GB:en
 LANG=fr_FR.utf8
 SHELL=/bin/bash
SourcePackage: update-manager

Revision history for this message
Emmanuel DA MOTA (vilain-mamuth) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please add the log files from '/var/log/dist-upgrade/' to this bug report as separate attachments? Thanks in advance.

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Emmanuel DA MOTA (vilain-mamuth) wrote :
Revision history for this message
Emmanuel DA MOTA (vilain-mamuth) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for the logs.

Changed in update-manager (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Please attach the file /var/lib/dpkg/status too.

Thanks in advance.

Changed in update-manager (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Found the culprit: printconf

Could you please try to remove that package and try to upgrade again in order to confirm that. Thanks.

Changed in update-manager (Ubuntu):
importance: Undecided → High
status: Incomplete → Triaged
summary: - upgrade to 10.10 failed, "Can't mark 'ubuntu-desktop' for upgrade"
+ Upgrade from 10.04 to 10.10: printconf is blocking the upgrade.
Changed in foomatic-gui (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Emmanuel DA MOTA (vilain-mamuth) wrote : Re: Upgrade from 10.04 to 10.10: printconf is blocking the upgrade.

that's it
upgrade is now downloading new packages

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for the confirmation.

Revision history for this message
Michael Vogt (mvo) wrote :

I looked at this and I can fix it by adding "foomatic-db-compressed-ppds | foomatic-db" instead of foomatic-db in printconf, ebox, foomatic-db-gutenprint

Revision history for this message
Michael Vogt (mvo) wrote :

I prepared updates, I just need to be sure that this is really a drop-in-replacement for foomatic-db

Revision history for this message
Michael Vogt (mvo) wrote :

Hm, apparently its not - at least printconf will not work with the compressed ones. So you can't have printconf and foomatic-db-gutenprint and ebox-printers installed together with ubuntu-desktop.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The packages foomatic-gui and python-foomatic install without problems, only printconf-gui does not instal;l as it depends on foomatic-db, foomatic-db-hpijs, and foomatic-db-gutenprint.

For testing I have installed printconf now overriding the dependencies:

sudo dpkg -i --force-depends printconf_0.7.9.3_all.deb

There are the following problems with printconf as it comes from upstream, especially of printconf interacting with CUPS:

1. printconf requires to be started as root, This requirement is not needed by Ubuntu, as it uses the lpadmin group feature of CUPS. printconf has probably many incompatibilities with this feature. One incompatibility which I have seen is that it restarts the CUPS daemon (which a correctly written printer setup tool does not need). There may be further problems like directly writing into config files in /etc/cups/.

2. It uses the deprecated usb:/dev/usb/lp0 URIs which are not supported by CUPS any more.

3. It only supports printer/driver pairs defined by Foomatic XML data in /usr/share/foomatic. It does not even support ready-made PPD files in /usr/share/ppd and subdirectories. Also PPD generators in /usr/lib/cups/driver/ and /usr/share/cups/drv/ are not supported. So it will not find most drivers on a Ubuntu system, as they are using PPD generators or ready-made PPDs.

4. It tries to set up queues for connected printers automatically although they have already queues. Probably it does not recognize the URIs of the current CUPS. After failing to set up print queues it does not start its GUI.

I do not know how much this tool is usable with non-CUPS spoolers as it is perhaps the only GUI tool for setting up printers . The inability to use ready-made PPDs for PostScript printers (they are supported by Foomatic, Foomatic is the only way to use them on non-CUPS spoolers) restricts it also a lot there.

My recommendations:

Due to the tool requiring a Foomatic database the dependency on foomatic-db cannot be removed. The dependency on foomatic-db-hpijs has to be removed as foomatic-db-hpijs is discontinued upstream. foomatic-db-gutenprint should go into the Recommends, as its absence does not make printconf unusable. I also would let printconf conflict with cups, as it actually does not work with the current CUPS versions. printconf simply did not follow the development of CUPS.

This would leave the package uninstallable on a Ubuntu Desktop system, but a Ubuntu Desktop system has CUPS-based printing and printconf really does not work with current CUPS.

Perhaps one should even remove it from Ubuntu, as Ubuntu uses CUPS for printing. On Debian one could leave it in, but only with the dependency changes which I mentioned above.

If we remove it from Ubuntu, I could add a transitional package to system-config-printer so that users get migrated to system-config-printer.

For everyone reading this who is simply a user, use system-config-printer.

Revision history for this message
Michael Vogt (mvo) wrote : Re: printconf: request for removal

Archive admins, please remove printconf:

<tkamppeter_> mvo, I have tested printconf and it is not compatible with Ubuntu any more. It lost track with the development of CUPS. I suggest removing it from Ubuntu.
<tkamppeter> mvo, OdyX, printconf's upstream ChangeLog ends on 2003-05-27 so it is discontinued upstream. What did hold it so long in the distros.

summary: - Upgrade from 10.04 to 10.10: printconf is blocking the upgrade.
+ printconf: request for removal
Revision history for this message
Michael Vogt (mvo) wrote : Re: 10.04 -> 10.10: printconf is blocking the upgrade

Archive admins, as printconf is a part of foomatic-gui and its unclears what to do with that I leave it to Till to decide what to do with the package.

summary: - printconf: request for removal
+ 10.04 -> 10.10: printconf is blocking the upgrade
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I tried also running

sudo foomatic-gui &

(requires foomatic-db to be installed). Here ate least I got a list of the printers detected by CUPS and it seems that the correct USB URIs are used. Network printers I could not test, as the network printer detection falls into an infinite loop due to an upstream bug. Problem is that again the available PPDs/driversare not polled from CUPS, so there are no PostScript printer PPDs from manufacturers (ready-made PPDs) nor any PPDs provided by PPD generators (HPLIP, Gutenprint). This renders also this tool unusable for Ubuntu.

My suggestion:

Remove foomatic-gui sourcepackage altogether.

Add transitional packages to other packages (like system-config-printer) to migrate users of foomatic-gui and printconf.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Both printconf and foomatic-gui do not work correctly with current Foomatic any more. They show many printer/driver pairs for which Foomatic cannot provide a PPD file because either the driver XML file has no or an empty command line prototype or the driver XML file does not exist and the printer XML file has no link for a ready-made PPD which exists on the current system. This is an upstream bug.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

archive admins, please remove the whole foomatic-gui source package as the foomatic-gui tool is equally unusable with Ubuntu,

summary: - 10.04 -> 10.10: printconf is blocking the upgrade
+ foomatic-gui: Request for removal
Revision history for this message
Michael Vogt (mvo) wrote : Re: foomatic-gui: Request for removal
summary: - foomatic-gui: Request for removal
+ 10.04 -> 10.10: printconf/ebox-printers/foomatic-db-gutenprint block
+ the upgrade
Changed in foomatic-gui (Ubuntu):
status: Triaged → Won't Fix
Changed in update-manager (Ubuntu):
status: Triaged → Fix Committed
milestone: none → ubuntu-10.10
assignee: nobody → Michael Vogt (mvo)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

mvo, does your workaround on update-manager also solve the foomatic-db-gutenprint problem, by replacing foomatic-db-gutenprint with ijfgutenprint-ppds?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

for ebox-printers I have my doubts whether this software (ebox) is still up-to-date. When I go to the home page http://ebox-platform.com I get immediately redirected to http://www.zentyal.org/ and I get offered a server platform named Zentyal. So it seems that the project has been renamed.

I do not know whether the new software has an updated printing module. The printing module of the ebox software as it is in Universe currently at least directly access the local Foomatic XML database using the Perl library of foomatic-db-engine. I do not know whether it polls PPD/driver information from CUPS.If not, ebox-printers has a bug, but I cannot report it as I never tested ebox

Here we probably also need a workaround in update-manager, but on the long term a fix in Zentyal.

This is less problematic as users of ebox probably do not have ubuntu-desktop installed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.142.16

---------------
update-manager (1:0.142.16) maverick; urgency=low

  * DistUpgrade/ReleaseAnnouncement:
    - add link to http://www.ubuntu.com/desktop/features to tell
      users about the new features in this release
  * DistUpgrade/DistUpgrade.cfg:
    - help the upgrade by removing printconf, foomatic-db-gutenprint
      and ebox-printers as they are not compatible with
      foomatic-db-compressed-ppds (LP: #647460)
 -- Michael Vogt <email address hidden> Thu, 30 Sep 2010 20:22:36 +0200

Changed in update-manager (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.